Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

Validation Group and UltraWebToolbar

Last post 09-02-2008 11:41 by panduranga. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 09-02-2008 11:41

    Validation Group and UltraWebToolbar

    Hi,

    I have two save buttons on page. One is on UltraWebToolbar and the other is in the grid (for Inline editing).

    I want to validate some controls using Save on UltraWebToolbar and not the contents in the grid. I added Validation group to buttons and controls in the grid as Group1 and then to other controls which UltraWebToolbar save should validate as Group2. I tried using javascript Page_clientValidate('Group2') for client click of Toolbar and if it is false I am doing frm.Submit to save data in the controls outside grid.

    The problem is when page postback after clicking Save and Page_clientValidate('Group2') == true, then other I get messages from other validation group. The same doesnt happen when I click Save from inside grid (Inline edit). That validates only controls within the grid as both butoon and control has Validation group == Group1.

    Can anyone tell me how to add Validation group to Toolbar (I think it will solve my problem)?

    Is there any other way that u can think of (if not first one)?

    Thanks,

    Pandu.

    • Post Points: 5
Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems