Hello,
I have a grid bound to a WHDS. The grid has three tiers. So I should be able to access the bands with bands(0), bands(1) and bands(2) shouldn't I?
It just that bands(1) and bands(2) are always empty so I can't access each column within that band on the Initialize Layout event.
What am I doing wrong?
I am using version 9.2.20092.1003.
Thanks
Regards,
Craig Wight.
Craig,
csnm1 said:I forgot to mention, I am using an UltraWebGrid with the WebHierarchical data source.
I'm moving this thread to the WebGrid forum.
Hi again David,
I forgot to mention, I am using an UltraWebGrid with the WebHierarchical data source.
regards,
craig wight.
Hi Dave,
Thanks again for your reply.
I have defined the bands and the datasource on the actual aspx page (in the attached code see frmStatus.aspx).
I can't find where to set AutoGenerateBands=true.
Craig wight.
Hey,
I have two questions that should help us out. The first is whether you have defined the bands on the aspx page or created them in code behind OR are using AutoGenerateBands = true. The second is where exactly you are trying to access your bands. In the page load or a grid server event? You could attach sample code for you code behind for us to look at as well.
thanks,Dave
bands(0).bands(0) does'nt exist as part of Me.WebHierarchicalDataGrid1.Bands(0).Bands(0) on my machine for some reason.