Validation Summary in Ultrawebgrid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • baburk
    New Member
    • Oct 2006
    • 111

    #1

    Validation Summary in Ultrawebgrid

    I ultrawebgrid I added validation to a cell.

    The error message displayed in the cell itself.

    But I want the error message to be displayed in the validation summary.

    [code=asp]
    <igtbl:Template dColumn HeaderText="No Of Materials" >
    <Header Caption = "No Of Materials" >
    <RowLayoutColum nInfo OriginX="2" />
    </Header>
    <Footer>
    <RowLayoutColum nInfo OriginX="2" />
    </Footer>
    <Validators >
    <igtbl:Validato rItem Value = "NumericVal ue" />
    <igtbl:Validato rItem Value = "reqNoOfMateria ls" />
    <igtbl:Validato rItem Value = "valSum" />
    </Validators>

    </igtbl:Templated Column>
    </igtbl:UltraGrid Band>
    </Bands>
    </igtbl:UltraWebG rid>

    <asp:Button ID = "btnSave" runat = "server" Text = "Save" OnClick="btnSav e_Click" Visible="False" ValidationGroup ="btnSave" />
    </div>

    <asp:RegularExp ressionValidato r ID = "NumericVal ue" ControlToValida te = "uwgEditPri ce" ErrorMessage="I nvalid" runat = "server" Display = "Static" ValidationExpre ssion = "0*[1-9][0-9]*" ValidationGroup = "btnSave"></asp:RegularExpr essionValidator >

    <asp:RequiredFi eldValidator ID = "reqNoOfMateria ls" ControlToValida te = "uwgEditPri ce" ErrorMessage = "Required" runat = "server" Display = "Static" ValidationGroup = "btnSave" ></asp:RequiredFie ldValidator>

    <asp:Validation Summary ID = "valSum" HeaderText = "Following Error Occured" runat = "server" />
    </asp:Content>[/code]

    Thanks
    Last edited by Frinavale; Dec 13 '07, 06:51 PM. Reason: Added [code] tags
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Ultrawebgrid is a third party component that you should approach the distributers of the license for support.

    Comment

    Working...