http://en.wikipedia.org/wiki/Conditional_comment
Such as: remove IE8 compatibility button
<!--[if gte IE 7]><meta http-equiv="X-UA-Compatible" content="IE=8"/> <![endif]-->
Wednesday, September 15, 2010
Monday, September 13, 2010
How to remove IE8 compatibility button in asp.net?
Put following code BEFORE header:
<!--[if gte IE 7]><meta http-equiv="X-UA-Compatible" content="IE=8"/> <![endif]-->
<!--[if gte IE 7]><meta http-equiv="X-UA-Compatible" content="IE=8"/> <![endif]-->
How to make label in asp.net text-wrap
Add a div following to wrap your label:
<div style="overflow-y:auto;overflow-x:auto; word-break:break-all;" runat="server">
<div style="overflow-y:auto;overflow-x:auto; word-break:break-all;" runat="server">
Wednesday, September 1, 2010
How to solve problem: JQuery doesn’t work after postback in asp.net web form?
Put Jquery code into pageLoad method in html view. Such as:
<script type="text/javascript">
function pageLoad() {
$('#TextBox1').datepicker();
}
</script>
<script type="text/javascript">
function pageLoad() {
$('#TextBox1').datepicker();
}
</script>
Subscribe to:
Posts (Atom)