Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Agent and App Development Solutions
Build. Accelerate. Govern.
AI-Ready Application Experiences
AI-Assisted SDLC
Agent Governance and Control
Telerik
Build modern .NET business apps
.Net Web
Desktop
Reporting and Documents
Cross-Platform
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
CMS
Debugging
UI Tools
Free Tools
Support and Learning
Productivity and Design Tools
how to change RadTextbox(Telerik textbox) and RadDatePicker(Telerik DatePicker) background color using jquery or Javascript? Thanks, Jayesh Varu
<
telerik:RadDatePicker
ID
=
"RadDatePicker1"
runat
"server"
>
DateInput
ClientEvents-OnLoad
"changebk"
</
telerik:RadTextBox
"RadTextBox1"
"Load"
<script type=
"text/javascript"
function
changebk(sender, args)
{
sender.get_styles().EnabledStyle[0] +=
"background-color: red;"
;
sender.updateCssClass();
}
Load(sender)
</script>
Suppose one html input press then I want to change Background. Thanks Jayesh Varu
asp:Button
"Button"
OnClientClick
"click1();return false;"
Text
"click"
/>
click1()
var
picker = $find(
"<%= RadDatePicker1.ClientID %>"
);
textbox = $find(
"<%= RadTextBox1.ClientID %>"
textbox.get_styles().EnabledStyle[0] +=
textbox.updateCssClass();
picker.get_dateInput()._textBoxElement.style.backgroundColor =
"yellow"