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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:33:20+00:00 2026-05-23T15:33:20+00:00

If I am using ajax control tool kit in my web application, let me

  • 0

If I am using ajax control tool kit in my web application, let me know how can I change the style of ajax rendered controls. For example, if I need to format buttons created for a NumericUpDown control, where should I write the jQuery for it. I wrote it in document.ready, but did not get the expected result.

So I think, even at the time of document.ready,the control is not rendered.

For example, I find the button created for up and down, changes it background color and font color (using a class ‘NumericUPDownButton’)

 <script type="text/javascript">
     $(document).ready(function() {
         $('input[id$=_bUp]').removeAttr('style');
         $('input[id$=_bUp]').addClass('NumericUPDownButton');

         $('input[id$=_bDown]').removeAttr('style');
         $('input[id$=_bDown]').addClass('NumericUPDownButton');             
     });
 </script>



 <style>
    .NumericUPDownButton
    {
        border-bottom: 0px outset;
        border-left: 0px outset; 
        line-height: 1em;
        width: 24px; 
        font-family: Webdings;
        height: 12px; 
        font-size: 9pt; 
        overflow: hidden;
        border-top: 0px outset;
        border-right: 0px outset;  
        background-color:#383838;     
        color:White; 
    }
     </style>

But It does not changes the style? Can you imagine “Why ?”

  • 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-05-23T15:33:20+00:00Added an answer on May 23, 2026 at 3:33 pm

    Try this Code

    <script type="text/javascript">
             $(document).ready(function() {
        var styleVar='border-bottom: 0px outset;
                border-left: 0px outset; 
                line-height: 1em;
                width: 24px; 
                font-family: Webdings;
                height: 12px; 
                font-size: 9pt; 
                overflow: hidden;
                border-top: 0px outset;
                border-right: 0px outset;  
                background-color:#383838;     
                color:White;';
                 $('input[id$=_bUp]').attr('style',styleVar);
    
                 $('input[id$=_bDown]').attr('style',styleVar);
    
             });
         </script>
    

    See http://hungred.com/useful-information/css-priority-order-tips-tricks/

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

Sidebar

Related Questions

Im trying to make a web chat using ajax control tool kit. There is
I am using Ajax control tool kit popup extender with Panel. While loading the
I am working with some controls that are written using microsoft ajax tool kit.
I am using Tab control of ajax tool kit and it is working fine
I have an ASP.NET page using the AJAX control toolkit for some controls. A
HI folks, I have a .net application (vb.net) and I'm using the ajax control
Here's the specs: ASP.NET 3.5 using ASP.NET AJAX AJAX Control Toolkit jQuery 1.3.2 web
I'm using the Ajax Control Toolkit Accordion Version 1.0.11119.0 and I need to know
i have a filter panel with 5-6 combo boxes ajax control tool kit.. i
I'm using ASP.NET 3.5 web forms, ASP.NET AJAX and ASP.NET AJAX Control Toolkit. I

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.