Hi,
I have a 'save' RadToolBarButton and a 'cancel' RadToolBarButton in my RadToolBar.
The 'save' button I want to handle server-side with the event handler defined in the 'onbuttonclick' property of the RadToolBar.
This works perfectly.
However, for the 'cancel' button I don't want a Postback.
In the Page_Load event handler I have (dynamically) defined a NavigateUrl for the 'cancel' button (depending on from where the user comes on the page).
If I'm not mistaken having the NavigateUrl property set should prevent a Postback from happening for the 'cancel' button.
Unfortunately this doesn't work.
A Postback still happens and the user is not brought to the page defined by the NavigateUrl.
Could someone please tell me whether this is a glitch in the RadToolBar or that I'm doing something wrong? In either case I'd like to know how to solve this problem.
I have a 'save' RadToolBarButton and a 'cancel' RadToolBarButton in my RadToolBar.
The 'save' button I want to handle server-side with the event handler defined in the 'onbuttonclick' property of the RadToolBar.
This works perfectly.
However, for the 'cancel' button I don't want a Postback.
In the Page_Load event handler I have (dynamically) defined a NavigateUrl for the 'cancel' button (depending on from where the user comes on the page).
If I'm not mistaken having the NavigateUrl property set should prevent a Postback from happening for the 'cancel' button.
Unfortunately this doesn't work.
A Postback still happens and the user is not brought to the page defined by the NavigateUrl.
Could someone please tell me whether this is a glitch in the RadToolBar or that I'm doing something wrong? In either case I'd like to know how to solve this problem.