Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I wish to set width of a RadNumericTextBox which is rendered as a input element on page using javascript.

I have successfully set the width but the telerik controls have build in javascript functions which reset the input element width on certain javascript events.

I cannot achieve this through backend as this controls are dynamically generated and the width is set for only some specfic controls.

is there anyway to maintain the width of textbox using javascript regardless of any events which may be fired and reset the width.

share|improve this question
1  
What you can try is to add your javascript method -which sets the width- as lastest as possible to the "certains" events. – reporter 16 hours ago

1 Answer

You should subscribe to the same events and change with of your Text Box after they changed it. It should be fast and your users will not see it.

share|improve this answer
its changed at almost all events.. is there any generic event that is fired in javascript on every event so that this can be updated? – Avi Adhikthikar 16 hours ago
You just fill list of every event separated by spaces – Siddanna Agrwal 15 hours ago

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.