Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Using Validation Summary In UltrawebGrid
posted

How can I able to use validation summary for UltrawebGrid

 Iam using like this.

It shows error message then and there itself not in the validation summary.

Is there is any wrong in my code.

<Bands >

<igtbl:UltraGridBand >

<Columns >

<igtbl:TemplatedColumn HeaderText="No Of Materials" >

<Header Caption = "No Of Materials" >

<RowLayoutColumnInfo OriginX="2" />

</Header>

<Footer>

<RowLayoutColumnInfo OriginX="2" />

</Footer>

<Validators >

<igtbl:ValidatorItem Value = "NumericValue" />

<igtbl:ValidatorItem Value = "reqNoOfMaterials" />

<igtbl:ValidatorItem Value = "valSum" />

</Validators>

</igtbl:TemplatedColumn>

</Bands>

</igtbl:UltraWebGrid>

 

<asp:RegularExpressionValidator ID = "NumericValue" ControlToValidate = "uwgEditPrice" ErrorMessage="Invalid" runat = "server" Display = "Static" ValidationExpression = "0*[1-9][0-9]*" ValidationGroup = "btnSave"></asp:RegularExpressionValidator>

<asp:RequiredFieldValidator ID = "reqNoOfMaterials" ControlToValidate = "uwgEditPrice" ErrorMessage = "Required" runat = "server" Display = "Static" ValidationGroup = "btnSave" ></asp:RequiredFieldValidator>

<asp:ValidationSummary ID = "valSum" HeaderText = "Following Error Occured" runat = "server" />

 

Thanks

Parents Reply Children
No Data