I have a RadCombo that stores a list of user names. Every time the User selects a new name, an AJAX call is made and a RadGrid is filled with info for that selected User. Everything is done client-side with no full Postback
In the grid, there is a GridButtonColumn button ("Remove") that uses ClientEvents and a RadScriptBlock to make 2 AJAX calls.
The first one is in the code-behind of the page itself, and the second is on the code-behind of a User Control on the page.
The issue is that between the 2 calls, a partial PostBack takes place and in the Page_Load event, the values for SelectedValue and SelectedText are incorrect. They are initially null/empty, instead of the currently selected item in the RadCombo.
This is key because in the Page_Load event, the current user name is used to fill one of the page's properties. This property is then needed by the User Control code-behind to perform further actions.
Is there a setting to make sure the currently selected values are populated correctly during this sequence?
Thanks.
Chris
In the grid, there is a GridButtonColumn button ("Remove") that uses ClientEvents and a RadScriptBlock to make 2 AJAX calls.
The first one is in the code-behind of the page itself, and the second is on the code-behind of a User Control on the page.
The issue is that between the 2 calls, a partial PostBack takes place and in the Page_Load event, the values for SelectedValue and SelectedText are incorrect. They are initially null/empty, instead of the currently selected item in the RadCombo.
This is key because in the Page_Load event, the current user name is used to fill one of the page's properties. This property is then needed by the User Control code-behind to perform further actions.
Is there a setting to make sure the currently selected values are populated correctly during this sequence?
Thanks.
Chris