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

a few OpenerElementIDs for single radwindow

4 Answers 46 Views
Window
This is a migrated thread and some comments may be shown as answers.
Dariusz Tomoń
Top achievements
Rank 1
Dariusz Tomoń asked on 16 Jan 2009, 07:08 AM
Hi,

My question is simple. Is it possible to assign several OpenerElementIDs for single radwindow? If so how to do it statically and programmaticaly?

Best Regards

Darek

4 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 16 Jan 2009, 01:04 PM
Hi Dariusz Tomoń,

OpenerElementID is designed to provide a simple and easy way to open a RadWindow when the user click on some element. It is not possible to assign several OpenerElementIDs to one RadWindow object.

Best wishes,
Fiko
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Dariusz Tomoń
Top achievements
Rank 1
answered on 16 Jan 2009, 01:20 PM
ok, how can I deal with the case when I have > 10 hyperlinks or buttons and I want to open RadWindow when clicking on one of them. Additionally I want to pass argument from the clicked element (the question is how) to RadWindow so that content could read that argument (let's say it's ID) and display content depending on that passed argument.

Best Regards

Darek 
0
Dariusz Tomoń
Top achievements
Rank 1
answered on 16 Jan 2009, 01:25 PM
I have dozens of HyperLinks on my page created dynamically. I can build them with ID which I then want to pass to radwindow. In the radwindow there will be my page which can read passed ID and display data from database.
What is the best way to do it? I would appreciate if you could send sample codes.

Best Regards

Darek
0
Georgi Tunev
Telerik team
answered on 16 Jan 2009, 03:46 PM
Hi Dariusz Tomoń,

You can send these IDs as query sting parameters, or as an argument - it is up to the developer to choose the best way to communicate between a parent and a content page. The logic in this case is absolutely the same as if you are using a standard browser's popup or an IFRAME (RadWindow is basically an IFRAME and behaves just like one).

Kind regards,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
Dariusz Tomoń
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Dariusz Tomoń
Top achievements
Rank 1
Georgi Tunev
Telerik team
Share this question
or