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.

Issue related to Grid height and width

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 12:42 PM

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.

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.

;