Hi,I figured out how to add templates to the ExplorerBarGroup. I added a couple simple buttons using the following code:
<ig:ItemTemplate runat="server" TemplateID="test"><template><table><tr><td><input type="button" value="Test 1" /></td><td><input type="button" value="Test 2" /></td><td><input type="button" value="Test 3" /></td></tr></table></template></ig:ItemTemplate>
Now every time i click on any of the buttons, the WebExplorerBar keeps doing an expand/collapse as if i'm clicking on the header its self. How do i change it so that if i click on the buttons, the expand/collapse will stay as is until i click on the actual header space?
Hi Shane,
Thank you for posting in the community.
In order to not expand/collapse the WebExplorerBar groups when a templated control is being clicked I suggest handling ItemExpanding and ItemCollapsing clientside event which may be cancelled if the target of the event is a button for instance. Below is some sample code for such an implementation:
Please let me know if this helps.