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

Prevent a specific button from performing postback

1 Answer 62 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Sigma
Top achievements
Rank 1
Sigma asked on 28 Sep 2012, 03:36 AM
hii,
I want to Prevent a specific button in RadToolBar from performing postback.How can I achieve this?

regards

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 28 Sep 2012, 03:51 AM
Hi Sigma,

You can set the PostBack property to false for the item for which you want to prevent postback.

ASPX:
<telerik:RadToolBar ID="" runat="server">
    <Items>
       <telerik:RadToolBarButton Text="RadToolBarButton1" ></telerik:RadToolBarButton>
       <telerik:RadToolBarButton Text="RadToolBarButton2" PostBack="false"></telerik:RadToolBarButton>
    </Items>
</telerik:RadToolBar>

Hope this helps.

Regards,
Princy.
Tags
ToolBar
Asked by
Sigma
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or