If you want the ASP. NET Server Control to have different values in different browsers, you can declare it as follows:
<Asp: button ie: text = "ie text" runat = "server" Mozilla: text = "FF text"/>
A full mark:
ASP. NET browser filtering is appended to the text and onclientclick attributes through the prefix of IE and Mozilla.
In ie:
In Firefox:
Note: If the browser on the client is neither ie nor ff, the general attribute value is used by default, and IE does not distinguish IE6 from IE7...
Although this is only a simple text attribute, it can also be all other attributes except ID and event processing function name ..
Offline website
This technique may be widely known. If you create a “app_offline.htm file under the ASP. NET application, all requests to the website will be redirected to “app_offline.htm "..
This function is very good. It is generally used for website maintenance, upgrades, and database reasons. It is also very flexible and allows the entire site to be offline rather than going to iisreset ..
To unlock the app_offline.htm file, delete the “app_offline.htm file directly, or change the “app_online.htm file to “app_online.htm "..
Note: The number of bytes in the “app_offline.htm file must be greater than 512 bytes; otherwise, ie will process the 404 error page ..