Category / Section
How to change the Snap control status from the server side such as Expand/Collapse?
1 min read
You can Expand/Collapse the snap control status in server side as follows.
[C#] //Toggle between Row Expand and Collapse if (Snap1.IsCollapsed) Snap1.IsCollapsed = false; else Snap1.IsCollapsed = true; [VB] ''Toggle between Row Expand and Collapse If Snap1.IsCollapsed then Snap1.IsCollapsed = false; Else Snap1.IsCollapsed = true; End If
Call the above code snippet in Button click event.