Category Archives: Asp, Asp.net

Compare Validator Example In Asp.Net

Compare Validator Example In Asp.Net In this post we will learn how to use a Compare Validator in Asp.net,Compare Validator Example In Asp.Net.Compare Validator can compare two values, for instance the values of two controls.With Compare Validator, Controltovalidate attribute to specify which control to validate.In addition to that, we specify a control to compare.The operator attribute

How To Show Image In Label

How To Show Image In Label In this post we will discuss How To Show Image In Label. Design View: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>How To Show Image In Label</title> <style type="text/css"> body { width:980px; margin:0px auto; text-align:center; font-family:Calibri; font-size:14px; } .cen { text-align:center; margin-left:350px } </style>

Asp.Net Switch, Case, Break, Default Statement Example

Asp.Net Switch, Case, Break, Default Statement Example In this post we will discuss Asp.Net Switch, Case, Break, Default Statement Example.Here we are using a RadioButtoList, on SelectedIndexChanged we are performing Switch, Case, Break, Default. Design: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Asp.Net Switch, Case, Break, Default Statement Example</title> <style type="text/css">

Image Resize In Asp.Net

Image Resize In Asp.Net In this post we will learn how to resize a image while uploading in asp.net or Image Resize In Asp.Net.We are not using any other kind of functionality here, we are simply using asp.net features.We are at first detect file size and then change it’s size(resize). Design: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"

jQuery Validate Registration Form

jQuery Validate Registration Form In this post we will learn how to validate registration form through jQuery or jQuery Validate Registration Form. Design: <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1"> <title>jQuery Registration Form Validation</title> <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script> <script language="javascript" type="text/javascript"> $(function() { $(‘#validate’).click(function() { var msg = ""; msg+= isvalidusr(); msg+= isvalidFname(); msg+= isvalidLoc(); if (msg != "") {