Friday, June 26, 2009

Deployment of Asp.net web application without source code

In order to precompile your web application you need to use a Visual Studio command prompt .
and then use this .......
aspnet_compiler -p {Path of website to compile} -v / {Path of website after compilation}
e.g -
aspnet_compiler -p C:\Website -v / C:\PrecompiledWebsite

Wednesday, June 3, 2009

Confirm message box in asp.net

// Call this method on button in html source.

onclientclick="return confirm('You sure you want to delete the record?');"