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

find radgrid id

3 Answers 71 Views
Grid
This is a migrated thread and some comments may be shown as answers.
jeyaseelan
Top achievements
Rank 1
jeyaseelan asked on 18 Feb 2011, 01:37 PM
hi there i want to find the id of RadGrid from an JS file, how to do this?

previously this code was working fine from aspx
var grid = window["<%= gv1.ClientID %>"];
var rowobj = grid.MasterTableView.Rows[cnt];
var obj = grid.MasterTableView.GetCellByColumnUniqueName(rowobj, "Values");
but the same not working from js file, please tell me how to resolve this problem?

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 18 Feb 2011, 04:05 PM
Hi,

You can examine the help article below and see if it helps:
http://www.telerik.com/help/aspnet-ajax/grid-gridtableview-getcellbycolumnuniquename.html

Kind regards,
Pavlina
the Telerik team
0
jeyaseelan
Top achievements
Rank 1
answered on 19 Feb 2011, 10:07 AM
thanks for your reply but i want to get it from js file not from aspx.
may i know how to get it from js file?
0
Princy
Top achievements
Rank 2
answered on 21 Feb 2011, 10:52 AM
Hello Jeyaseelan,

You can refer the following forum post which discusses the similar scenario.
Find a grid in a JS file

Thanks,
Princy.
Tags
Grid
Asked by
jeyaseelan
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
jeyaseelan
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or