This is a migrated thread and some comments may be shown as answers.

Panelbar triggers validators in other web page

3 Answers 27 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Kian Cha
Top achievements
Rank 1
Kian Cha asked on 24 Apr 2008, 08:14 PM
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.

3 Answers, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 25 Apr 2008, 01:01 PM
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
0
Kian Cha
Top achievements
Rank 1
answered on 25 Apr 2008, 01:21 PM
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
0
Rosi
Telerik team
answered on 28 Apr 2008, 10:32 AM
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
Tags
PanelBar
Asked by
Kian Cha
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Kian Cha
Top achievements
Rank 1
Share this question
or