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.
Unfortunately, activation email could not send to your email. Please try again.

TabBarSplitterControl MouseUp event

Thread ID:





92934 Feb 12,2010 05:51 PM Feb 18,2010 09:20 AM ASP.NET Web Forms (Classic) 2
Tags: Tools
Administrator [Syncfusion]
Asked On February 12, 2010 05:51 PM

Hi, I'm trying to replicate Excel-like behavior by combining a TabBarSplitterControl and a DataBoundGrid.
I'm trying to trap MouseUp events on the TabBarSplitterControl to show a context menu (e.g. when a user right clicks on a tab), however the event only seems to fire when the user right clicks on the Splitter control.
Is this a limitation of the control? Any suggestions about how I can do what I'm after?
Also, as an aside I'd like to disable the horizontal scroll bar of the grid control, and use the scroll bar of the TabBarSplitterControl instead. Can you help me translate the scroll bar events to change the grid display? (again like Excel).
thanks in advance for any help

Administrator [Syncfusion]
Replied On February 14, 2010 01:52 PM

I managed to get the context menu by directly setting the ContextMenuStrip item, rather than trapping MouseUp (which only seems to fire when clicking on the splitter part of the control) and displaying my own.
If anyone had info about having the horizontal scrollbar in the tabBarSplitterControl work as the horizontal scrollbar for the grid I'd appreciate it. Thanks

Rajasekar B [Syncfusion]
Replied On February 18, 2010 09:20 AM

Hi Sakkath,

You can have a look at the attached sample. It contains two excel like demo samples. Let me know if this helps you.




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.

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.