Hi,
I'm going to try and explane this as good as I can.
I have a ascx, it's very simple it only has a dropdown and some buttons.
When I click on one of the buttons I want to open a one of my aspx sites in/with a RadWindow, this works fine.
This aspx site has a diffrent ascx in it, and when I press a button in this ascx I want the RadWindow to close, faily simple.
But I have a big problem in geting the RadWindow to close.
I can ofcourse just press the red X, but I want the window to close automaticly when the user presses another button.
My RadWindowManager is located inside the first ascx, that ascx opens a aspx that contains a ascx, when the user presses a button in that ascx I want the RadWindow to close.
Lets give them some names:
DropDown.ascx (has the RadWindowManager a dropdown and a button that opens up Editor.aspx)
Editor.aspx (has the Fields.ascx control)
Fields.ascx (a control with a lot of fields that can be edited and a save button)
When the user presses that save button my codebehind in Editor.aspx catches this, it checks how the save goes and then I simply want that codebehind todo something like RadWindow1.Close().
I simply can't find or get a hold of the RadWindow from Editor.aspx
I've tried with Parent or FindControl or similar things, but I simply can't find it, and I don't know how to go on with this, how I can change it. Please help me.
Thanks for your help.
I'm going to try and explane this as good as I can.
I have a ascx, it's very simple it only has a dropdown and some buttons.
When I click on one of the buttons I want to open a one of my aspx sites in/with a RadWindow, this works fine.
This aspx site has a diffrent ascx in it, and when I press a button in this ascx I want the RadWindow to close, faily simple.
But I have a big problem in geting the RadWindow to close.
I can ofcourse just press the red X, but I want the window to close automaticly when the user presses another button.
My RadWindowManager is located inside the first ascx, that ascx opens a aspx that contains a ascx, when the user presses a button in that ascx I want the RadWindow to close.
Lets give them some names:
DropDown.ascx (has the RadWindowManager a dropdown and a button that opens up Editor.aspx)
Editor.aspx (has the Fields.ascx control)
Fields.ascx (a control with a lot of fields that can be edited and a save button)
When the user presses that save button my codebehind in Editor.aspx catches this, it checks how the save goes and then I simply want that codebehind todo something like RadWindow1.Close().
I simply can't find or get a hold of the RadWindow from Editor.aspx
I've tried with Parent or FindControl or similar things, but I simply can't find it, and I don't know how to go on with this, how I can change it. Please help me.
Thanks for your help.