Hi
I have an ASP.NET Page on which the user need to select the TimeSlot like 10:00 AM PST, 10:15 AM PST.... etc at a constant interval of 15 Min (Flexible).
Using the JQuery datepicker, we can only select the date.
I am wondering if there is any readily JQuery plugin available for Timeslots as well?
Appreciate your responses.
...
Hi
I am wondering if we can have block any specific dates from Jquery UI DatePicker?
For Example, if we want to block all dates till tomorrow, we specify as below.
$("#UsageDate").datepicker({ minDate: +1 });
Similarly, I want to block Weekends and few official days from my Holidays Schedule(For example, May 31, Nov 27th and Dec 25...
Hey there everyone,
I'm getting a stack overflow error when I try to call a partial view from the master.
The Partial View:
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<form action="/members/TestLoginProcess/" method="post">
U: <input type="text" name="mUsername" /><br />
P: <input type="password" name="mHa...
I'm using the automatic build versioning mentioned in this question (not the selected answer but the answer that uses the [assembly: AssemblyVersion("1.0.*")] technique). I'm doing this in the footer of my Site.Master file in MVC 2. My code for doing this is as follows:
<div id="footer">
<a href="emailto:[email protected]">webmaster...
When I set the file value to 'logs\log-file.txt' where exactly will it create this folder? in the /bin directory?
My web.config looks like:
<log4net>
<appender name="FileAppender" type="log4net.Appender.FileAppender">
<file value="logs\log-file.txt" />
<appendToFile value="true" />
<lockingModel type="log4net.App...
I'm trying to get client validation working on my asp.net mvc 2 web application (Visual Studio 2010). The client side validation IS working. However the validation summary is not.
I'm including the following scripts
<script type="text/javascript" src="../../content/scripts/jquery-1.4.1.js"></script>
<script type="text/javascript" src="...
In VS2010 and ASP.NET MVC 2, it seems that client-side validation (JQuery Futures or the stock option) doesn't quite work as advertised.
I'm noticing that "tabbing off" a validated element will not invoke the client-side validation as promised. For a required field, you have to tab into the element, enter something, then remove it comp...
I have a portion of my site that has a lightweight xml/json REST API. Most of my site is behind forms auth but only some of my API actions require authentication.
I have a custom AuthorizeAttribute for my API that I use to check for certain permissions and when it fails it results in a 401. All is good, except since I'm using forms au...
How create View page which is composed of three partial view pages? I am using ASP.NET MVC
//
// GET: /Partial/
public ActionResult View1()
{
var upit = from i in proba.name
select i;
return PartialView("upit",proba.name);
}
<asp:Content ID="Content2" ContentPlaceHolderID="MainCon...
Hi i'm looking for a asp.net mvc callback for elaborate data before save a model.
In rails there is before_save.
Thanks
...
Hi, I m very much new in the asp.net MVC architecture. Well i m trying to load a page with Login link on the top right. On click i want jquery Block UI to display my username and password textbox and button to login and when user sign in , i wan top div to refresh without whole page postback instead of saying "login | Register" it should...
I have built my first MVC solution and used the repository pattern for retrieving/inserting/updating my database.
I am now in the process of refactoring and I've noticed that a lot of (in fact all) the methods within my repository are hitting the database everytime. This seems overkill and what I'd ideally like is to do is 'cache' the m...
I am logging errors in my controllers method:
protected override void OnException(ExceptionContext filterContext)
But if I make a type in my view page, or enter a route that doesn't exist, it doesn't seem to log that erorr?
...
I have some problems with ASP.NET MVC’s default model binder. The View contains HTML like this:
<input name="SubDTO[0].Id" value="1" type="checkbox">
<input name="SubDTO[1].Id" value="2" type="checkbox">
This is my simplified ‘model’:
public class SubDTO
{
public virtual string Id { get; set; }
}
public class DTO
{
public Li...
pretty much all the tutorials I found on authenticating users using Facebook, make use of a new window which I find to be an ugly solution. But www.zoho.com on the other hand does this much like the way that OpenID works. Can someone tell give detailed instructions on how Zoho does this?
...
The following ActionLink:
<%= Html.ActionLink("Home £", "Index")%>
Generates the markup:
<a href="/">Home £</a>
Which looks like this:
Home £
I take it that this is a bug?
...
I have some problem with Html.ValidationSummary. I don't want to display property errors in ValidationSummary. And when I set Html.ValidationSummary(true) it does not display error messages from ModelState. When there is some Exception in controller action on string
MembersManager.RegisterMember(member);
catch section adds an error to...
Hello,
This is what I want: Let's say I have a textbox and a button on a page. when I click the button, I get a page in a new browser window where I can make some choices. when I click OK on that new window, it disappears and my choice appears in the textbox located in the first window.
How do I do that in ASP.NET MVC?
I know that w...
Hi,
I am developing a web app. My users want to be able to design their own reports. Is there a way I can embed a simple Report Designer in my app? If so, which Report Designer app should I use?
The Report Designer should be an existing app. I don't want to create a Report Designer from scratch. More details: My app is an ASP.NET MVC a...
I have two tables: Users and UserOwners. Table UserOwners contains list of users that certain user created (list of child-users) - or to be more precise, it contains UserOwnerID and UserID fields.
So, now I want to create a new user... in Controller I have something like this:
var userOwner = accountRepository.GetUser(User.Identity.Nam...