Articles in this section
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.

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied