Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Reply
Calender Controller for MVC Views
Sasi Reddy
10 years ago
890
Reply
namespace DBLayer.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
public partial class CustomerBasicDetail
{
[Required]
public string DOB { get; set; }
}
}
MVC View
@using (Html.BeginForm()) {
@Html.AntiForgeryToken()
@Html.ValidationSummary(true)
<table class="csstable1" align="center">
<tr >
<td align="right">
@Html.LabelFor(model => model.DOB)
</td>
<td >
@Html.EditorFor(model => model.DOB, new { id="Dob"})
@Html.ValidationMessageFor(model => model.DOB)
</td>
</tr>
<tr >
<td align="right">
</td>
<td ><input type="submit" value="Create" />
</td>
</tr>
</table>
I have a model and View like above.I need to add calender controller for that view.Can anyone tell me how to that?.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
how to retrive emails from outlook in asp.net c#?
Alert Message Display's Some Unwanted Symbol(Empty Space)