Search

You searched for the word(s): userid:685744

Matching Posts

  • How To Find And Save A Video File From The Request.InputStream

    Hi, I hope that I am wording this correctly. I need to provide a progress indication during file uploading of a single video file. So the asp:FileUpload does not seem to be the choice. I cannot use the current AJAX ControlToolkit because we must use ASP.NET 2.0 My thought was to use the JQuery Form to upload the file. I think the only way I can get the data is by reading the Response.InputStream. How can I locate and extract the file from the InputStream. Thanks, Mark
    Posted to ASP.NET MVC (Forum) by geomar on 12/15/2009
  • How To Save Video File To Disk With ASHX

    Hi, I need to write a handler that saves an uploaded video file to disk. How do I extract the incoming uploaded file from the incoming stream. Thanks
    Posted to HttpHandlers and HttpModules (Forum) by geomar on 12/15/2009
  • Unable to Get jquery-1.3.2-vsdoc2.js Intellisense

    Hi, I am unable to get jquery-1.3.2-vsdoc2.js to provide intellisense. With jquery-1.3.2-vsdoc.js all I needed was to put that file in my scripts directory along with jquery-1.3.2.js and place the following reference in my standard script file. Any suggestions? /// <reference path="jquery-1.3.2.js" />
    Posted to Visual Studio 2008 (Forum) by geomar on 11/18/2009
  • Re: Unable to Get jquery-1.3.2-vsdoc2.js Intellisense

    Thanks for your responses. I ran the hotfix prior to downloading jquery-1.3.2-vsdoc2.js . All I needed to do was rename the file to jquery-1.3.2-vsdoc.js
    Posted to Visual Studio 2008 (Forum) by geomar on 11/18/2009
  • Tutorial For JavaScriptSerializer

    Hi, Could someone direct me to a good tutorial for using Microsoft's JavaScriptSerializer. I am using JQuery on the client so I am calling getJson from the client. I need to serialize objects to JSON on the server and return them to the client. I am not using wcf. Thanks, Mark
  • Info On Model Binder

    Hi, Can someone direct me to some good detailed information about Custom Model Binders. I see information all over the web, most of it pre-rc1. The pages assume the reader already knows the api of the DefaultModelBinder and the purpose of all the methods beyond the very general descriptions provided on MSDN. The books that I have read give only cursory coverage. Thanks, Mark
    Posted to ASP.NET MVC (Forum) by geomar on 10/3/2009
  • How To Locate Source Of Error When UpdateModel Fails Within OnActionExecuting

    Hi, I am getting the following error when I call UpdateModel from within a controller's OnActionExecuting event. The error message is not very helpful. How can I determine what is really causing the problem. Thanks, Mark Message "The model of type 'UI.Models.CustomerViewModel' was not successfully updated." StackTrace " at System.Web.Mvc.Controller.UpdateModel[TModel](TModel model, String prefix, String[] includeProperties, String[] excludeProperties, IDictionary`2 valueProvider
    Posted to ASP.NET MVC (Forum) by geomar on 10/2/2009
  • Re: DataAnnotations Using Resource File Ignores Custom Message On DataType.DateTime Attribute

    Thanks for the reply Brad. Wouldn't we get more reusable and generic code by being able to set ErrorMessages for the DataTypeAttribute as well. For example: String.Format("{0} has an invalid date", fieldName); Being able to set an generic date message would be very helpful. Resource files could also be incorporated. I managed to create something similar today using the CastleValidator. I prefer to use 3rd party software only when I have to. Does something similar already exist in DataAnnotations
    Posted to ASP.NET MVC (Forum) by geomar on 9/16/2009
  • Re: Localization in System.Data.ComponentModel.DataAnnotations

    Check out Pro ASP.NET MVC Framework By APress. 1) Create App_GlobalResources folder at the root of your application 2) Place resx file(s) in the App_GlobalResources folder. 3) Set BuildAction for each .resx file to EmbeddedResource 4) The .resx file generates a .cs file. Open the .cs file. You will see that each of the error messages is represented as a property within the .cs file. Change the scope of each property from internal to public. (If you place the .resx file(s) into a separate class library
    Posted to Localization (Forum) by geomar on 9/15/2009
  • DataAnnotations Using Resource File Ignores Custom Message On DataType.DateTime Attribute

    Hi, I am using DataAnnotations and resource files with ASP.NET MVC. I am able to sucessfully display a custom error message from the resource file for the RequiredAttribute and the RegularExpressionAttribute. But the DataTypeAttribute is ignoring the resource file's custom message and is using the following default message : "The value 'inputvalue' is not valid for the DOB field." Could someone explain what I'm doing wrong or is this a bug with the current implementation
    Posted to ASP.NET MVC (Forum) by geomar on 9/15/2009
Page 1 of 6 (58 items) 1 2 3 4 5 Next > ... Last »