HI
I am using the Webdropdown and WebHirarchical grid . After selecting the value from webdropdown the two WebHierarchicalDataGrid is going to bind .If user select the data in webdropdowm for more than two times it show the multple contols error will come . I am using LINQtoSQL(DBML) for database operation and have the object datasource for the WebHierarchicalDataGrid which contains data in Bands .
Please give me a solution for this issue
Thanks & Regards
Shantesh
Hi Shantesh,
Could you please share your code for binding the grid?
I am attaching the sample I created with DataSet as a datasource.
Hello Shantesh,
Please let me know if you need any further assistance with the matter.
Hello Sujay,
I'm just checking if you have resolved your issue.
Hi Sujay,
I need to see the code which you use to rebind the grid. Is it possible for you to attach a running sample?
Thank you.
Hi Nikolay
The onValue_Changed coed as given below
Protected Sub ddl_OnValueChanged(ByVal sender As Object, ByVal e As Infragistics.Web.UI.ListControls.DropDownValueChangedEventArgs)
'btnA.Visible = True 'btnACancel.Visible = True 'btnASave.Attributes.Add("style", "display:block") 'btnCancel.Attributes.Add("style", "display:block")
EndSub
The Actual problem is If I select data in dropdown ddl the two WebHirarchicalDatagrid will bind and they show the data in different bands . That part is ok , If user select another data in webdropdown the webhirarchical datagrid will bind based on the data in webdropdown . And in case if user select and first data in webdropdown which was selected earlier then the multiple control issue will come . I think the webhirarchical data grid will not bind for the data which was present earlier . The page load event will not fire when multiple control issue come . Only the webhirarchical datagrid selecting methods in code code behind will fire and issue comes .
Plese give me a solution for this issue .
I'm just following up to see if you still need assistance with the matter.
I am unable to tell what is causing this issue from the provided markup. I would need to see your OnValueChanged event handler.