21/11/2013 by Nitesh

How to change default port of IIS Manager from 80 in Windows8.1

Friends, After installing IIS on any Windows machine, by default IIS Server listens on port 80. The same is true with Windows8.1. For most of the times, it works fine. However, in some cases we need to modify this port from 80 to a different port. One of the Scenarios where you might need to…

Continue Reading »

24/08/2012 by Nitesh

Simple Date validation using Regex in Javascript

Many of us find difficulties while validating the date field in JavaScript. This is a simple example where I will explain you the basics of validating a date field using JavaScript. So, follow the steps below and get date validated on your form in few minutes: In your JavaScript section of the HTML page, define…

Continue Reading »

22/08/2012 by Nitesh

How to add a piece of Javascript just before the end of Form Tag in ASP.Net

In ASP.Net, we often require to add some piece of Javascript from Code-behind that should get added towards the end of <form> tag and not in the header of the form. For this, we need to use RegisterStartupScript function. The syntax to use the function is as below: Page.RegisterStartupScript(this.GetType(),”key_for_script”, “alert(‘Hey! This gets alerted after the…

Continue Reading »

1 6 7 8