Panelbar triggers validators in other web page

4 posts, 0 answers
  1. Kian Cha
    Kian Cha avatar
    22 posts
    Member since:
    May 2007

    Posted 24 Apr 2008 Link to this post

    Hi,

    I have a panelbar with two level items located on the lefft side of master page. Each panelbar item opens a web page in content pane. The web pages contain controls with validators trigger by a save button. When I click on the child item (second level) in the panelbar, it posts a roundtrip to the server and loads a new web page. However, when I click on the parent item (first level) in the panelbar, it didn't go to the server which is expected but it triggers the validators in the web page cuases the error messages to display. How can I configure panelbar so that it doesn't trigger validators in other web pages?

    Thanks.

  2. Rosi
    Admin
    Rosi avatar
    2529 posts

    Posted 25 Apr 2008 Link to this post

    Hi Kian Cha,

    Try to mark the items with PostBack=false. Thus, no postback will appear upon clicking these items.

    Let us know how this goes.

    Regards,
    Rosi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Kian Cha
    Kian Cha avatar
    22 posts
    Member since:
    May 2007

    Posted 25 Apr 2008 Link to this post

    Hi,

    There was (and is) no postback when the top level panelbar items trigger validators in content web page. I am not sure how setting postback = false make any difference.

    Thx.

    K
  4. Rosi
    Admin
    Rosi avatar
    2529 posts

    Posted 28 Apr 2008 Link to this post

    Hi Kian Cha,

    Please find attached a demo project to this message. Click on the first root of RadPanelBar (Default3.aspx) and you will see that it works as expected.

    If this does not help you, please open a support ticket and send us a simple running project illustrating the problem.


    Kind regards,
    Rosi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top