How to make index.php as default pages in Apache Server?
Step 1:
Go to C:\Program Files\Apache Group\Apache2\conf
Setp 2:
Open the 'httpd.conf' file.
Step 3:
Find the 'DirectoryIndex' in that file.
Step 4:
Add (or) replace the following lineDirectoryIndex index.php index.htm...
-
This is Slide 1 Title
This is slide 1 description. Go to Edit HTML and replace these sentences with your own words. This is a Blogger template by Lasantha - PremiumBloggerTemplates.com...
-
This is Slide 2 Title
This is slide 2 description. Go to Edit HTML and replace these sentences with your own words. This is a Blogger template by Lasantha - PremiumBloggerTemplates.com...
-
This is Slide 3 Title
This is slide 3 description. Go to Edit HTML and replace these sentences with your own words. This is a Blogger template by Lasantha - PremiumBloggerTemplates.com...
Wednesday, 12 February 2014
Monday, 10 February 2014
How to refresh web page every 30 seconds?
How to refresh web page every 30 seconds?
If you want to refresh a page every 30 seconds, use the following code in html page.
<head> <meta http-equiv="refresh" content="30">
</head> ...
Global.asax file not firing when uploading the files in online server using asp.net?
Global.asax file not firing when uploading the files in online server using asp.net?
To add the following lines in your web.config file to solve the issue.
<system.webServer> <modules runAllManagedModulesForAllRequests="true" /></system.webServer>...
Sunday, 9 February 2014
Change Case: Convert to Proper Case in ASP.NET using VB.Net
This example explain the understanding of convert to Proper Case in ASP.NET using VB.Net
Example:
Dim strText As String = "welcome to allwin smart"Dim strPropCaseText As String = String.EmptystrPropCaseText = StrConv(strText, VbStrConv.ProperCase)txtOutput.Text = strPropCaseText.ToString
Output:
Welcome To Allwin Smar...
Wednesday, 5 February 2014
How to focus and select all a text box using javascript?
How to focus and select all a text box using javascript?
<script type="text/javascript"> function jsFocus(ctrlId) { document.getElementById(ctrlId).focus(); document.getElementById(ctrlId).select(); }</script>...
How to get confirm message when delete a record using javascript?
How to get confirm message when delete a record using javascript?
<script type="text/javascript"> function deleteConfirm() { return confirm('Are you sure to delete this Record?'); } </script>...
How to disable back button in browser usign javascript?
How to disable back button in browser usign javascript?
<script type="text/javascript"> window.history.go(1);</script>...
Convert lowercase to uppercase using javascript?
Convert lowercase to uppercase using javascript?
<script type="text/javascript"> function upperCase(ctrlId) { var x = ctrlId; x.value = x.value.toUpperCase(); }</script>...
Allow numeric only in text box using javascript?
Allow numeric only in text box using javascript?
In Script File:
<script type="text/javascript"> function allowNumericOnly(evt) { var charCode = (evt.which) ? evt.which : event.keyCode; if (charCode != 46 && charCode > 31 ...
How to insert HTML content in XML document?
How to insert HTML content in XML document?
Using CDATA tags you can enter HTML content in XML document.
Syntax:
<![CDATA[
<!-- html coding --->
]]>
Example:
<details> <pages> ...
Saturday, 1 February 2014
How to set TextBox as readonly in AJAX Calendar Extender?
How to set TextBox as readonly in AJAX Calendar Extender?
Read only controls are not posted back to the server. In postback you will lose the value in a read only control. So, you can set the ReadOnly=False on your TextBox to use the following code.
C#.Net
protected void Page_Load(object sender, EventArgs e){ txtFromDate.Attributes.Add("readonly", "readonly");}
VB.Net
Protected...