To display the content in the web browser status bar
<’''body id="samplepage" onload ="window.status='First Page'">
<''form id="Form1" method="post" runat="server">
<''/form>
<’''/body>
Hi all, in this blog you can find some useful links ,FAQ’s and articles, which are my favorites and hope that, would be very useful to all .if you have any suggestion and comments kindly feel free to post...
Tuesday, December 11, 2007
Disabling the right click in the webpage
" <" body id="”samplepage”" oncontextmenu="return false;">
<"/body>"
" <" body id="”samplepage”" oncontextmenu="return false;">
<"/body>"
Labels:
ASP.Net,
Java Scripts
Getting the client browser / system details through ASP.NET
HttpBrowserCapabilities bc=new HttpBrowserCapabilities();
bc=Request.Browser;
Response.Write(bc.Cookies.ToString());
Response.Write(bc.ActiveXControls.ToString());
Response.Write(bc.Platform.ToString());
Here HttpBrowserCapabilities is an class which is available in the system.web namespace ,first create an object and assign the client browser to it then we can get the details of the client browser with this the different property available
Response.Write( HttpContext.Current.Server.MachineName ) ;
This is used to get the client system name
HttpBrowserCapabilities bc=new HttpBrowserCapabilities();
bc=Request.Browser;
Response.Write(bc.Cookies.ToString());
Response.Write(bc.ActiveXControls.ToString());
Response.Write(bc.Platform.ToString());
Here HttpBrowserCapabilities is an class which is available in the system.web namespace ,first create an object and assign the client browser to it then we can get the details of the client browser with this the different property available
Response.Write( HttpContext.Current.Server.MachineName ) ;
This is used to get the client system name
Labels:
ASP.Net
Wednesday, December 05, 2007
Using shared variables in Crystal report
1. Create a formula in mainreport as @iammainformula with shared variable declared as Shared stringVar amtword := {?amntInWords};
2. Create a formula in subreport as @iamsubformaula with the shared variable with same name as we declared in the main report
Shared stringVar amtword ;
amtword;
now we can access the value from the main report in the sub report
1. Create a formula in mainreport as @iammainformula with shared variable declared as Shared stringVar amtword := {?amntInWords};
2. Create a formula in subreport as @iamsubformaula with the shared variable with same name as we declared in the main report
Shared stringVar amtword ;
amtword;
now we can access the value from the main report in the sub report
Labels:
Crystal Report FAQ's
Subscribe to:
Posts (Atom)