0

I have used a calenderextender and i am displaying the date in long format and the selected date will be displayed in a textbox. so i want to resize my textbox according to the selected date. So how can i resize my textbox?

code:

Mehul Vaghela
  • 478
  • 4
  • 20
  • please show us the relevant code. What have you tried so far? – Marco Sep 13 '13 at 13:51
  • You just need to calculate the text width in JavaScript and set it to the textbox when date is changed. Check this out: http://stackoverflow.com/questions/1582534/calculating-text-width-with-jquery – Ivan Sivak Sep 13 '13 at 15:28
  • i want to get the length of the selected date of calender extender and according to that length i want to change width of textbox. all using javascript.. – Mehul Vaghela Sep 16 '13 at 09:17

0 Answers0