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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DropDownDataSource not available

Thread ID:

Created:

Updated:

Platform:

Replies:

107773 Mar 15,2013 07:29 PM UTC Mar 21,2013 09:33 AM UTC ASP.NET MVC (Classic) 1
loading
Tags: Grid
joel pelaez
Asked On March 15, 2013 07:29 PM UTC

Hi, I am trying to reproduce a smaple using the Grid, following these code:

<%=Html.Syncfusion().Grid<EditableOrder>("Grid1")

       .Datasource(Model)

       .Caption("Orders")

       .Column(column =>

       {

          column.Add(p => p.OrderID).HeaderText("Order ID");

          column.Add(p => p.EmployeeID).HeaderText("Employee ID");

          column.Add(p => p.CustomerID).HeaderText("Customer ID")

                .CellEditType(CellEditType.DropdownEdit)                           .DropDownDataSource


but when I write DropDownDataSource nothing happens, I mean no intelissence for this, Am i forgetting to reference a class on using section, what namespace is for this option.

Hope you can help me , thanks

NOTE: I already reference all dll from syncfusion , or if there is aspecific dll or namespace on using section, would be great if you can tell me.

thanks in advance

Eswari S [Syncfusion]
Replied On March 21, 2013 09:33 AM UTC

Hi Joel,

 

Thank you for using Syncfusion products.

 

# We don’t need to add any specific dll to use DropDownDataSource Property. The following are the basic assemblies need to be referenced in your application in order to use Essential Grid for ASP.NET MVC.

 

                                •Syncfusion.Core.dll

 

                                •Syncfusion.Grid.Mvc.dll

 

                                •Syncfusion.Linq.Base.dll

 

                                •Syncfusion.Shared.Mvc.dll

 

                                •Syncfusion.Compression.Base.dll

 

                                •Syncfusion.XlsIO.Mvc.dll                           

 

                                •Syncfusion.Theme.Base.dll

 

# If you are using Razor application , then assemblies should be added in  Views/Web.config file. Please refer to the following code snippets:

 

[Views/Web.config]

<system.web.webPages.razor>
    . . .. . 
        <add namespace="Syncfusion.Mvc.Shared"/>
        <add namespace="Syncfusion.Mvc.Grid"/>
. . . .
  </system.web.webPages.razor>

 

# We have included the DropDownDataSource feature support for Grid [ASP.Net MVC] control in our Essential Studio Volume 1 release , 2013(Version - 11.1.0.21).

 

We have prepared the sample for your reference and the same can be downloaded from the following link:

 

http://www.syncfusion.com/downloads/Support/DirectTrac/105889/DropDown-1624742453.zip

 

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

 

http://help.syncfusion.com/ug/asp.net%20mvc/grid/default.htm#!documents/425databindingsupportfordropdownlistsincolumns.htm

 

Please try this and let us know if you have any queries.

 

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

;