FindControl problem

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
 
H

Hillbilly

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top