Posted on Jan 9, 2012 (permalink)
var
toolBar = $find(
"<%= m.ClientID %>"
);
button = toolBar.findItemByText(
"Get Button"
button.enable();
//want to do something like this:
button.click(
"openWindow(1)"
Reply
function
OnClickedHandler_Custom(sender,args)
{
command = args.get_item().get_value();
argument = args.get_item().get_commandArgument();
if
(command ==
"PreviewShare"
)
openPreviewWindow(argument);
}
else
"ShareSettings"
openSharingSettings(argument);
myFunction(myId) {
toolBar.add_buttonClicked(OnClickedHandler_Custom);
//set up preview button
buttonPreview = toolBar.findItemByText(
"Preview & Share"
buttonPreview.enable();
buttonPreview.set_commandName(
buttonPreview.set_commandArgument(myId);
...
Back to Top
[ ASP.NET ToolBar Features | Documentation | Demos | Telerik TV | Self-Paced Trainer | Step-by-step Tutorial ]
UI controls for ASP.NET AJAX, MVC, WPF, Silverlight, Windows Forms and Windows Phone. Visual Studio productivity tools. Reporting and data layer solutions.
HTML5 / JavaScript tools for Web and Mobile applications
Functional, Performance, Load and Mobile Software Testing
CMS, Mobile Web, Ecommerce, Emarketing, Social Media
Project management software inspired by Agile best practices
It seems you haven't bookmarked any pages. Fix that by clicking the button below