468,249 Members | 1,499 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,249 developers. It's quick & easy.

DataBind() on a content page

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.

Mar 28 '06 #1
0 758

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Martin | last post: by
reply views Thread by Bryce Budd | last post: by
2 posts views Thread by Jimmy | last post: by
2 posts views Thread by jslaybaugh | last post: by
reply views Thread by nicklang | last post: by
2 posts views Thread by zhshqzyc | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.