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

making the navigateurl dynamic in radwindow

1 Answer 287 Views
Window
This is a migrated thread and some comments may be shown as answers.
appdev
Top achievements
Rank 1
appdev asked on 14 May 2009, 10:44 PM
im trying to pass a value that i assigned in serverside to the client side so that when i click on the button that activate the radwindow to take me to the correct link but it won't work
if i use
<telerik:RadWindowManager ID="RadWindowManager2" VisibleStatusbar="false" runat="server">   
                                        <Windows>  
                                            <telerik:RadWindow ID="RadWindow2" Modal="false" runat="server" NavigateUrl="report1.aspx"
                                                Skin="WebBlue" Animation="Resize" Width="800px" Height="500px" ></telerik:RadWindow>  
                                        </Windows>  
                                    </telerik:RadWindowManager>

then it works fine but if i do this
<telerik:RadWindowManager ID="RadWindowManager2" VisibleStatusbar="false" runat="server">   
                                        <Windows>  
                                            <telerik:RadWindow ID="RadWindow2" Modal="false" runat="server" NavigateUrl="report1.aspx?rowid=<%=ucr_row_id %>&reportid=<%=report_id %>"
                                                Skin="WebBlue" Animation="Resize" Width="800px" Height="500px" ></telerik:RadWindow>  
                                        </Windows>  
                                    </telerik:RadWindowManager>

then it just wont work. what it does is just give me url as :   "report1.aspx?rowid=<%=......."  but not the actual value of the variables.  so how do i do the second method. the values only get assigned in the server side. please help. thanks.

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 15 May 2009, 02:54 PM
Hello Duy,

Set the NavigateUrl property from the server and you will not experience this problem anymore.
More information on the subject is available in the documentation.


Best wishes,
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.
Tags
Window
Asked by
appdev
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or