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

Issue with RadWindow, RadTabStrip and MasterPage

2 Answers 59 Views
Window
This is a migrated thread and some comments may be shown as answers.
Antoine
Top achievements
Rank 1
Antoine asked on 20 Sep 2012, 09:16 AM
Hi all,

I don't know how to search for my issue then I post a thread.

Here is the structure of my website :

MasterPage
|--> viewAll.aspx (that contains RadWindowManager and RadAjaxLoadingPanel)
     |--> RadTabStrip + RadMultiPage
          |--> 4 RadPageView --> 3 of them have RadGrid wich contains HyperLink that must open a RadWindow to update data (the URL depends on the RadGrid that open her).

The issue is : the 2 first hyperlinks open the RadWindow using the URL of the third one.

Thanks for the help.

Regards

2 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 21 Sep 2012, 11:03 AM
Hi Antoine,

Have you examined this online demo that is very similar to your case: http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=window? Note how the hyperlink has an onclick attribute set to open a new RadWindow and the URL that is used is hardcoded in the JavaScript function. If you have multiple functions with the same name only the last will be used, which can explain why the same URL is used for all grids. This can happen if you use user controls and place JavaScript in them and then have multiple instances on the page. An idea how to avoid this problem is shown in this KB article.


Greetings,
Marin Bratanov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Antoine
Top achievements
Rank 1
answered on 21 Sep 2012, 12:25 PM
Hi Marin,

Great thank you, it works fine :)

The problem was due to the function names.

Regards
Tags
Window
Asked by
Antoine
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Antoine
Top achievements
Rank 1
Share this question
or