I am yogesh. I am new to asp.net with c# and working on telerik asp.netajax radgrid control. i want to select a row from radgrid and need to display values of row in textboxes which are in the same page.Could anyone help me out plz...
9 Answers, 1 is accepted
Check out the following sample code snippet which shows how to achieve this. You can get the selected row and cell value in 'OnSelectedIndexChanged' event of RadGrid and then populate the TextBox(outside grid) with these values.
Note: You need to set 'EnablePostBackOnRowClick="true" to fire 'OnSelectedIndexChanged' od RadGrid.
EnablePostBackOnRowClick="true" property is not showing in radgrid.
How can I set this property.
Try setting EnablePostBackOnRowClick in ClientSettings as shown below.
The GridDataItem is not getting for me in Radgrid..
Could you plz help me any thing else to be added in anywhere.....
I tried to replicate the issue but no avail,can you please try the following code snippet.If this doesn't help,please provide your full code,with your desired requirements.
Thanks much Princy,
I used your code and it works!
There is something worth mentioning though, at least for novice users like myself, I needed to replace "GridDataItem" with "Telerik.Web.UI.GridDataItem".
Also needed to reference this RadGrid1_SelectedIndexChanged in my RadGrid's Properties events, under "SelectedIndexChanged"
Hi am using server side binding i need to populate values to control outise grid on clicking edit in radgrid(server side)