Home All Groups Group Topic Archive Search About

Which is better User Control or Frame?

Author
25 May 2005 7:52 AM
Chi
I want to have same page header 
Frame or User Control is much better?
And what is the different between then?
Thx

Author
25 May 2005 9:37 AM
Josh
>I want to have same page header  Frame or User Control is much better?
> And what is the different between then?
> Thx

They are completely differn't.

Use a user control if your going to use that bit of UI.

A Frame is for seperation, not for reuse (User Control).
Author
25 May 2005 11:07 PM
Steve C. Orr [MVP, MCSD]
Use a user control.
Frames can be difficult in ASP.NET and you probably shouldn't mess with them
unless you're very comfortable with client side javascript.

Here's more info:
http://SteveOrr.net/faq/UserCustom.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net


Show quoteHide quote
"Chi" <csyc***@gmail.com> wrote in message
news:OTEOg5PYFHA.2588@TK2MSFTNGP14.phx.gbl...
>I want to have same page header  Frame or User Control is much better?
> And what is the different between then?
> Thx