.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Up Down Jquery Control

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :ASP.Net

i want the jquery control which make this issue

dispay tow or three by three news and navigate up and down like this

could you give me the name of it?

thanks so much




View Complete Post

More Related Resource Links

find a Control inside a GridView using jQuery


I have databound GridView in my page and I have a hidden DIV in all rows. Each row contains a Button that I want it to make the DIV visible for me! how can I use that with jQuery?!

here is the code page: 

<asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" 
                                EnableModelValidation="True" GridLines="None" ShowHeader="False" Width="100%">

Jquery date picker in ASP.NET Web user control does not work


Hello, I have the most frustrating problem and being new to JQuery does make it more difficult. I have an ASP.NET web user control with an ASP.NET box which I want to apply a JQuery date picker to, then of course I have server side code which takes the date and processes it etc. The date picker will not work. I can achieve a working JQuery date picker with an ASP.NET textbox if there is no user control involved, or within the user control I use a html text box instead, but once I add runat="server" to the text box, it does not work. Is there a way I can achieve this? (the web user control will be wrapped in an update panel too which at the moment will work with the html control/web user control without the server side functionality)

<%@ Register TagPrefix="TE" TagName="JobHistory" Src="test.ascx"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">


    <script src="Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>

    <link h

how to get the text of selected checkbox from asp.net checkboxlist control using jquery


I have asp.net checkboxlist control that bounded to a data source so the number of items in the control are different from one to to another time.

I have this function:

     $('#<%=chkListGroups.ClientID %> input:checkbox:checked').siblings('label').text();

this function will return all texts for all selected items in the control as a one string.

 I'm looking for a way that when I check a check box from the ckeckboxlist control will return only last checked checkbox.

this code :

$('#<%=chkListGroups.ClientID %> input:checkbox:checked').last().siblings('label').text(); 

returns last checked item for example if I checked second will return
second item then when I checked fifth item will return fifth item but
if now when I check third item will return fifth item so it is always
returning last item checked in the list and I'm looking to

Please advice me how to do this using jquery.

using jquery tooltip with asp:Chart control


I'm trying to use qtip (jquery plugin) instead of the standard tooltip control provided for the asp:Chart. I think the best way to do this is with an img map, though I don't know how to implement it. Does anyone know how to implement the img map for an asp:Chart?

jQuery Rating Control in Repeater - Not Duplicating per Record

Hi Everyone,There is a similar instance of this @ http://forums.asp.net/p/1380776/2919093.aspx#2919093 However I haven't had a response, maybe due to the age of the topic, but the problem is different in the sense I am not using AJAX Rating Control, I am using radio buttons contained in a Div named Ratings, which is picked up by jQuery to style to radio buttons accordingly. The output is that it will put the stars on the first record but anything after just shows origional unstyled radio buttons. Just thinking off the top of my head, but does anything need to be put in the ItemDataBound event? The jQuery for the stars etc were attained from the link below:http://orkans-tmp.22web.net/star_rating/index.html#demos=&main-menu=0&demo-tabs=3 Here is my code:.ASPX:<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="Admin_Test" Title="Untitled Page" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> <asp:Content ID="Content1" ContentPlaceHolderID="CPCHeader" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="AdminCPC" Runat="Server"> <asp:R

Need urgent help using JQuery DatePicker inside asp.net user control

Hello,I am able to use the DatePicker inside an aspx page with no problem at all but when I try to use that inside a usercontrol it gives me an error "Object expected"I have the links to my Jquery css and script files from the master page and have the following code inside a usercontrol:<script type="text/javascript"><!--    $(document).ready(function() {    var txt1 = document.getElementById('<%= txtDate.ClientID %>');    $(txt1).datepicker({ dateFormat: 'dd/mm/yy', duration: ''   });    });          // --></script><asp:TextBox ID="txtDate" runat="server"></asp:TextBox>

How do grab the value from label control into jQuery?

