<ig:webhierarchicaldatagrid id="ugSearch" runat="server" datakeyfields="*****" datamember="*****" headercaptioncssclass="PartyHeaderClass" autogeneratecolumns="False" autogeneratebands="False" width="98%" height="940px" altitemcssclass="PartyAltRowClass" itemcssclass="PartyRowClass" initialdatabinddepth="0" borderwidth="0px" OnRowIslandsPopulating="whdg_RowIslandsPopulating" >
Showing below message box when i Click on row (+) Sign
---------------------------Message from webpage---------------------------Runtime Exception: No child grid script descriptors are available!---------------------------OK ---------------------------
Hi Abhijeet Dhoke,
Thank you for contacting Infragistics.
From what I can see thus far, you're currently using the WebHierarchicalDataGrid's LoadOnDemand feature. That being said, here are some things to consider:1. The PrimaryKey should be set for each Table in your DataSource2. The DataKeyFields and DataMember properties should be set for each level in your WebHierarchicalDataGrid
To learn more about the LoadOnDemand feature, please review the following help topic:https://www.igniteui.com/help/infragistics.web.mvc~infragistics.web.mvc.igridmodel~loadondemand
Thanks for response.
I am trying to raise below RowExpanded event on parent row of webhierarchicaldatagrid:
Protected Sub ugSearchTrial_RowExpanded(sender As Object, e As Infragistics.Web.UI.GridControls.ContainerRowEventArgs) Handles ugSearchTrial.RowExpanded
'Dim val As string =ugSearchTrial.Rows(e.Row)End Sub
But this event is not firing when I click on any Parent row.
Also RowIslandsPopulating event not firing.
It will helpful for me if you attach/share any sample code to fire these events from webhierarchicaldatagrid.
Thanks,Abhijeet
Hello Mike,
Good morning,
Thanks for response, I am new for INFRAGISTICS control.
1) What kind of datasource are you connecting to your grid= Answer - Datatables
2) How are you assigning that datasource on postback= Answer -In postback true with view state/Session
3) Does the column you are using for your DataKeyField contain all unique values?= Yes
4) Can you provide me with a sample that reproduces the issue you are seeing so I can do some debugging on my side?= Please find the attachment
Can you please check attached code and edit it according to you. I have put query comment in there please go through it.
After binding data on page load Me.IsPostBack = True. I am able to fire the WebHierarchicalDataGrid1_RowIslandsPopulating event, but few problem over there. I have attached the sample code. Please check it.
Regards,
Abhijeet
Please ignore previous attachment.
Reagards,
Hello Abhijeet,
After looking at your sample I believe you are having this issue because of how you are handling the manual load on demand. I am attaching a sample that demonstrates how to handle manual load on demand. You can also see the following documentation:
http://help.infragistics.com/doc/ASPNET/2015.2/CLR4.0/?page=WebHierarchicalDataGrid_Load_On_Demand.html
Ok Mike we will try this, Few more query will be on the way i will tell you know. Thanks :-)
Thank you for the update. If you have new queries I recommend you create separate forum threads or cases to keep it clear what each one is about.
If you are still experiencing this issue and are using .NET 4.0 then it is likely because you are somehow not setting up the grid properly. I am attaching a sample that demonstrates how to properly setup the grid. To go further with this matter you are going to have to send an isolated sample that reproduces the issue you are seeing.
Thanks mike, Please have look into it, I think its challenging query for INFRAGISTIC development team.
Thank you for the update. I see that those forum threads are already being handled by other team members. I will discussed those threads with them.
If you are there please have lookin to it-
http://es.infragistics.com/community/forums/p/104514/494365.aspx#494365
http://es.infragistics.com/community/forums/t/104512.aspx