Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
395
Toggle() method on server side
posted

Hi,

I'm trying to expand menu group using toggle method on the server side during GroupBound call.

 

 

 

Protected 

 

Sub LeftMenuBar_GroupBound(ByVal sender As Object, ByVal e As Infragistics.Web.UI.NavigationControls.ExplorerBarGroupEventArgs) Handles LeftMenuBar.GroupBound

 

 

If Not String.IsNullOrEmpty(Session("Section")) AndAlso e.ExplorerBarGroup.Value = Session("Section") Then

e.ExplorerBarGroup.Toggle()

 

 

End If

 

 

End Sub

 

Even if this changes the Expanded property to True, when page renders menu group is not expanded. e.ExplorerBarGroup.Selected = True works fine. On the other hand, client side version of toggle metod works, but it's applaying animation I don't want to appear after the page postback.

Thanks

Bartek