I have the following jQuery code working as it is (passing the value of 'test") but what I want to do is to pass the value of the label control (lblNames). I'm using the label control to collect the uploaded file names. Is there a way?jQuery:$(document).ready(function () {        $("#btnUpload").click(function () {            $("#Notes", top.document).val('test');        });    });ASPX code:<asp:Label ID="lblNames" runat="server" visible="true" ></asp:Label>

Control.ClientID with ASP.NET and jQuery - Where am I going wrong?

 Hey everyone.  I've got some jQuery on in a User Control which takes the values from two hidden field and uses them against a jQuery UI Multi-handle Slider and two ASP.net Textboxes.  When I drop this User Control on a Content Page, my control names are renamed from 'txtStartTime' to 'MainContent_UserControl_txtStartTime'...  This is a problem because now I have all the controls hard-coded by ID... but if I want to use the jQuery in another User Control, I'll have to rename everything.  That sucks.This is why I want to learn how to use the Control.ClientID via jQuery to get a controlID.  For instance, how would I change this to use ClientID? $('#MainContent_ucAddEvent_txtStartTime').val(getTime($('#MainContent_ucAddEvent_hfStartTime').val())); $('#MainContent_ucAddEvent_txtEndTime').val(getTime($('#MainContent_ucAddEvent_hfEndTime').val())); //Function GetTime takes t (Ticks/Integer) and converts it to a 00:00:00 format. function getTime(t) { var t_h = Math.floor(t / 3600); var t_m = Math.floor(t / 60) - (t_h * 60); var t_s = t - (t_h * 3600) - (t_m * 60); var f_t = (t_h < 10 ? '0' + t_h : t_h) + ':' + (t_m < 10 ? '0' + t_m : t_m) + ':' + (t_s < 10 ? '0' + t_s : t_s);

How to embed jquery library in ASP.NET Custom Server Control

i created custom server control using jquery. i  embeded  jquery library in the control using following code. but it displays object expected error.  has someone done this before ?   //other code    protected override void RenderContents(HtmlTextWriter output) {    output.Write("<div id=\"bckPopup\"></div>"); }   protected void onInit(EventArgs e) { Page.ClientScript.RegisterClientScriptResource(GetType(), "HelpServerControl.Scripts.jquery-1.4.1.min.js");   string javascript = "<script type='text/javascript'> " +   "$(document).ready(function () { " +   "$('#bckPopup').text(\"loaded\"); " + "});</script>" ;   if (!(Page.ClientScript.IsClientScriptBlockRegistered("bhelp" ))) Page.ClientScript.RegisterStartupScript(this.GetType(), "bhelp" , javascript); base .OnInit(e);   }      

Jquery Append Asp control

 Hi, I have problem to append asp control into my table. error msg:  'Text' + index + '' is not a valid identifier.var index = 1; $('#table').last().append('<asp:TextBox ID="Text' + index + '" runat="server" CssClass="DDTextBox" />');

User Control with JQuery doesnot work inside update panel


Hi All,

I created a .NET user control to work as a DropdownCheckbox and added Jquery to give the sliding and hide effects. The code is as below:

 <script language="javascript" type="text/javascript">
        var showRegionWindow = function (ev) {
            var pos = $("#lnkChangeRegion").offset();
            var width = 230;
            var height = 55;
            //$("#changeRegionPanel").css({ "left": +((pos.left) - 215) + "px", "top": height + 16 + "px" });.
            document.getElementById("lnkChangeRegion").style.display = 'none';

        var hideRegionWindow = function (ev) {
            var textVal = "";

Request for discussion points Ajax Control Toolkit vs JQuery


There is some talk in our office about not using the Toolkit for future projects and replacing it with JQuery. Myself and one other have made extensive use of the Toolkit and are fine with it other than some problems with the latest version and ASP.NET 4.0 and some difficulty when debugging. 

Has anyone made an effort to seriously compare and contrast the two options and show how one might replace tab controls, modal popup extenders and others with JQuery?

I realize this is a forum for the Toolkit and am interested in answers from supporters.


Any Example Jquery user Control DJ v1.1.15


Any Example Jquery user Control  DJ v1.1.15

JQuery & dynamically instantiated User control



I have one problem which needs to be resolved immediately. I am using JQuery Datatable (http://www.datatables.net/).

This JQuery datatable is present in one of my webuser control named "LeftVerticalLayOut.ascx". I am dynamically instantiating Webusercontrol on click of a link button. This link button is bound with the trigger event of Update Panel control.

So clarifying once again : I have one UpdatePanel which I am triggering with Link button("lnkLoadControl") . On click on "lnkLoadControl" I am able to load Usercontrol("LeftVerticalLayOut.ascx") onto the updatepanel. Now the jquery datatable I am creating in load event of Usercontrol is getting generated.


After the datatable(having id as "example") is created, I am calling the below code in my

function loadHandler()

function BeginRequestHandler(sender, args)

function EndRequestHandler(sender, args)

create a data driven jquery accordion control



i have a very simple table in my database which holds information about students.

what i would like is to create a jquery accordion which will have a heading for each student and then when the user clicks on a students name, it will expand and display the students information from this table.

is this possible? please can someone show me examples of how i can do this?

i use linq to sql and its an asp.net form (aspx page) not mvc.

i am very new to this aso any help would be much apperiated along with examples.

the only thing i have so far is the following - my accordion is in a jquery dialog box also.

$(function() {

	$('#my div').dialog({

		modal: 'true',

		title: 'students',

		open: function() {





many thanks

Jquery scripts in user control works fine in explorer but not in Safari/Firefox



Hi everyone,

I've used some Jquery scripts for toggling image on a web user control, it work fine in explorer but got no signs of life in firefox!

Here the code for a test form in plain html (this works on every browser):

<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/toggle.js"></script>

<div id="invisible">
   <a href="images/accurate.gif" class="swap" rel="lightbox"><img src="images/polaroid_control.gif" id="showimage" /></a>
But i need to use it in a user control so i got:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="gallery_admin_search.ascx.cs" Inherits="CMS_GalleryControl" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

<div id="invisible">
    <img src="images/polar

JQuery to bind ASP:Repeater control


I need to bind a ASP:repeater control by Jquery method which would call a server behind method I've been able to call Server side method which return string but If i have to return a List what do i need to do.

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend