Click here to Skip to main content
15,939,772 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:

Label lbl = RadGrid2.MasterTableView.FindControl("SoftwareName") as Label;
Updated 13-Jan-14 2:47am
ZurdoDev 13-Jan-14 8:34am    
Did you read through RadGrid's docs?
MAYANK GEETE 13-Jan-14 8:42am    
ya i check the following link

but in this example button is inside the radgrid but in my project button is outside the grid.
ZurdoDev 13-Jan-14 8:44am    
The title of your question says the control is inside Radgrid. I am confused as to what you are trying to to do.
MAYANK GEETE 13-Jan-14 8:48am    
now i updated my question ...
ZurdoDev 13-Jan-14 8:49am    
So are you trying to find a label or a button? And is it in the grid or outside the grid?

1 solution

protected void Button1_Click(object sender, EventArgs e)

foreach (GridDataItem item in ControlSettGrid.MasterTableView.Items)

TextBox tx=item.FindControl("nfontcolor") as TextBox


Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900