I was quite disappointed when I found out that the [WebHierarchicalDataGrid] component didn't use the same StyleSet assignment syntax as the rest of your .NET controls (Please correct me if I'm wrong btw - but trying the usual [EnableAppStyling=True and StyleSetName="" properties in the *.aspx] didn't work.
In any case, I eventually found your example page that describes the way to assign a StyleSet [here - http://labs.infragistics.com/aspnetctp/Samples/WebHierarchicalDataGrid/WebHierarchicalDataGrid_BandStyling.aspx?View=Run].
Unfortunately, we're a VB.NET shop and your StyleSet example is C# only. We've done some initial C#-to-VB translation but so far we can't get the example working.
So - could you please create a VB code example of this page?
http://labs.infragistics.com/aspnetctp/Samples/WebHierarchicalDataGrid/WebHierarchicalDataGrid_BandStyling.aspx?View=Run
Thank you
Chris,
Sorry to hear that you are having trouble with one of the samples. The sample you referenced is for styling RowIslands differently within the same WHDG. I converted the sample to VB and it is working for me. Here is a snippet of code for your reference.
Protected Sub RowIslandCreated(ByVal sender As Object, ByVal e As Infragistics.Web.UI.GridControls.RowIslandEventArgs) Handles whdg1.RowIslandCreated
If (e.RowIsland.Key.Equals("Details")) Then
e.RowIsland.StyleSetName = "Trendy"
ElseIf (e.RowIsland.Key.Equals("Shippers")) Then
e.RowIsland.StyleSetName = "Claymation"
End If
End Sub
Please let us know if you continue to have problems.
Ed CerboneInfragistics Experience Design Group
Hi,
i find this post about this control very interesting sent by u
i am Arti working in ASP.net 3.5
But i wanted to know from that start to end about how can i use this webHierarchicalDataGrid in c# only
please let me know
what extra i have to download for this control and how in can use it in .aspx and .cs page in c# only
Waiting for yor response
Arti,Did you take a look @ our online samples? If you go to https://www.infragistics.com/samples/aspnet/hierarchical-data-grid/overview there is a collections of samples for the WebHierarchicalDataGrid. If you would still like to download and run something locally you can go to https://www.infragistics.com/products/aspnet to download the product. Let me know if I can help you further.
Ed
hi
i have downloaded the Software
but how to use this ajax controls in my web application
means how this controls wil be available in my .aspx pages
do i hv to do any reference to my application
Please have a look at our videos:
http://community.infragistics.com/aspnet/media/default.aspx
This one maybe particularly interesting to you. It is about geting started with the hierarchical grid:
https://www.youtube.com/playlist?list=PLDAFFE8C757FED32E