I have a RadWindow1 (url: Page2.aspx) that is opened from Page1.aspx. When a user clicks on a button on the RadWindow1, I want to remove the Move feature from the RadWindow1. When I try to reference RadWindow1 from Page2.aspx.vb, it returns Nothing. How can I reference RadWindow1?
I have a RadWindow1 (url: Page2.aspx) that is opened from Page1.aspx. When a user clicks on a button on the RadWindow1, I want to remove the Move feature from the RadWindow1. When I try to reference RadWindow1 from Page2.aspx.vb, it returns Nothing. Here is the code I have tried:
'Dim window_ProductCode As RadWindow = PreviousPage.FindControl("window_ProductCode")
'------------------
'If PreviousPage IsNot Nothing Then
'Dim windowMgr As RadWindow = PreviousPage.FindControl("RadWindowManager1")
'window_ProductCode.Behaviors = WindowBehaviors.None
'End If
'------------------
'Dim window_ProductCode As RadWindow = Page.Parent.FindControl("RadWindowManager1")