Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 10, 2009 05:55 PM by CodeHobo
0 Points
25 Posts
Dec 10, 2009 08:27 AM|LINK
Hi
I am beginner for asp.net mvc.I need to connect Html helper with calendar control in mvc.
<%= Html.TextBox("name", null, new { @class = "textbox", value = "hi" }) %>
<cc1:CalendarExtender ID="CalendarExtender" runat="server" TargetControlID="name">
</cc1:CalendarExtender>
In this i want Html.Textbox with calender extender.
Pl help me in this.
Contributor
6730 Points
1142 Posts
Dec 10, 2009 08:51 AM|LINK
Try to use some jQuery date picker plugin, i.e. this.
All-Star
18647 Points
2647 Posts
Dec 10, 2009 05:55 PM|LINK
Another option is the new Microsoft Ajax Library, which has client side only controls.
http://www.asp.net/ajaxlibrary/HOW%20TO%20Use%20the%20Calendar%20Control.ashx
sendilbabu
0 Points
25 Posts
Connecting Htmlhelper with calendar control in mvc
Dec 10, 2009 08:27 AM|LINK
Hi
I am beginner for asp.net mvc.I need to connect Html helper with calendar control in mvc.
<div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"><%= Html.TextBox("name", null, new { @class = "textbox", value = "hi" }) %></div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"></div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"></div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"> <cc1:CalendarExtender ID="CalendarExtender" runat="server" TargetControlID="name"></div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"> </cc1:CalendarExtender></div><%= Html.TextBox("name", null, new { @class = "textbox", value = "hi" }) %>
<cc1:CalendarExtender ID="CalendarExtender" runat="server" TargetControlID="name">
</cc1:CalendarExtender>
In this i want Html.Textbox with calender extender.
Pl help me in this.
Augi
Contributor
6730 Points
1142 Posts
Re: Connecting Htmlhelper with calendar control in mvc
Dec 10, 2009 08:51 AM|LINK
Try to use some jQuery date picker plugin, i.e. this.
CodeHobo
All-Star
18647 Points
2647 Posts
Re: Connecting Htmlhelper with calendar control in mvc
Dec 10, 2009 05:55 PM|LINK
Another option is the new Microsoft Ajax Library, which has client side only controls.
http://www.asp.net/ajaxlibrary/HOW%20TO%20Use%20the%20Calendar%20Control.ashx
Blog | Twitter : @Hattan