ASP.NET and HTML controls for browsers

  • Thread starter Thread starter Vince
  • Start date Start date
V

Vince

Hi all,

I have read an article on the net saying that the asp.net controls
that come with visual studio will render output depending on the
browser. Is this true?
 
Hi Vince,
I have read an article on the net saying that the asp.net controls
that come with visual studio will render output depending on the
browser. Is this true?

Firstly, the ASP.Net Controls come with .Net Framework and not specifically
with Visual Studio. :)
Now, the browser-specific issue.
Yes... they do. But not all of them. Almost all of the WebControls do
take care of browser specific issue, but in an abstract manner.

Have a look into the .browser files in the folder
%WINDIR%\Microsoft.NET\Framework\v2.0.50727\CONFIG\Browsers

HTH :)


--
Cheers,
Gaurav Vaish
www.mastergaurav.com
www.edujini-labs.com
-------------------------------
 
Hi Vince,


Firstly, the ASP.Net Controls come with .Net Framework and not specifically
with Visual Studio. :)
Now, the browser-specific issue.
Yes... they do. But not all of them. Almost all of the WebControls do
take care of browser specific issue, but in an abstract manner.

Have a look into the .browser files in the folder
%WINDIR%\Microsoft.NET\Framework\v2.0.50727\CONFIG\Browsers

HTH :)

Could you be a little more specific? What do you mean by abstract
manner?
 
Hi Vince,


Firstly, the ASP.Net Controls come with .Net Framework and not specifically
with Visual Studio. :)
Now, the browser-specific issue.
Yes... they do. But not all of them. Almost all of the WebControls do
take care of browser specific issue, but in an abstract manner.

Have a look into the .browser files in the folder
%WINDIR%\Microsoft.NET\Framework\v2.0.50727\CONFIG\Browsers

HTH :)

Could you be a little more specific? What do you mean by abstract
manner?
 
Hi Vince,


Firstly, the ASP.Net Controls come with .Net Framework and not specifically
with Visual Studio. :)
Now, the browser-specific issue.
Yes... they do. But not all of them. Almost all of the WebControls do
take care of browser specific issue, but in an abstract manner.

Have a look into the .browser files in the folder
%WINDIR%\Microsoft.NET\Framework\v2.0.50727\CONFIG\Browsers

HTH :)

Could you be a little more specific? What do you mean by abstract
manner?
 
They make changes in the way they style (deprecated or xhtml (ish))
and also enable or disable DHTML portions of a control. I've even seen
cases where a div was rendered in IE but a full table was rendered in
Firefox.

They work fairly well but you need to update you browsercaps.xml file
otherwise firefox et al don't get the nice bits of DHTML etc (e.g.
client-side validation)

Have a look here - http://slingfive.com/pages/code/browserCaps/
 
Back
Top