CodeVerge.Net
Beta
Item Entry
Register
Login
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums
Can Reply:
No
Members Can Edit:
No
Online:
Yes
Zone:
>
Asp.Net Forum
>
windows_hosting.hosting_open_forum
Tags:
Item Type:
Date Entered:
3/19/2004 12:26:03 AM
Date Modified:
Subscribers:
0
Subscribe Alert
Rate It:
NR
XPoints:
N/A
Replies:
9
Views:
39
Favorited:
0
Favorite
10 Items, 1 Pages
Sort By
Date Dsc
Date Asc
Votes Dsc
Votes Asc
1
|<
<<
Go
>>
>|
"FancyKetsup" <
NewsGroup User
HtmlControls vs WebControls
3/19/2004 12:26:03 AM
0
Can anyome shed some light on advantages of one over the other? I here evryone raving about the AspPanel control... my gawd its just a Div tag lol.
Answering a question increases your knowledge asking a question shows your Intelligence!
"sedgewick" <>
NewsGroup User
Re: HtmlControls vs WebControls
3/19/2004 3:25:44 AM
0
or how about straight up html with a runat = server?
I use panels personally :) but I've seen span tags with runat = server -
and findControl method, and toggle visibility that way.
Get ready to blast your energy levels into high gear with Sedgewick Energy Drink. High powered adaptogenic herbs mixed with potent levels of B-vitamins and...
Please disregard the contents of this post.
"annie" <>
NewsGroup User
Re: HtmlControls vs WebControls
3/19/2004 8:12:29 AM
0
I would avoid people who rave about Panel controls or indeed any controls. But to see the differences, just look at the class members. Panel inherits from WebControl so has all the properties & methods of a WebControl (notably Style properties and ToolTip). It also has some design-time features.
"master4eva" <>
NewsGroup User
Re: HtmlControls vs WebControls
3/19/2004 1:01:45 PM
0
There is no advantages as such... only a slight performance gain (WebControl is faster than any HTML control with runat="server").
-- Justin Lovell
"FancyKetsup" <
NewsGroup User
Re: HtmlControls vs WebControls
3/19/2004 7:27:46 PM
0
Thanks Jim... So you?re saying that anytime I use a html with a runat=server attribute then I would be better off using the equivalent asp:whatever if one is available. Example if I am going to use <div runat=server></div> my code will be faster(slightly) if I use asp:panel. For some reason I got rendering specific browser code tied to asp:controls. Seems early on in my Asp.Net venture one of the things that caught my attention was that it rendered code according to browser type. Probably just a misconception on my part, that cross-browser compatibility was going to be a thing of the past :) .
Answering a question increases your knowledge asking a question shows your Intelligence!
"master4eva" <>
NewsGroup User
Re: HtmlControls vs WebControls
3/20/2004 7:34:07 AM
0
My name is Justin :-) . There is a ever so slight performance gain -- about every 50 requests, you will gain 0.01 seconds per html control with a runat="server" (on 1.3GHz and 256MG RAM... and quite a bit of stuff open but not too much).
The gain is minmute on an average site. And oh, with the browser rendering different HTML equivilents: it is just plain MS that put themselves first. You can bluff ASP.NET of which browser is requesting the page by editing the web.config file. It can be found under the browserCaps section. Read here for more information:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfbrowsercapssection.asp
-- Justin Lovell
"joteke" <>
NewsGroup User
Re: HtmlControls vs WebControls
3/20/2004 7:40:18 AM
0
Jim has also couple of good control articles at AspAlliance. :-D Though not about HtmlControls vs WebControls, IIRC.
The following thread:
view post 89647
has also an example about customizing browser detection with the web.config file.
Thanks,
Teemu Keiski
Finland, EU
"master4eva" <>
NewsGroup User
Re: HtmlControls vs WebControls
3/20/2004 7:46:52 AM
0
.... My name is Justin }:-) :-) .
-- Justin Lovell
"FancyKetsup" <
NewsGroup User
Re: HtmlControls vs WebControls
3/23/2004 5:12:38 PM
0
if(Name == "Justin){
continue;
else{
no pass go and no collection of two hundred dollars;
}
Thanks Jim ..errr Name=Justin :)
Answering a question increases your knowledge asking a question shows your Intelligence!
"master4eva" <>
NewsGroup User
Re: HtmlControls vs WebControls
3/23/2004 6:22:10 PM
0
LOL, not trying to go off topic but Teemu and I have been at this for a while now about my new name ;-) . And one of my friends were not in his state of mind today and called me by his sister's name... it must be written in stars to get my name wrong this month :-) .
-- Justin Lovell
10 Items, 1 Pages
Sort By
Date Dsc
Date Asc
Votes Dsc
Votes Asc
1
|<
<<
Go
>>
>|
Free Download:
Invite
Members
SiteMap
windows product updates and technical training
composite controls: createchildcontrols or render?
spla related question
teched europe has some good info for hosters
absolute best way to learn custom controls?
web custom control: collection editor does not persist values
listbox datasource property
how to give vertical scrollbar to user control
possible to globally specify a register tagprefix in the web.config file?
problem with sql server and web server on different machines
regarding development of discussion forums.
hosting for crystal reports in an asp.net environment
having trouble getting custom control to process events
overriding inherited public property to make private
simple property - total confusion
iframe control - guidance recommendation
'[propertyname]' could not be initialized.
create webmatrix toolbox component
how do i make tagprefix work?
reliablesite.net - has baddest support i ever seen
multiple controls in a single file
linkbutton events from a repeater in a server control
vwd and sql server express 2005: where to host
folder control
treeview select node behavior
user control list
efficient data persistence between postbacks
custome controls, javascript, and firefox/mozilla
how to convert pdf files to normal text file?
pl or sal? that is the question!
common header and footer
onsetcomponentdefaults() method not getting called...
question: active frame does not support this element 'asp:listitem' ?
webresource problems
spla office licensing question
new to controls
anyone using aspmenu.net from web active corp ?
mvc hosting, asp.net mvc hosting, who's valued?
dynamically created control disappearing
custom tags inside a control
styling web user controls
different cross-application usercontrol problem
composite custome controls
the sad state of shared hosting in asp.net
losing property settings
comapring vwdhosting vs other hosting providers
500 errors with www.webhost4life.com, anybody?
problem with <button> tag and postback - please help :(
creating a web server control
please help with server control
macromedia exchange extensions dreamweaver
starter kits and source projects gotcommunitynet
macromedia labs blazeds
novell support zenworks desktop-management 7x remote-management
novell support native-file-access
novell support zenworks desktop-management 6x inventory
novell support open-enterprise-server linux administration
novell support zenworks desktop-management 7x applications
ibm software db2 udb
novell support modular-authentication-services
macromedia coldfusion database access
novell support open-enterprise-server linux install
novell support zenworks desktop-management 6x application-launcher
macromedia labs kuler talk
borland public delphi language delphi general
Privacy
|
Contact Us
All Times Are GMT