Browse by Tags

Related Posts

  • Ignore validation to navigate to another page

    Hi, I'm having a problem in a validation page. I inserted many requiredFieldValidators in webforms and they work fine, even when I submit them or when I cancel in the respective buttons. However, when I try to navigate to other page all the error messages on the required fields appear and they don't...
    Posted to Web Forms (Forum) by csgpinto on 06-16-2009, 12:00 AM
    Filed under: validation
  • ModalPopUpExtender with checkbox validation

    I have an AJAX Application that I have been working on. At this point in the development - I have a modalpopupextender with a warning message and an OK and Cancel button. I have just been tasked with changing this to be three checkboxes and having the OK button disabled until all three boxes have been...
    Posted to ASP.NET AJAX Control Toolkit (Forum) by swolff1978 on 06-11-2009, 12:00 AM
    Filed under: ModalPopupExtender, checkbox, validation
  • commandname="insert" not working

    i have two formview controls in form. one is hidden and is displayed upon the click of a linkbutton. this works quite fine. but the problem i am now facing is that i cannot get my insert button to insert into the database after validating the data. validation is with javascript and it works alright but...
    Posted to Getting Started (Forum) by lyrix on 06-04-2009, 12:00 AM
    Filed under: comandname="insert", form view control, insert source code, javascript, validation
  • How to localize/customize autogenerated validation error messages?

    How can I localize or customize autogenerated validation error messages in DynamicData without setting validation attributes for every column (and possible error) in MetaData? So, insted of " The field <FieldNameHere> must be a valid Integer." , I would like to see "Kérem csak számot...
    Posted to ASP.NET Dynamic Data (Forum) by FTeR on 05-20-2009, 12:00 AM
    Filed under: autogenerated, customize, dynamicicdata, error messages, localize, Validation
  • how to pass ModelState to service layer using DI

    Hi, I tried to follow the guidance (http://www.asp.net/learn/mvc/tutorial-38-cs.aspx) by implementing validation at the service layer. I made a variation by using StructureMap to do DI. I cannot figure out how to pass ModelState to the service layer. In the controller's ctor I have IProductService...
    Posted to ASP.NET MVC (Forum) by macfei on 04-29-2009, 12:00 AM
    Filed under: validation
  • dangerous text goodizer ^^

    For example user inputing next text in my textbox: <script>IAmDangerFunc()</script> After submitting form he will se error that A potentially dangerous Request.Form value was detected from the client I dont want to turn off input validation. Do you have any controls, ideas, extenders what...
    Posted to Client Side Web Development (Forum) by Kvazis on 04-25-2009, 12:00 AM
    Filed under: ASP.NET, Webforms, validation
  • ReorderList Server-side validation and viewstate problem

    Hi I get a 'Failed to load viewstate' when using validations controls inside an EditItemTemplate of a ReorderList: <EditItemTemplate> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:RequiredFieldValidator EnableClientScript="false"...
    Posted to ASP.NET AJAX Control Toolkit (Forum) by j055 on 04-21-2009, 12:00 AM
    Filed under: ReorderList, Validation
  • Validation with Entity Framework

    Hi i'm building an ASP.NET MVC sites using entity framework for my models I have a repository layer, and a service layer... I have two questions : How can i retrieve the max length of my varchar field and apply it to the text field in my view How should i implement my validation, in my service layer...
    Posted to ASP.NET MVC (Forum) by mmercure on 04-14-2009, 12:00 AM
    Filed under: aspnetmvc, Entity Framework, validation
  • Dependency Injection and ModelStateWrapper

    Hi, in tutorial Validating with a service layer constructor for Product Service looks like this: ProductService(IValidationDictionary validationDictionary, IProductRepository repository) and its instance in default controller constructor is created like this: public ProductController() { _service = new...
    Posted to ASP.NET MVC (Forum) by viliks on 04-07-2009, 12:00 AM
    Filed under: dependency injection, validation
  • Re: required field validation on web form

    Hi All ASP.Net buttons have a property called "CausesValidation". This defaults to true, but if you set it to false on a button then that button will skip validation. This is also useful, for example, if a screen has menus that allow you to leave a validated form. Take a look at this example...
    Posted to Web Forms (Forum) by JohnThompson on 03-29-2009, 12:00 AM
    Filed under: ASP.NET, button, validation
Page 1 of 29 (284 items) 1 2 3 4 5 Next > ... Last »