page.findcontrol

J

jvcoach23

i'm passing page as mPage in a shared function. then i'm trying to do

Dim mHiddenField As New HiddenField
mHiddenField = mPage.FindControl(mColumn)

mColumn is the name of the control i'm after
in VS 2008, when i do this it works great..
in VS 2005 after the findcontrol, mHiddenField is nothing

will this not work in VS 2005 doing vb..
anyone have any suggestions
thanks
 

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
474,145
Messages
2,570,825
Members
47,371
Latest member
Brkaa

Latest Threads

Top