ajax control toolkit by javascript RRS feed

  • Question

  • User-822580980 posted

    how to apply style for ajax control toolkit childnodes? for ex: creating ajax combobox in asp.net and apply javascript to change their style but it could not change it will apply only for respected div give some solution to change style for childnodes by using javascript

    Thursday, January 14, 2016 6:05 AM


  • User61956409 posted

    Hi DineshJayachandran,

    You could use the F12 developer tools to view the html source of ASP.NET AJAX Control Toolkit control in browser, then you could specify custom CSS style for elements you want. And you could use !important declaration to prevent from being overrode by other CSS files.

    color:red !important;

    Besides, you could use add the specified class(es) to element by using jQuery .addClass() method.


    Best Regards,

    Fei Han

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, January 15, 2016 5:33 AM