Base page refrence

G

Guest

I have a web page which inherits from another page called Basepage.
In the Base page class I want to get reference of any gridview which is in
derived page. How to do that?

Thanks
 
G

Guest

No I don not have fields defined on the base page. I did findcontrol but i
did not get any control.
Please let me know in more details.
 
T

Teemu Keiski

Post some code to demonstrate. Using FindControl should work, but of course
you must have protective logic in case separate subpages have different
kinds of controls you all query for.

Teemu
 

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

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,739
Latest member
Clint8040

Latest Threads

Top