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

Grid Control prevents dropdown updates

Thread ID:





60657 May 9,2007 06:22 PM UTC May 9,2007 08:39 PM UTC ASP.NET Web Forms (Classic) 1
Tags: GridGroupingControl
Asked On May 9, 2007 06:22 PM UTC

I have an issue when I use the grid control in my pages that also contain an asp:dropdownlist. If I have the grid on the page, and change the value in the dropdown list, it will not save to the new value I selected. I take the grid off and it updates just fine. Any suggestions as to why I'm experiencing this behavior?

Note: the dropdownlist is NOT in the grid control.

I'm using C#, .Net 2.0, VS 2005 and release


Replied On May 9, 2007 08:39 PM UTC

I fixed the issue. I placed the datagrid binding in a separate routine and used the Page_Init to determine when to refresh the data. All is well now. I also placed the grid control in a callback panel and checked this.Page.IsPostBack == false && this.Page.IsCallback == false. Now when I select a new item on the dropdownlist, it will properly save to the database instead of defaulting to the first entry in the list.

I know, clear as mud but it works now.


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

or the page will be automatically redirected to 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