CARVIEW |
ASP.NET jQuery Cookbook
Formats:

save 15%!
save 44%!

Also available on: |
![]() ![]() ![]() ![]() |
- Tips and tricks for interfacing the jQuery library with ASP.NET controls
- Boost ASP.NET applications with the power of jQuery
- Use a problem-solution based approach with hands-on examples for ASP.NET developers
- Step-by-step guide with plenty of code snippets and screen images
- Simple, effective, and easy-to-follow recipes
Book Details
Language : EnglishPaperback : 308 pages [ 235mm x 191mm ]
Release Date : April 2011
ISBN : 1849690464
ISBN 13 : 9781849690461
Author(s) : Sonal Aneel Allana
Topics and Technologies : All Books, Cookbooks, jQuery, .NET
Table of Contents
PrefaceChapter 1: Working with ASP.NET Controls
Chapter 2: Validation of ASP.NET Controls
Chapter 3: Working with GridView Control
Chapter 4: Working with Image Control
Chapter 5: Animations in ASP.NET
Chapter 6: AJAX and ASP.NET (Part I)
Chapter 7: AJAX and ASP.NET (Part II)
Chapter 8: Client Templating in jQuery
Index
- Chapter 1: Working with ASP.NET Controls
- Introduction
- Creating default text for TextBoxes
- Auto focus on the first TextBox and tab on the Enter key
- Disallowing cut/copy/paste operations on a TextBox
- Highlighting text in a TextBox and copying to the clipboard
- Displaying selected items of a CheckBoxList
- Selecting/deselecting all items in CheckBoxList
- Getting selected text and value from DropDownList
- Appending items at runtime to a DropDownList
- Creating 'Back to Top' ASP.NET hyperlink
- Updating URL of ASP.NET hyperlink at runtime
- Chapter 2: Validation of ASP.NET Controls
- Introduction
- Getting started
- Validation of a sample user login form
- Validation of basic field types in a user profile form
- Character limit validation in Multiline ASP.NET TextBox
- Validation of date range in ASP.NET Form
- Validation of ASP.NET CheckBoxList
- Validation of ASP.NET RadioButtonList
- Validation of ASP.NET ListBox Control
- Validation of ASP.NET DropDownList Control
- Chapter 3: Working with GridView Control
- Introduction
- Highlighting rows/cells of a GridView on hover
- Removing GridView rows/cells on click
- Removing a GridView column on clicking the header
- Dragging and dropping GridView rows
- Changing cursor style for selective rows of a GridView
- Formatting a GridView and applying animation effect
- Retrieving the content of a GridView cell on click
- Chapter 4: Working with Image Control
- Introduction
- Adding/removing hyperlinks on images
- Displaying image captions
- Changing image opacity on mouseover
- Viewing enlarged images on mouseover on thumbnail
- Swapping images on a page
- Cropping images on a page
- Creating an image gallery viewer
- Zooming images on mouseover
- Chapter 5: Animations in ASP.NET
- Introduction
- Enlarging text on hover
- Creating a fade effect on hover
- Sliding elements on a page
- Preventing animation queue buildup
- Animating a panel
- Chaining animations together
- Hiding and displaying panels
- Creating disappearing effect
- Chapter 6: AJAX and ASP.NET (Part I)
- Introduction
- Setting up AJAX with ASP.NET using jQuery
- Using Firebug to view AJAX request/response
- Consuming page methods with AJAX
- Consuming web services with AJAX
- Populating ASP.NET DropDownList using AJAX
- Creating an auto complete search box
- Chapter 7: AJAX and ASP.NET (Part II)
- Introduction
- Displaying a progress indicator during AJAX calls
- Reading XML data with AJAX
- Catching and displaying AJAX errors
- Using AJAX to load scripts in web pages
- Cross site AJAX querying using jQuery
- Using complex data types with AJAX
- Chapter 8: Client Templating in jQuery
- Introduction
- Using jQuery Templates to display data
- Displaying arrays using nested templates
- Calling JavaScript functions and conditional statements in templates
- Creating an ASP.NET CheckBoxList in templates
- Using templates to format data returned from web services
- Using callback functions with jQuery templates
- Calling external templates using jQuery
Sonal Aneel Allana
Sample chapters
You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.
Code Downloads
Download the code and support files for this book.
Errata
- 1 submitted: last submission 28 Feb 2012Errata type: Technical | Errata date: July 21
There is an error in recipe 02 of Chapter 01. The given code is as follows: When we click enter on the last textbox it will show an error. Change the code as follows and create errordata:
Submit Errata
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
What you will learn from this book
- Learn to use jQuery's formidable power with ASP.NET controls
- Implement impressive animations using client script
- Explore interesting graphic applications using the Image control
- Interface jQuery with the GridView control
- Develop feature-rich and responsive AJAX-enabled ASP.NET applications
- Use Firebug to work with AJAX request / response dialogs
- Post AJAX requests to page methods, web services, and HTTP Handlers
- Use various jQuery plugins to enhance your web applications
- Build simple and effective applications using client templating
- Develop rich web content using client scripting
Special Offers

