Disabling Client-Side Validation on cancel button's click
< asp: Button id="CancelButton" runat="server" Text="Cancel" EnableClientScript="False" / >
Disabling Client-Side and Server-Side Validation on cancel button's click
< asp :Button id="CancelButton" runat="server" Text="Cancel" CausesValidation="False" / >
Wednesday, April 22, 2009
Saturday, April 11, 2009
Open Model Popup Window In JavaScript
function OpenModelPopupWindow(Path,Height,Width)
{
var ParmA = '';
var MyArgs = new Array(ParmA);
var w = screen.availWidth;
var h = screen.availHeight;
var Wdth = (w-Width);
var Hgt = (h-Height);
var WinSettings = "help:no;center:yes;resizable:no;dialogHeight:" + Hgt +"px;dialogWidth:" + Wdth + "px;status=no;"
window.showModalDialog(Path,MyArgs, WinSettings );
}
{
var ParmA = '';
var MyArgs = new Array(ParmA);
var w = screen.availWidth;
var h = screen.availHeight;
var Wdth = (w-Width);
var Hgt = (h-Height);
var WinSettings = "help:no;center:yes;resizable:no;dialogHeight:" + Hgt +"px;dialogWidth:" + Wdth + "px;status=no;"
window.showModalDialog(Path,MyArgs, WinSettings );
}
Friday, April 10, 2009
Magic table in sql server
When we are inserting or deleting any data from table in transaction a temporary table
(inserted , deleted) is created and will be deleted when we call commit tran or rollback tran, the
table is called magic table.
(inserted , deleted) is created and will be deleted when we call commit tran or rollback tran, the
table is called magic table.
Saturday, April 4, 2009
Get Property In Javascript
< script language=" javascript " type=" text/ javascript ">
var StudentName=' < % = StudentName % > ';
< / script>
var StudentName=' < % = StudentName % > ';
< / script>
Thursday, April 2, 2009
Subscribe to:
Posts (Atom)