Validation in GridView

Discussion in 'ASP .Net Web Controls' started by Gonzalo Moreno, Dec 20, 2006.

  1. En blancoHello I need help, I don´t know how controller the validation of
    one column of gridview, this column update correct except if the user put
    "," or letters beacuse this fields is numeric, only accept for example "9.2"
    but not "a.3" or "9,2" or "kk". The problem is that mensage of error is
    horrible I prefer put one mensage of advise.
    The gridview update correct, I solve this topic but I need controller this
    validation.
    Ah I programing with v.studio net 2005 and asp.net and v.basic

    Thanks very much.
    Gonzalo Moreno, Dec 20, 2006
    #1
    1. Advertising

  2. Gonzalo Moreno

    Brock Allen Guest

    Use a <asp:TemplateField> and place a validation control in the template.

    -Brock
    http://staff.develop.com/ballen


    > En blancoHello I need help, I don´t know how controller the validation
    > of
    > one column of gridview, this column update correct except if the user
    > put
    > "," or letters beacuse this fields is numeric, only accept for example
    > "9.2"
    > but not "a.3" or "9,2" or "kk". The problem is that mensage of error
    > is
    > horrible I prefer put one mensage of advise.
    > The gridview update correct, I solve this topic but I need controller
    > this
    > validation.
    > Ah I programing with v.studio net 2005 and asp.net and v.basic
    > Thanks very much.
    >
    Brock Allen, Dec 20, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Colin Mackay
    Replies:
    0
    Views:
    2,684
    Colin Mackay
    Jun 25, 2003
  2. Libs
    Replies:
    0
    Views:
    1,490
  3. Colin Basterfield

    Web form validation vs object validation

    Colin Basterfield, Nov 28, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    425
    Tommy
    Nov 29, 2003
  4. Matt
    Replies:
    14
    Views:
    4,093
    Chad Z. Hower aka Kudzu
    Jan 30, 2004
  5. =?Utf-8?B?bWdvbnphbGVzMw==?=

    GridView Hierarchical View - Gridview in Gridview

    =?Utf-8?B?bWdvbnphbGVzMw==?=, May 9, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    17,956
    =?Utf-8?B?UGhpbGxpcCBXaWxsaWFtcw==?=
    May 9, 2006
Loading...

Share This Page