Hello,
I'm trying to put png icons on the PinPointTemplate and I achieved it but it goes big enough as the half of my screen, I tried to do ImageScale but it only fits the image (16x16 png) but the square around is still big, when I put Width and Height the point loses the location on different zooms. Please help, leave you part of my code.
<DataTemplate x:Key="PinPointTemplate">
private
void
dockPanel_PreviewShowCompass(
object
sender, Telerik.Windows.Controls.Docking.PreviewShowCompassEventArgs e)
{
e.Compass.IsLeftIndicatorVisible =
false
;
e.Compass.IsTopIndicatorVisible =
false
;
e.Compass.IsRightIndicatorVisible =
false
;
e.Compass.IsBottomIndicatorVisible =
false
;
e.Compass.IsCenterIndicatorVisible =
false
;
}
// dockPanel_PreviewShowCompass
I think the InvalidOperationException exception and the fact the PreviewShowCompass isn't called should be fixed by Telerik.
Meanwhile Is there any workaround we can use?
It seems like if I add different aggregate functions to the different columns, all columns gets all aggregate functions. Is there any way to prevent this?
(For instance - I would like some of the columns group header to include the column header - but not for all columns)
Thanks
Inger Marie
It appears that the GridView is being rendered differently on a touch enabled device as opposed to a normal PC. See attached screenshots. It this expected? Is there a way to disable touch such that it renders the same on both devices (I've tried using the touch manager without success)? Am I barking up the wrong tree i.e. does it somehow relate the performance of the PC and / or graphics card?
You will note from the screenshots that I have 2 gridviews (one horizontal and one vertical). They are precisely placed such that columns on the horizontal gridview align with the row of the vertical gridview (scrolling is synchronised). This works perfectly on my development PC however on my surface pro it renders differently such that the gridviews don't align.
Note that misalignment / different rendering seems to be originating from the customs styles I have developed (HeaderCellStyle, HeaderRowStyle and CellStyle). Note the inconsistent border thicknesses.
Note that am I using the latest binaries (R1 2017) on both machines.
Please advise.
Thanks
Ian
I have a RadGridView with FrozenColumnCount=4
When I group, the group header contains an aggregate count function.
But when I scroll to the right - the group header aggregate count is also scrolled away from view. I can still see the group header.
Is there any way to fix that?
I define the Group aggregate on the first column, like this:
<
telerik:GridViewDataColumn.AggregateFunctions
>
<
telerik:CountFunction
Caption
=
"Count"
ResultFormatString
=
"{}: {0:#,0}"
/>
</
telerik:GridViewDataColumn.AggregateFunctions
>
Thanks.
Is it possible to configure an automatic connection routing in RadDiagram like in the "TableShape" example?
Please look at "MyRoute.png" for my route looks now and "ExampleRoute.png" for what my route should look like.
Hello,
Is there a way to avoid that during the ordering a task child of a summary node is dragged under another summary node?
I think that I have to do this overriding the GanttDragDropBehavior.CanDrop() function but I can't find how to know when the DestinationSlot changes his parent node
Any help will be appreciated
Thanks in advance
Hi Telerik,
I know binding the password should not be done due to the password being in the RAM is bad practice.
Now everything I want is to let the database tell me if there even is a password (I'm NOT loading the password/password hash) so I can set the Variable I was planning on binding to some garbage text (eg. ********) so the user is visually informed there has been a password set before.
What is a way I can archive this?
BTW: What is best practice to use/get the actual password the user entered to store it? Your examples and documentation on this topic are - as often - paper thin.
Thanks a lot
Let's say I have a very large (millions of records) DB of cars but one of the column (colors) has only a couple of different choices (red, green, blue, black, white).
When I'm binding the DB to the GridView (using pagination because I can't load the whole table at once and data virtualization is performing poorly on this amount of data) and trying to filter by color every time I open the filter editor I'm sending a query to my DB asking for Top 1000 Distinct colors which is really slow.
Now my question is, can I have a predefined list of available colors to use for my Filter Editor? Just create a List<String> and feed it to the editor?
Thank you.