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

Search Dialogbox Grid update

Thread ID:





129739 Mar 31,2017 11:06 AM UTC Apr 3,2017 09:25 AM UTC ASP.NET Web Forms 1
Tags: Grid
Asked On March 31, 2017 11:06 AM UTC


Bind Material Grid used to Search Dialog box  get Product code ,Product name from  Search Dialog box  ..than  Material Grid unable to update Material code and Material name


Attachment: new_7be14496.rar

Alan Sangeeth S [Syncfusion]
Replied On April 3, 2017 09:25 AM UTC

Hi Pratheep, 

Thanks for using Syncfusion Products. 

We have analyzed your code snippets and found that you have bound datasource to grid from code behind method Loadsalesorder. But in this method material code and material name values are not provided and so it was shown empty in grid.  

We have now modified the this method and please find the code snippet below. 

        [ScriptMethod(ResponseFormat = ResponseFormat.Json)] 
        public static List<Materials> Loadsalesorder(string code) 
           List<Materials> product = new List<Materials>(); 
           if (code == "10001") 
               product.Add(new Materials(1, "Product1", 10001, "ALFKI")); 
           else if (code == "10002") 
               product.Add(new Materials(1, "Product2", 10002, "ANATR")); 
            return product; 

We have also modified your sample and the same can be downloadable from below link 

Alan Sangeeth S 


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.

Please sign in to access our forum

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