Annual subscription:
$220.00 per annum
Monthly subscription:
$21.99 per month
In Detail
jQuery is a powerful, lightweight JavaScript library that simplifies various web development tasks. With the integration of jQuery with Visual Studio 2010, it has become increasingly popular for ASP.NET developers to use jQuery's awesome power in their applications. Combining jQuery and ASP.NET creates applications that are anything but lightweight. Using this Cookbook you will become adept at using this library in your ASP.NET web applications.
This cookbook shares the most powerful, impressive, and just plain handy jQuery secrets for ASP.NET developers. From substitute server-side code to corresponding client script, it shows ASP.NET developers how to get the most from jQuery in a simple, effective, and easy manner.
The cookbook takes a pragmatic approach in applying the jQuery library to ASP.NET applications. It will help you to master the use of jQuery with ASP.NET by taking you step-by-step through hands-on, practical recipes. With its help, you can learn to manipulate various ASP.NET controls like TextBox, CheckBoxList, DropDownList, BulletedList, Hyperlink, Image, and GridView as well as custom user controls. The book teaches client validation techniques thus providing a substitute for the server-side Validation Control. It explores various graphic and animation effects that can be accomplished very easily with the library to give a better interactive experience to the end user. It explores AJAX in depth and describes the use of Firebug to view / troubleshoot the corresponding request / response dialog. You will also learn to develop rich content using client scripting.
A practical, hands-on guide for exploiting the power of jQuery in ASP.NET applications
Approach
Written in a cookbook style, this book offers solutions using a recipe-based approach. Each recipe contains step-by-step instructions followed by an analysis of what was done in each task and other useful information. The cookbook approach means you can dive into whatever recipes you want in no particular order.
Who this book is for
This book is for ASP.NET developers who want to learn ASP.NET and jQuery integration. The book assumes you have prior experience of developing web applications using ASP.NET, C#, Visual Studio, and jQuery. As this book targets readers of various experience levels, you will find useful recipes regardless of your skill level.
Alternative Books
Have a look at these alternative products. Remember that if you buy two eBooks, you get 50% off both.
-
- Learn how Dynamics NAV ERP suite is set up and customized for various industries
- Integrate numerous parts of a company's operations including financial reporting, sales, order management, inventory, and forecasting
- Develop complete applications and not just skeleton systems
- Covers the design and implementation of two new add-on services: The Squash application and the Storage & Logistics application
- Also usable for previous versions such as 3.x, 4.0, and 5.0
- Easy-to-read style, packed with hard-won practical advice
- Real-world examples with step-by-step explanations
-
- Technical foundations of the Documentum platform
- Over 200 practice questions and three practice tests
- Up-to-date information on version 6.5 SP2 including presets, aspects, new Webtop interface, lightweight types, Composer, and DFS
- Over 200 illustrations and many more examples from a real-life business scenario
-
- Easy-to-follow introduction to OGRE 3D
- Create exciting 3D applications using OGRE 3D
- Create your own scenes and monsters, play with the lights and shadows, and learn to use plugins
- Get challenged to be creative and make fun and addictive games on your own
- A hands-on do-it-yourself approach with over 100 examples
-
- Written in an accessible readable style, this practical book will help you to successfully master user authentication, authorization, and user management in Siebel CRM
- Set up the organization and position hierarchy as well as create user accounts in step-by-step examples
- Instructions valid for versions 8.0, 8.1, and 8.2
-
- Optimize time-consuming tasks efficiently using three Oracle database utilities
- Get to grips with user session management issues
- Boost database defences with Oracle Wallet Manager and Security
- A focused handbook with practical content and real-life scenarios
-
- The first book on the newly released Inkscape version 0.48, with an exclusive focus on web design
- Incorporate eye-catching designs, charts, and other visual elements to spice up your web pages
- Learn how to create your own Inkscape templates in addition to using the built-in ones
- Written in a simple illustrative manner, which will appeal to web designers and experienced Inkscape users alike
-
- Focusses on 3 key areas of development with Seam – testing, persistence and security
- Test your site to ensure efficiency
- Learn how to develop persistent applications
- Secure your web application with user authentication and OpenID.
-
- Covers the full spectrum of features offered by the NetBeans IDE
- Discover ready-to-implement solutions for developing desktop and web applications
- Learn how to deploy, debug, and test your software using NetBeans IDE
- Another title in Packt's Cookbook series giving clear, real-world solutions to common practical problems
-
New jQuery Book Released jQuery Tools UI Library will show you how to add useful functionality to your website, using the compact but powerful jQuery Tools library.Get inspiration for developing your own ideas with the book.
Learn More Download a free chapter - Quickly look up features of the jQuery library
- Step through each function, method, and selector expression in the jQuery library with an easy-to-follow approach
- Understand the anatomy of a jQuery script
- Write your own plug-ins using jQuery's powerful plug-in architecture
- Written by the creators of learningquery.com
- Check out the new Learning jQuery Third Edition here
-
- An introduction to jQuery that requires minimal programming experience
- Detailed solutions to specific client-side problems
- For web designers to create interactive elements for their designs
- For developers to create the best user interface for their web applications
- Packed with great examples, code, and clear explanations
- Revised and updated version of the first book to help you learn jQuery
![]() |
RSS Feed |
![]() |
Sign up to Packt's newsletter |
![]() |
Follow Packt at Twitter |
![]() |
Join our Facebook Group |
Customer service body text... insert content here.
Returns Centre body text... insert content here.
Packt Updates
To submit your images Click Here
Click here to view Packt's cookie policy. This explains the cookies on Packt's website, and why we use them. It also explains information on how to manage your cookies.
By closing this banner, you are consenting to our use of cookies on your device, unless you have disabled them in your browser.