Newbie, how to validate data in cells in a gridview

Ask a Question related to ASP.NET Building Controls, Design and Development.

  1. #1

    Default Newbie, how to validate data in cells in a gridview

    Hi, sorry if this seems stupid. :(

    How can I validate the values in each cell after editing and the update
    button/link has been press?, is this done trough JS? client side?

    Thanks and best regards


    verci Guest

  2. Similar Questions and Discussions

    1. Newbie, how to check if a value in a gridview cell already exist in database
      Hi I've the following dataset bound to my gridview <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$...
    2. Newbie, add a button to gridview footer
      Hi Can anyone help me or point me in the right direction, I'm running Win XP Pro SP2, VS2005 Team, .Net Framework 2.0 and SQL Server2005. I...
    3. Newbie, adding a row to Gridview in VB
      Hi Can anyone help me or point me in the right direction, I'm running Win XP Pro SP2, VS2005 Team, .Net Framework 2.0 and SQL Server2005. I...
    4. Newbie, gridview problem Asp.net 2005
      Hi Can anyone help me I'm running Win XP Pro SP2, VS2005 Team, .Net Framework 2.0 and SQL Server2005, I can't delete records using the gridviews...
    5. Plz Help---GridView and Cells text
      Hi, I have a TreeView and a GridView in my UI. On a "CheckChanged" event of tree, I do the following GridView1.Rows.Cells.Text = e.Node.Text; ...
  3. #2

    Default Re: Newbie, how to validate data in cells in a gridview

    Use EditItemTemplate and have validator(s) for each control!

    --
    Happy Hacking,
    Gaurav Vaish | [url]http://www.mastergaurav.com[/url]
    [url]http://www.edujini.in[/url] | [url]http://articles.edujini.in/webservices[/url]
    -------------------


    "verci" <iodataser@yahoo.com> wrote in message
    news:uSfdYZ5zGHA.1292@TK2MSFTNGP03.phx.gbl...
    > Hi, sorry if this seems stupid. :(
    >
    > How can I validate the values in each cell after editing and the update
    > button/link has been press?, is this done trough JS? client side?
    >
    > Thanks and best regards
    >

    Gaurav Vaish \(www.EduJini.IN\) Guest

  4. #3

    Default Re: Newbie, how to validate data in cells in a gridview

    Once again many thanks!!!

    "Gaurav Vaish (www.EduJini.IN)" <gaurav.vaish.nospam@nospam.gmail.com> wrote
    in message news:ul24nj8zGHA.4580@TK2MSFTNGP05.phx.gbl...
    > Use EditItemTemplate and have validator(s) for each control!
    >
    > --
    > Happy Hacking,
    > Gaurav Vaish | [url]http://www.mastergaurav.com[/url]
    > [url]http://www.edujini.in[/url] | [url]http://articles.edujini.in/webservices[/url]
    > -------------------
    >
    >
    > "verci" <iodataser@yahoo.com> wrote in message
    > news:uSfdYZ5zGHA.1292@TK2MSFTNGP03.phx.gbl...
    >> Hi, sorry if this seems stupid. :(
    >>
    >> How can I validate the values in each cell after editing and the update
    >> button/link has been press?, is this done trough JS? client side?
    >>
    >> Thanks and best regards
    >>
    >
    >

    verci Guest

  5. #4

    Wink Re: Newbie, how to validate data in cells in a gridview

    Hi...Friends...

    The grid view table validation control is working well in the following link
    http://www.aspdotnetcodes.com/GridView_Dynamic_Validation.aspx
    gurujan Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139