DataBind() on a content page

G

Guest

Hi,

I am trying to call the DataBind() function of a ContentPlaceHolder control
from a Master page.
It worked fine on my first page, using "standard" forms and grids.
I had not overidden the DataBind() function for this one.

But on my new page, I have written my own DataBind() function as I couldn't
make the standard form controls work without a lot of pain.

From the Master page, I call:
ContentPlaceHolder1.DataBind();

in my content page, I have the following:
public override void DataBind()
{
// my code goes here
}

and this is is never called...
I am sure I am missing something obvious... just don't know what.

Help or suggestions welcome.
 

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,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top