471,072 Members | 1,407 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,072 software developers and data experts.

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 800

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 leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.