Posted 10 September 2017, 11:37 am EST
I'm having some issues with the C1Window control.
I have an usercontrol in the window which itself contains more usercontrols (works like an advanced type of treeview).
This window exists to allow users to check certain items in a report to display on a generated pdf or not.
The treeview uses unordered lists (ul), divs and checkboxes for the selections. JQuery is used for expanding/collapsing of the nodes.
There is button in the window that reads all checkboxes, changes the objects related to it and eventually it must create a pdf file.
Now the issue:
When i press the button all lists, divs and checkboxes gets reset to their initial state. Nodes no longer expanded/collapsed, checkboxes no longer checked.
However, when i put the main usercontrol out of the window and put the button in an updatepanel the treeview behaves like it should.
Putting the window in an updatepanel resets the window too.
Here is the window code:
EnableTheming="True" Height="500px" onescpressedclose="True"
StartPosition="Page" HorizontalAlign="Center" StatusVisible="False"
AutoExpand="False" ImageHeight="0" ImageWidth="0"
And here the usercontrol:
<%@ Register src="PrintComponent.ascx" tagname="PrintComponent" tagprefix="rec" %>