We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Issue related to Grid height and width

Thread ID:

Created:

Updated:

Platform:

Replies:

101093 Sep 26,2011 03:26 PM UTC Sep 27,2011 04:42 PM UTC ASP.NET MVC (Classic) 1
loading
Tags: Tools
shivkumar
Asked On September 26, 2011 03:26 PM UTC

hello,

how to add DropDown box on EditDialog mode while a adding new record.in razor view. could please provide a sample example in razor view


Eswari S [Syncfusion]
Replied On September 27, 2011 04:42 PM UTC

Hi Shivkumar,

Thank you for your interest in Syncfusion products.

DropDownList can be added by using CellEditType property. Please refer to the following code snippets :

@{ Html.Syncfusion().Grid("SampleGrid")
.Datasource(Model)
.Caption("Orders")
.Column(col =>
{
. . .
. . .
col.Add(p => p.ShipCountry).CellEditType(CellEditType.DropdownEdit);
col.Add(p => p.Freight);
})
}

For your convenience, we have prepared the sample and the same can be downloaded from the following link :

Sample-481571469.zip

Also ,we would request you to check the following online UG link:

http://help.syncfusion.com/ug_93/User%20Interface/ASP.NET%20MVC/Grid/default.htm?turl=Documents%2Fthroughgridbuilder42.htm

Please try this and let us know if you need any further assistance.

Regards,
Eswari.S




CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;