Friday, August 26, 2011

Jquery Effects for own Checked DropDownList Item in Asp.net

Hi Friends...
Today i am going to explain the topic "Create checked dropdownlist using JQuery".

Why this is becuase, Microsoft Visual Studio provides the standard tools like "DropDownList","CheckBoxList","RadioButtonList",....etc.,

Suppose let we assume that we have a need , DropDownList contains the checkbox items. For that purpose i have created this.

JQuery:

>> jQuery is a cross-browser JavaScript library designed to simplify the client-side scripting of HTML.
>> jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development
>> jQuery is designed to change the way that you write JavaScript.

Onething you should remember that, if you use jQuery related coding in your web page then you must add jQuery.js file must be included in that page.
I use "jquery- 1.6.2.js" file.
which is available in the following link
http://code.jquery.com/jquery-1.6.2.js
you just copy and paste the code in the text document(Notepad) and save as with the extension .js

For example: jquery- 1.6.2.js

After that create a Web Form named as "CheckedDropDown.aspx".
Copy and paste the following code in your .aspx page.

Implementation:

In the Head Section


<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CheckedDropDown.aspx.cs" Inherits="JQuery_Practice_CheckedDropDown" %>





    Untitled Page
    
    
        


In the Body Section
    
Select Options
That's It...Your Checked DropDownList is ready. 
Use it and have the fun. 
Thanks  
BhaskarReddy

Labels: , , , ,

3 Comments:

At August 26, 2011 at 7:08 PM , Anonymous Anonymous said...

Good Tip...Nice

 
At August 27, 2011 at 12:58 PM , Anonymous Anonymous said...

Gr8 job...Pls posts related to Jquery

 
At January 31, 2012 at 7:15 PM , Anonymous Anonymous said...

Thanks for sharing...

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home