Vintaurus

Hi,

I would like add a button in ToolBar from Display form.

Here is my code:

namespace PrintAttributes
{
class PrintAttributes : SPToolBarButton
{
protected override void CreateChildControls()
{
base.CreateChildControls();
ToolBarMenuButton siteActionsControl = ToolBarMenuButton.GetMenuControl(this);
ToolBarButton barbutton = null;
barbutton.Text = "Drucken";
//only test
barbutton.NavigateUrl = "/_layouts/user.aspx";
Controls.Add(barbutton);
}
}
}

additionally feature.xml and element.xml

The problem is that I don't find more description and example about ToolBarButton.

Can you help me

Best regards,

Vinnie