We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

toolbar button question

Thread ID:





68233 Sep 12,2007 11:43 PM UTC Sep 25,2007 03:22 PM UTC ASP.NET Web Forms (Classic) 1
Tags: Tools
Stephanie Gibbs
Asked On September 12, 2007 11:43 PM UTC

Is there a way to make a toolbar button call javascript or pop up a new window with the URL?


Suresh Sekarean [Syncfusion]
Replied On September 25, 2007 03:22 PM UTC

Hi Stephanie,

Client side java script routines can be executed using the property "ClientSideOnItemSelect" of an ToolBar Item. Please refer the below code snippet.


ToolBar1.ClientSideOnItemSelect = "OnItemSelect()";

[Client JScript]

Also page navigation can be done on Item select using navigate URL property of ToolBarItem.


ToolBarItem1.NavigateUrl = "http://www.syncfusion.com";

//Set control Target to '_blank' to navigate the page in new window. '_self' -Navigate in the same //window. 'Frame_name' -Navigate to the particular frame.
ToolBar1.Target = "_blank";

Please let us know if you need more info.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon