Posts

Bind A DropDownList With Another DropDownList In ASP.NET Web Forms

Image
 <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="BindingDropDownList.WebForm1" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title></title>     <style type="text/css">         .auto-style1{             width:100%;         }         .auto-style2 {             width: 64px;         }     </style> </head> <body>     <form id="form1" runat="server">         <div>             <table cellpadding="4" cellspacing="4" class="auto-style1">                 <tr>                     <td class="auto-style2">Countr...

AJAX Method Of jQuery AJAX In ASP.NET Web Forms | Learn ASP.NET Web Forms

Image
 <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="ajax_method.WebForm1" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title></title>     <style>         #loader{             display:none;         }     </style> </head> <body>     <form id="form1" runat="server">         <div>             <input type="text" placeholder="Enter your name" id="uname"/>             <br/><br/>             <input type="text" placeholder="Enter your surname" id="surname"/>             <br/><br/>             <input type="button" value="Submit" ...

Load Method Of jQuery AJAX | jQuery AJAX In ASP.NET Web Forms | Learn ASP.NET

Image
 <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Load_Method.WebForm1" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title></title> </head> <body>     <form id="form1" runat="server">         <div>             <input type="button" id="btn" value="Click to Get Data"/>             <br/>             <div id="result"></div>         </div>     </form>     <script src="scripts\JQuery.js"></script>     <script>         $(document).ready(function () {             $("#btn").click(function () {                 //"load()" method is use...

Implement Remember Me Functionality In ASP.NET Web Forms | Learn ASP.NET

Image
 <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="RememberMeCheckBoxAsp.Login" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title></title>     <style type="text/css">         .auto-style1{             width:100%;         }         .auto-style2 {             width: 106px;         }     </style> </head> <body>     <form id="form1" runat="server">         <div>             <table cellpadding="4" cellspacing="4" class="auto-style1">                 <tr>                     <td class="auto-style2">USERNAME...