Hi,
Sorry to need help again, but I'm at my wits end.
I've got a WHDG, completely with childrecords, filtering, sorting and resizing.
When opening the page, everything is set in code. (serverside vb.Net for the whdg, aspx for the datasource)
Screen 1: startup, everything seems in order, filters set for all needed columns.
Screen 2: first problem, the filtering is not correctly set for my child items. (should have NO FILTER. Now he shows the filter, but no filtersetting)
Screen 3: second problem, a refresh happens, because of filtering, and the filtering appears for all columns!
What can I do? Please do nog ask for an isolated example. I CAN provide any code snippets, or running results.
Behaviors are set to enableInheritance, and I can find every filtersetting in debug, set to enabled=false, yet on show, it does show the icon.
there are no other server side events coded on the grid
Hi Razieltje,
If you don't want to have filtering in your child bands, set EnableInheritance of parent Filtering behavior to fasle. And as for the second question - you should make sure you are applying the column settings on every page load or otherwise they will be lost. You could also set these settings from the markup.
Let me know if this helps.
Hello Razieltje,
If you need any further assistance with the matter, please let me know.
Feel free to contact me if you have any other questions.
Hi Nikolay,
thanks for the explanation.We'll look into the adjustments, and how to implement them in our development.
I'll mark this as resolved.
In your sample the code for creating the ColumnSettings is executed only the first time the page loads. And they should be added on every page load. So I commented out this part in your GridFunctions class and created the settings on Page_Load. Refer to the attached sample and if you have any questions, please let me know.
Hey Nikolay,
thank you for the example. Yet this does not resolve the issue
1. Once you filter, I can no longer see the child items (problem still exists, though You do not get the extra filtercolumn) <- OWN EXAMPLE
2. This is but part of the code I delivered.
3. I gave you the needed code to test, AND isolate the problem..?
Sorry, but this does not really help me forward.
My specs: ASP.Net + VB.Net 2008 + Infragistics3.5 v12.1
Hello,
Thank you for the sample. I could not find what is causing this issue, so I am attaching a simplified example of WebHierarchicalDataGrid with columns, bands and behaviors defined in code-behind. If it is an option for you, you could define the columns and filter settings in the markup.
Hope this helps.