This is a migrated thread and some comments may be shown as answers.

[Solved] Date Control adjusting width with calendar icon

0 Answers 68 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
bbeatty
Top achievements
Rank 1
bbeatty asked on 01 Mar 2012, 11:55 PM
I'm trying to adjust the width of the textbox of the DateTime control because I want to display the month Name instead of numbers.
To avoid confusion between international dates using 
@(Html.Telerik().DatePicker()
        .Name(ViewData.TemplateInfo.GetFullHtmlFieldName(string.Empty))
        .HtmlAttributes(new { id = ViewData.TemplateInfo.GetFullHtmlFieldName(string.Empty) + "_wrapper" })
        .Value(Model ==null ? null : Model > DateTime.MinValue ? Model : DateTime.Today)
        .Format("MMMM dd, yyyy")
)


I've figured out how to change the size of the text box. but the problem is that it is now under the calendar icon to open the calendar.
How do I get the icon to be to the right of the textbox it's assigned to?

Thanks,
B
Tags
Calendar
Asked by
bbeatty
Top achievements
Rank 1
Share this question
or