how to create an HTML Helper to Extend TextBoxFor() to add CSS style?
how to create an HTML Helper to Extend TextBoxFor() to add CSS style?
how to create an HTML Helper to Extend TextBoxFor() to add CSS style?
I just created a sample MVC3 application to learn validation. It is using DataAnnotations. I have created a custom ValidationAttribute named CustomStartLetterMatch. It is implementing “System.Web.Mvc.IClientValidatable”. I have corresponding client-side code written with unobtrusive jQuery. This is working as expected.
I have a layout page that has variables that need to be filled. Example:
I have created my custom authentication. Now I want to disable cache of broswer on log off button click. How should I do that? What should I include in log off action?
I am writing an Orchard theme, and I’d like to be able to locate some of the resources packaged with the theme (images/swfs etc).
I have an ASP.Net MVC3 site using RedirectToAction like so:
I’m trying to apply a Style to the Editor for an element, but I can’t make it work; what am I doing wrong?
i’m storing in HttpContext.Current.Session current user, SiteUser is single-tone class that presents current active siteuser, and when he logged i’m creating new SiteUser() in controller and in constructor adding him to the session:
I’m creating a new project, asp.net mvc3 with Razor, and wanting to turn the LogOn into an ajax request.
I am creating asp.net MVC Application using MVC 3.0. I have 2 users but the DataBase is the same. So, Is it possible to setup two connection strings or even more in web.config? when user login, I redirect it to his database, so then he can use his DataBase.