|
Rank: Advanced Member Groups: Member
Joined: 7/26/2009 Posts: 36
|
Hi
I have an EO grid that I populate based on the values my users select from a couple of dropdownlist. The 1st time that the user chooses values from the 2 dropdownlist (the selectedindexchanged event on the 2nd combo is the update panel's trigger) the grid populates just fine. When the user selects 2 new values from the combos after the grid has been populated... the grid does not update to reflect the values they selected. HELP!!!!
Here's the server-side code that I use on the 2nd combos selectedindexchanged event:
Protected Sub cboWeekEnding_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) grdWorkplaceSkillsCriterias.DataSourceID = "" 'the grid grdWorkplaceSkillsCriterias.DataSourceID = dsCriterias.ID grdWorkplaceSkillsCriterias.DataBind() cbpCriterias.Update() 'the callbackpanel End Sub
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
I would suggest you to remove the CallbackPanel and got it working first. That should clearly tell you whether it's related to the Grid or CallbackPanel.
Thanks
|
|
Rank: Advanced Member Groups: Member
Joined: 7/26/2009 Posts: 36
|
Hello
I removed the follwing 2 lines and it worked!
grdWorkplaceSkillsCriterias.DataSourceID = "" 'the grid grdWorkplaceSkillsCriterias.DataSourceID = dsCriterias.ID
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Cool. Glad that you got it working!
|
|