Most of us are always confused with Label and Literal controls while working with them. Following is the main difference between them:
Label control always render text in span tag and thus styles can be applied to it.
But,
Literal control always render simple text...
To add Text or Option to html select (dropdown) through javascript:
var select = document.getElementById("example-select");
select.options[select.options.length] = new Option('Text 1', 'Value1');
To reset the html select:
var select = document.getElementById("example-select");
select.options.length...
Hi Friends,
Today I got struck into a problem and wasted my 1 hour for creating stored procedure for Filtered Search. Search results which are to be fetched from database are based on different parameters sent through dropdowns. Problem arises where any dropdown...
Hi Friends,
Sometimes we need to restore Sql Server 2008 database to 2005 but mostly backups are incompatible. To accomplish this task SQL Server 2008′s Generate SQL Server Scripts Wizard is very helpful.
Following are the steps to generate the script which...
Hi Friends,
Sometimes we need to redesign the existing websites. This may be due to following of latest website trends or client’s requirement. Main issue which creates problem is conflicting of old css classes with new css classes.
Following steps make redesigning...
Hi Friends,
Let’s learn how to set your web application run on specific port on local host. Following are the steps which are to be followed:
Right click on your Project in solution explorer.
Click on Properties.
Select WEB
Select the radio button for Specific...
Hi friends,
Let’s learn how to login your Asp.Net website using Facebook login button. Following are the steps to achieve this:
Firstly create a Facebook application by visiting http://developers.facebook.com/setup/ Following window will be displayed
After...
Welcome to this website. It was unknown to me that by the end of day I will be having a new website WithAsp.Net today. All happened in few minutes Hope it will help all of us in learning new concepts and coding practices.