Hello Telerik,
I am implementing a feature which consists of a list of user controls that can be dragged to dock panels.
however, as you can see in the attached picture, there is this red "not allowed"-like icon showing, although the functionality works fine.
I just need to remove that icon. is there a way to do so?
Thank you
Hello Telerik,
I came across a scenario of which i need to change the mouse cursor (from pointer to hand) if the user hovers a specific type of cell.
After browsing your forums, I found the following solution:
GridControl.AddHandler(MouseMoveEvent, new MouseEventHandler(OnMouseMove), true);
private void OnMouseMove(object sender, MouseEventArgs e)
{
var cell = (e.OriginalSource as FrameworkElement).ParentOfType<
GridViewCell
>();
if (cell != null)
{
switch (cell.Column.UniqueName)
{
case "UserName":
Mouse.OverrideCursor = Cursors.Hand;
break;
default:
Mouse.OverrideCursor = Cursors.Arrow;
break;
}
}
else
{
Mouse.OverrideCursor = Cursors.Arrow;
}
}
It works, however, the cursor will remain a pointer when trying to resize the column widths.
is there an easy way to prevent this? to have the user being able to resize the columns once again?
Thank you
I am using a GridView.
I am trying to tab from one control to the next, but I am forced to hit 'tab' twice.
First click of tab key gives the GridViewDataColumn focus, then the next gives the focus to the control in the GridViewDataColumn.
How do I avoid this and just let each tab go from one textbox to the next (avoid hitting tab twice by also giving focus to the cell)?
GridViewDataColumn.TabStopMode="Skip" does nothing!
GridViewDataColumn.Focusable="False" also does nothing!
Hey, Guys.
While using Raddiagram, I wonder how can if user draws his connector with shift key pressed, then drawed connector would be orthogonal. Without setting RouteConnection property true.
(while ActiveTool = MouseTool.ConnectorTool)
Is any approaching to get this feature?
Thanks.
Hi,
I have just upgraded to 2017R2 and have moved the code to use the Bing Restful api for the maps.
However, when we calculate a route, we now have to handle two events, the CalculateRouteCompleted and the CalculateRouteError. The problem is that when we get the completed event we have access to the UserData that I sent with the async request (I can then tie the response back to the original request), but with the error event we just get the exception that is returned from Bing (a less than helpful bad request). Is there a reason why we don't also get the UserData back?
My scenario is that I asynchronously send off searches to create a drive zone around a point. Before, I would send off say 16 requests and even if they are bad requests (e.g. they are in the sea), I would get the result back and I could then adjust the search.
So in summary, how can I link a CalculateRouteError event back to the request that caused it?