Last post Oct 18, 2011 06:37 PM by MoneyRan
Oct 03, 2011 08:10 PM|MoneyRan|LINK
I get this error on GridView1.DataBind() statement.
TThe grid loads customer names when I select region from dropdownlist. It works for on value of the DDL but gives this error when I select another value. It also works for all other values of the DDL.
No idea what is happening. Need help
Oct 04, 2011 07:21 AM|sridhaar.sree|LINK
Are you using any script manager and update panel (AJAX) ?
Oct 04, 2011 04:45 PM|MoneyRan|LINK
yes, there is an update panel and script manager in the main page
Oct 05, 2011 05:02 AM|sridhaar.sree|LINK
This error happens mostly when your got error while executing the asynchronous code . If you have code that calls the database, ensure that a value is being returned fron the databse. Please go through the following links
Oct 18, 2011 06:37 PM|MoneyRan|LINK
Thanks Shree, it was actually a problem with the data in the database and also the SelectedValue of DropDownList did not return proper value.
I fixed these things and it worked ok.