Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Tabstrip > Need to show alert message when validation fails in the user control
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered Need to show alert message when validation fails in the user control

Feed from this thread
  • Pams avatar

    Posted on Nov 10, 2010 (permalink)

    Hello,
    I am working with the radtabstrip(wizard). I have two tabs so 2 user controls in the main page.
    Initially when I enter data in first tab, and click button, then it goes to second tab.
    But under button click i have to validate data.
    If validation fails i need to show alert window with message in the same tab. Untill user corrects data they are not allowed to go to next tab.
    And my main page is in the Masterpage.(will it have effect).
    How should I do this. I tried some formats which i found in forums, but nothing worked out.

    Any help pls,
    Thanks in advance.

  • Yana Yana admin's avatar

    Posted on Nov 16, 2010 (permalink)

    Hello Pams,

    By default RadTabStrip doesn't allow to switch tabs if validation fails - this is controlled by CausesValidation property. Please check whether it is not set to "false". If it's not the case, please send us some simple code demonstrating the exact situation.

    Regards,
    Yana
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

  • Pams avatar

    Posted on Nov 30, 2010 (permalink)

    We are not putting any validations in the ascx page. For example, there are 3 textboxes,
    The user enters two textbox values and automatically the third textbox value is calculated using the other two.
    when the user clicks the save button. Under button click, i will try to save the info in database. before saving, i will check the third textbox value. If it is negative then the save operation should not happen and should throw a message saying that txbox3 can't be negative.

    Thanks in advance

  • Yana Yana admin's avatar

    Posted on Dec 3, 2010 (permalink)

    Hi Pams,

    Please send us a simplified version of your page so we to be able to test the exact scenario. Thanks

    Best wishes,
    Yana
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Tabstrip > Need to show alert message when validation fails in the user control