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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to render the dropdown with datasource fetched by remote service while editing

Platform: ASP.NET Web Forms |
Control: Grid |
Published Date: May 12, 2016 |
Last Revised Date: May 12, 2016

Solution:

You can use “EditTemplate” property of Grid Column to render Dropdown control with datasource fetched from remote service during editing. The following code example shows how to render Dropdown control with datasource fetched from remote service on editing.

  1.  Render the Grid control.

 

JS

 

MVC

 

ASP.NET

 

       2. You can define the Event Handlers for the create, read, write properties of Grid Column EditTemplate” property.

 

 

As In the above code you can fetch the dataSource for dropDown from the remote service by using “write” event of EditTemplate feature.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The following output is displayed as a result of the above code example.

Figure: Render the dropdown control with dataSource

 

 

2X faster development

The ultimate ASP.NET Web Forms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

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