Wednesday, May 6, 2009

ToolBar.Net - Easy to use Toolbar

Here is my first version of an easy to use and implement toolbar all customizable (cssClass) and perfectly working also within ajax updatepanels.

You can add to it buttons(ToolButton) or imagebuttons(ToolImage) both from client side and server side.
If on server side remember to add a Click handler for each button you will add (or just one handler passing a different commandArgument on each button)

At the end of this post you will find the dll. Just add a reference to it in your project and instanziate it on your pages like


<%@ Register Assembly="ToolBarNet" Namespace="ToolBarNet.ToolBarAsp" TagPrefix="cc1" %>


then add the following code (adding or removing buttons\imagebuttons) wherever you wat your ToolBar









I'm finishing a second version that implements also a chekFunction class that will automatically chek functions allowed to certain group\users and enable\disable automatically elements on the toolbar

please direct link this post if you want to share the toolbar
Thanks

No comments:

Post a Comment