Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7715297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:21:00+00:00 2026-06-01T02:21:00+00:00

I am attempting to use a jquery drowndown checklist control. Following some simple examples,

  • 0

I am attempting to use a jquery drowndown checklist control.

Following some simple examples, I was able to get the control working properly in a stand alone aspx page (the control renders, and works as it should), but I cant get it to work in a master/content page (the control is not rendering.. instead the select element, stays as a regular select element).

Here is the code (i tried to paste it here, but couldnt get it to format properly):

http://droidso.blogspot.com/2012/03/dropdownchecklist-code.html

what am i doing wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T02:21:01+00:00Added an answer on June 1, 2026 at 2:21 am

    It turns out that when you use Master pages in asp.net, asp.Net will replace the IDs of your controls to ensure that the html thats rendered has all id’s which are unique (where as the master page and content page can have controls with the same id). The problem with that is that jQuery cant find the control based on id because the id has changed. As a workaround to this I decided to select by class name.

    e.g.
    Instead of
    $("#s1").dropdownchecklist();

    instead use
    $(".s1class").dropdownchecklist();

    where “s1class” is the name of the css class on the select control.

    An alternative which also works is what tvanfosson suggested in the comments above (using jQuery matches selector to find id’s which “end with” the string you specify). The problem with that is having to ensure the id endings are unique (which I find harder then simply uniquely naming the controls css classes).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm attempting to use JQuery autocomplete and need to get the id of the
I am attempting to use coffeescript/jQuery to do the following: 1) Retrieve all the
I am attempting to use the jQuery Frame Animation plugin and cannot get it
I am attempting to use a Jquery menu, that makes use of the 'easeOutBounce'
I'm attempting to use the jQuery jFeed plugin for parsing an Atom, GeoRSS feed
I am attempting to use livequery. I unfortunately am stuck using jquery 1.2.6. This
I'm attempting to use jQuery to do a $.post() to an MVC controller action.
I'm attempting to use 'jQuery Validate' on a form that requires an email address
I am attempting to use Greasemonkey and jQuery 1.4.2. When I install the Greasemonkey
I am attempting to use the jCorner plugin for jQuery, but falling down at

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.