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

How to pass a parameter

2 Answers 77 Views
Window
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 14 Jun 2011, 03:00 PM
Hi,

Just want to know how to pass parameter from a window to another. In my case, I have a grid and when I open a window, I want to pass the value of the selected row to the new window and put it in a TextBox. To do so, I retrieve the value of the selected row and I put it in a HiddenField. In my new window, I was able to take the parameter and set it in the textbox, but the textbox wasn't refresh. So, here is my code :

document.getElementById("myTextBox").value = GetRadWindow().BrowserWindow.JsFn();

The JsFn() just return the value of the hidden field.

So, once there, how do a refresh my textbox. Or is it a more simple or efficient way to pass a parameter ? Thank you for your answer.

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 15 Jun 2011, 10:28 AM
Hello David,

Check the following help documentation which explains how to pass parameters in window.
Using RadWindow as a Dialog.

Thanks,
Princy.
0
David
Top achievements
Rank 1
answered on 15 Jun 2011, 02:03 PM
Thank you
Tags
Window
Asked by
David
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
David
Top achievements
Rank 1
Share this question
or