Friday, November 19, 2010
ASP.NET Inline Server Tags summary
http://weblogs.asp.net/ahmedmoosa/archive/2010/10/06/embedded-code-and-inline-server-tags.aspx
Wednesday, September 15, 2010
How to deal with multiple version IE in asp.net development? Conditional_comment
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]-->
Such as: remove IE8 compatibility button
<!--[if gte IE 7]><meta http-equiv="X-UA-Compatible" content="IE=8"/> <![endif]-->
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)