Browse by Tags

Related Posts

  • Validating data in BoundColumn field

    i have a datagrid with boundcolumns. unfortunately, due to business rules, I have to use bound columns for displaying my editable data. I otherwise would use a template column and put and editItemtemplate tag in. the edit-mode textboxes basically need to be decimals(scale 2). if the user doesn't put...
    Posted to Data Presentation Controls (Forum) by isheahan on 12-20-2006, 12:00 AM
    Filed under: datagrid, database, BoundColumn, BoundField, edit, data, validation, c#
  • DataGrid Column's Validator fires when Column is not visible

    I have a template column that includes a dropdownlist and requiredfieldvalidator: <asp:DataGrid id= "dgEdit" runat= "server" CssClass= "CostTable" GridLines= "none" AutoGenerateColumns= "false" > <Columns> <asp:TemplateColumn ItemStyle-Width= "335px" > <ItemTemplate> <asp:DropDownList...
    Posted to Data Presentation Controls (Forum) by ZLA on 12-29-2006, 12:00 AM
    Filed under: datagrid, validation
  • Cannot figure out how to prevent a gridview from loading if a validator comes back with an error.

    Does anyone know how can I prevent my gridview from loading if an invalid date was captured by a compare validator? I have a form on a page, where, among other fields, a user can type in a date in a textfield. Based on that date, I have several grid views that load information for that user and date...
    Posted to Web Forms (Forum) by yulia77 on 03-14-2007, 12:00 AM
    Filed under: asp.NET GridView, DataBind DataBinding, ASP.NET 2.0, Validators, DataGrid, ASP.NET 2.0 VB.NET, validation, .net, Binding eval DataBind DataBinding, data binding, data access validation
  • There's always an easier way.

    Hello All, Right now I am getting ready to write an onSubmit handler. In the event handler, I would like to write a function that: - validate some information in a text box Should be 'RO' + 6 numbers(ex. RO152465) - builds a SQL query based on checkboxes selected and then the values that are in the drop...
    Posted to Web Forms (Forum) by dohertyk on 04-24-2007, 12:00 AM
    Filed under: event validation, TextBox, ASP.NET, form, radio button, DropDownList, submit, "Asynchronous Operation", <%@ Page Language="VB" %>, ASP.NET 2.0, codebehind, View, Database, Validators, DataGrid, event, ASP.NET 2.0 VB.NET, ASP.NET 2.0 IIS, SQLDataSource, visual studio, validation, IIS, validate, aspx, .net, ASP.NET 2.0 webform, Valdiation Controls, ASP.NET 2.0 Ajax Control Toolkit Ajax Tab Control, asp, Webforms, Beginner, dropDownList radiobuttonlist, events, event handlin, vb.net, CustomValidator, Button Event OnClick, validation Controls, SQL SERVER, 2.0
Page 1 of 1 (4 items)