Hi,
I'm presently working on a application that use a radGrid with a Web User Control, so I used this demo to help me. I also want, in my Web User Control, to have a button that will make appears a window that will return a value that will fill a field (tbField) inside the Web User Control (like in this demo). So I tried it out, but I wasn't able to realise my scenario. Here is the problem : the javaScript code for calling the window and get back the value is write in the page that containt the radGrid. I'm able to get the value from the window, but I don't know how to set it to the field in the Web User Control (tbField). Here is my code in js function :
So, how do I access the field in the Web User Control from code-behind. Guess it should be something like
but I don't know how to get the edited row.
I'm presently working on a application that use a radGrid with a Web User Control, so I used this demo to help me. I also want, in my Web User Control, to have a button that will make appears a window that will return a value that will fill a field (tbField) inside the Web User Control (like in this demo). So I tried it out, but I wasn't able to realise my scenario. Here is the problem : the javaScript code for calling the window and get back the value is write in the page that containt the radGrid. I'm able to get the value from the window, but I don't know how to set it to the field in the Web User Control (tbField). Here is my code in js function :
// Function that is called from the window to "get back" the value and fill the field tbField
function test(args) {
RadAjaxManager1.ajaxRequest(args);
}
So, how do I access the field in the Web User Control from code-behind. Guess it should be something like
"row that is edited".FindControl("tbField") as TextBox
but I don't know how to get the edited row.