FindControl problem

  • Thread starter Thread starter Vik
  • Start date Start date
V

Vik

On a page there is an HTML table that runs at server. I use a
tableName.FindControl method to find the textboxes in the table.
The method returns a control even when a textbox is somewhere on a page
outside the table.

Why does this happen?

VS2005 Version 8.0.50727.762 (SP.050727-7600)
..NET Version 2.0.50727 SP2

Thanks.

Victor
 
Are you talking the JavaScript Find method?

--
Gregory A. Beamer
MCP: +I, SE, SD, DBA

*********************************************
| Think outside the box!
|
*********************************************
 
Are you talking the JavaScript Find method?

--
Gregory A. Beamer
MCP: +I, SE, SD, DBA

*********************************************
| Think outside the box!
|
*********************************************
 
Enable Trace in the Page. Run the page and read the control tree that will
show you the names of each container we must pass to each instance of the
FindControl method. Show the FindControl code snippet you're using now...
 
Enable Trace in the Page. Run the page and read the control tree that will
show you the names of each container we must pass to each instance of the
FindControl method. Show the FindControl code snippet you're using now...
 
Back
Top