Categories
Asp, Asp.net

How To Create New Asp.Net MVC 5 Site From Empty Template

How To Create New Asp.Net MVC 5 Site From Empty Template In this tutorial we will learn How To Create New Asp.Net MVC 5 Site From Empty Template. We will start to create a new asp.net MVC 5 site from scratch with empty template. Here we are using Visual Studio 2013 so some controls differ in […]

Categories
Asp, Asp.net

How To Check Website URL Exists Or Not Using C#

How To Check Website URL Exists Or Not Using C# In this tutorial we will explain How To Check Website URL Exists Or Not Using C#.Sometime during registration we require website URL or web address, to check that URL or web address is correct this tip is very useful. Code: using System.Net; protected void btnwebStatus_Click(object sender, […]

Categories
Asp, Asp.net

What is the Difference Between RegisterStartupScript() Method and RegisterClientScriptBlock() Method?

What is the Difference Between RegisterStartupScript() Method and RegisterClientScriptBlock() Method? Both, RegisterStartupScript() method and RegisterClientScriptBlock() method will inject Javascript code that will fire during start up of subsequent postback. The RegisterClientScriptBlock method inserts the client-side script immediately below the opening tag of the Page object’s element. The code cannot access any of the form’s elements […]

Categories
Asp, Asp.net

Check Username Availability Using Ajax In Asp.Net

Check Username Availability Using Ajax In Asp.Net In this post we will learn how to Check Username Availability Using Ajax In Asp.Net.Here we are using Asp.Net Ajax functionality to accomplish this.On TextChanged event of textbox we are checking in Database for the same username existence. Design: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <%@ Register Assembly="AjaxControlToolkit" […]