This is a migrated thread and some comments may be shown as answers.

[Solved] OpenerElementID causes postback and closes window

2 Answers 227 Views
Window
This is a migrated thread and some comments may be shown as answers.
rh
Top achievements
Rank 1
rh asked on 20 Dec 2007, 06:01 PM
I'm upgrading my rad windows to Prometheus. However, now when my OpenerElementID (which is a button) is pressed it opens the window like it should but it also causes a postback on the page which then subsequently closes the window after the page refreshes. My button that is assigned as the OpenerElementID does not have any event handlers and the page worked fine with the old version of window. How can I stop the postback from occurring?

2 Answers, 1 is accepted

Sort by
0
rh
Top achievements
Rank 1
answered on 20 Dec 2007, 06:08 PM
I also get the following error:

Sys.InvalidOperationException: A control is already associated with this element.

0
Georgi Tunev
Telerik team
answered on 21 Dec 2007, 11:00 AM
Hello rh,

At this point I cannot tell what exactly is the problem as I cannot reproduce it locally. For convenience I attached to this thread a small movie that shows my test along with the code - as you can see, everything is working as expected.

If you still experience problems, please open a new support ticket and send me a small sample application (please make sure it can be run locally) which reproduces the problem and I will check it right away.




Regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Window
Asked by
rh
Top achievements
Rank 1
Answers by
rh
Top achievements
Rank 1
Georgi Tunev
Telerik team
Share this question
or