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

[Solved] OpenerElementID: set more than one control to open a Window

3 Answers 182 Views
Window
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 2
Martin asked on 28 Jul 2009, 10:19 AM
Is it possible to set more than one control on a page to open a single Window, using the OpenerElementID?

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 28 Jul 2009, 10:52 AM
Hi Martin,

OpenerElementId property is of type string, and expect the client-side ID of an HTML element, and I guess we cannot add multiple ID to this property. One suggestion would be open the same window by using client code. Checkout the following documentation for more information on opening window from client side.
Opening Windows

Shinu.
0
Accepted
Georgi Tunev
Telerik team
answered on 28 Jul 2009, 11:18 AM
Hi Martin,

No, it is not possible to assign multiple values to the OpenerElementID property. This property is intended to be used in simple scenarios only and we do not recommend using it in more complex ones, especially when Ajax is involved. In such scenarios it is best to use either the Server-Side API (VisibleOnPageLoad=true) or the Client-Side one. More information on the subject is available in the documentation.

Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Martin
Top achievements
Rank 2
answered on 28 Jul 2009, 02:42 PM
Thanks guys, that's all I needed to know. I would have suited my purpose if I could have assigned multiple controls to the OpenerElementID, but I have done it with the clientside api instead.
Tags
Window
Asked by
Martin
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
Georgi Tunev
Telerik team
Martin
Top achievements
Rank 2
Share this question
or