Welcome Guest Search | Active Topics | Sign In | Register

Grid fails to populate within callbackpanel Options
gmyroup
Posted: Sunday, August 2, 2009 2:45:01 PM
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
eo_support
Posted: Sunday, August 2, 2009 3:57:32 PM
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
gmyroup
Posted: Monday, August 3, 2009 8:07:16 AM
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
eo_support
Posted: Monday, August 3, 2009 9:54:06 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Cool. Glad that you got it working!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.