
In web application we need to get dropdown value at client side. We will see the example of how to get dropdown value in jQuery.
Code to get dropdown value in jQuery
<html xmlns="http://www.w3.org/1999/xhtml">
<head...
potentially dangerous Request error
By
Avinash
In asp.net C# sometimes we get potentially dangerous Request error. potentially dangerous Request error comes when we try to pass special character's like <,>,:...etc. In order to solve the potentially dangerous Request error we need to set validateRequest="false" in page directive for perticular page like:
<%@ Page Language="C#" AutoEventWireup="true"...
Assign value using jQuery
In asp.net applications we need to assign value in javascript or jQuery to the controls like label or hiddenfield. We will see sample code that assigns value to lable and hidden field using jQuery.
<html xmlns="http://www.w3.org/1999/xhtml">
<head...
jQuery validate form empty fields
In Web forms we need to validate fields on the form to check field should not be empty. For example for login form we need to validate textboxes for username and password to check textbox not empty.
Example to validate textbox not empty using jQuery<html...
Get RadioButtonList value in jQuery
In asp.net while using radiobuttonlist we need to find selected radio buttons value in jQuery. We see example how to get value of selected radio button in jQuery.
Example to get radio button value in jQuery<html xmlns="http://www.w3.org/1999/xhtml">
<head...
Search
Popular Posts
-
when using a JQuery dialog, in some cases we neeed to check if dialog is open or not. In below example we will see how do to detect if a JQu...
-
C# aka. "C sharp" is a programming language runs on the .NET Framework and used for building a variety of applications. C# is typ...
-
In this post we will learn how to embed the resources like javascript file, images, .css files in class libraries. When creating custom con...
-
In some cases we need to set dropdown list items exact text by matching the value entered in textbox. For that purpose we can use .keyup eve...
-
In c# while dealing with email we need to validate email address. In order to validate email address we just check whether the email address...
-
jQuery templates is a useful plugin developed by Microsofts's ASP.NET team in collaboration with jquery open source team. Templates help...
-
In this post we will se how to convert array to list. We need to convert array object to generic list many times in C# programming. Converti...
-
Dynamic type is introduced C# 4.0. As its name specifies type of the defined variable is decided dynamically at runtime. At compile time the...
-
C# 4.0 introduced new class Lazy which provided for Lazy initialization. Lazy instantiation here means object is not created until it is ge...
-
Tuple is a new class introduced in C# 4.0. Tuple basically provides way to group the items of different data types. A static Tuple class pro...
Recent Posts
Categories
-
asp.net
-
asp.net checkbox
-
asp.net checkboxlist
-
asp.net gridview
-
blogger tricks
-
blogspot tricks
-
C#
-
C# array
-
C# DateTime
-
C# list
-
C# Strings
-
csharp
-
DateTime CSharp
-
Interview
-
Interview questions
-
Javascript
-
jQuery
-
jQuery Ajax
-
jQuery Checkbox
-
jQuery click
-
jQuery dialog
-
jQuery dropdown
-
jQuery mouse events
-
jQuery radio button
-
jQuery validations
-
json
-
Linq
-
validate email
-
wcf