I am just trying to do this too if anyone can help..?
I have managed to pass a hard-coded word in the URL which i can then use in my pop up window but how can i get what is typed in the textbox to go into the URL?
heres my code: Basically where i have typed 'smith' i need to get the value of the txtSurname textbox.
<
telerik:RadTextBox ID="txtSurname" runat="server">
</telerik:RadTextBox>
<
button class="button" onclick="openRadWindow('smith'); return false;">Search</button>
<
script type="text/javascript">
function OpenPositionedWindow(oButton, url, windowName) {
var oWnd = window.radopen(url, windowName);
}
function openRadWindow(SearchCriteria) {
var oWnd = radopen("Page.aspx?Search=" + SearchCriteria, "RadWindow1");
oWnd.center();
}
</script>
I have searched everywhere but cannot find anything to help...is it actually possible does anyone know?
thank you