hi,
I call the rad window dialog and pass the data to dialog page. I can show the data in text box using javascript function.
Actually what i want to do is that bind the grid base on passed parameter.
Please let me know how to do it.
Thanks,
Alex
I call the rad window dialog and pass the data to dialog page. I can show the data in text box using javascript function.
Actually what i want to do is that bind the grid base on passed parameter.
Please let me know how to do it.
Thanks,
Alex
4 Answers, 1 is accepted
0
Princy
Top achievements
Rank 2
answered on 11 Nov 2008, 11:04 AM
Hi Alex,
You can do this by passing the needed argument in the query string and to read it on the content page from the server. Please check the following links that shows how to do this:
Using RadWindow URL to supply server arguments
Providing arguments to a page in RadWindow by using URL query string.
Thanks,
Princy.
You can do this by passing the needed argument in the query string and to read it on the content page from the server. Please check the following links that shows how to do this:
Using RadWindow URL to supply server arguments
Providing arguments to a page in RadWindow by using URL query string.
Thanks,
Princy.
0
Alex
Top achievements
Rank 1
answered on 11 Nov 2008, 04:38 PM
Hi Princy,
Thanks you for link. I have tried the same way but my dialog is only appeared few second then disapperaed. Do I need to enabled any option?
I also try the another ReturnDialog example. I have pass the url in NevigationURL="Dialog.aspx" property of window. This one is working for me but i can't pass the parameter to dialog.
Thanks,
Alex
0
Accepted
Hello Alex,
Have you canceled the postback? This is the most probable reason for the first problem - note the ItemTemplate in the demo:
Greetings,
Georgi Tunev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Have you canceled the postback? This is the most probable reason for the first problem - note the ItemTemplate in the demo:
<ItemTemplate> |
<a href="#" onclick="openRadWindow('<%#DataBinder.Eval(Container.DataItem,"CustomerID")%>'); return false;"> |
Details</a></ItemTemplate> |
Greetings,
Georgi Tunev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Alex
Top achievements
Rank 1
answered on 13 Nov 2008, 03:49 PM
Hi Georgi,
Thanks. It is working.
Alex