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 8559345
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:01:14+00:00 2026-06-11T16:01:14+00:00

We have a custom made server control which several properties defined in it. <cc1:DropdownCheck

  • 0

We have a custom made server control which several properties defined in it.

<cc1:DropdownCheck ID="ddcStatus"  runat="server" CssClass="ddlchklst" JQueryURL="~/Scripts/jquery.js"
                    Title="Select Status(es)" OpenOnStart="false" divHeight="17px" 
                ImageURL="Images/DropDown.PNG" >
            </cc1:DropdownCheck>

How can I set the value of the Title property on a click event of the server control. My current jquery fn looks like this…

$("#ddcStatus").click(function () {
            //$('#ddcStatus').attr("Title",'Items Selected');
            //document.getElementById("ddcStatus").Title = 'Items Selected';
        });

Both statements didnt work. The getElementById statement gave a script error saying object null.

  • 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-11T16:01:15+00:00Added an answer on June 11, 2026 at 4:01 pm

    Problem is in your selector
    “#ddcStatus” is use to select element with id ddcStatus but it is not same at clint side.
    You Wil see it something like “abc_xzy_ddcStatus”

    ID get changed when page load at client side. so you have two option to solve it

    1. In browser go to source code by selecting view source or by inspect element and find
      new ID in source and use that ID in jQuery
      (I don’t recommend this way)

    2. use something called dynamic selector which server ID and convert to Client ID by self

    $(‘DropdownCheck[ID$=”ddcStatus”]’)

    you can read this as “select in DropdownCheck whose id ends with ddStatus”

    Your solution will not be same replace DropdownCheck with actual control used at client side
    some help for start with and end with style of jquery

    http://api.jquery.com/attribute-ends-with-selector/
    http://api.jquery.com/attribute-starts-with-selector/#attributevalue

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

Sidebar

Related Questions

I have implemented ntlmv2 for lync-server login in an custom made lync client.The message
Here's what I have: Custom-made C# CMS where the content is stored in a
I have a custom made UINavigationBar (different size, background etc) that has inside a
I have a custom-made view that extends the View class. I would like 2
So I have custom UITableViewCells (made with storyboard), and when I do not literally
How can I have a custom home made short URL that performs a 301
I have cells in UITableView , I have made custom frame for the label
I have a custom Checkbox its made in a Div <div class=zs name=toggle state=on
I have a custom listview and made overlapping very simple: in onDraw method, I
I have a custom module I made for Magento. From the admin, there is

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.