I have a popup shown below which has a ContentControl using a Template. In the ContentControl I want to concatenate two strings in the xaml. I am using similar popups in different screens where only the Content varies with control name of the screen.I want to split this content into two static resources(static resource1=Plate Name , static resource2=can't contain special characters ) and want to use it in xaml as concatenated.
Is there any way to achieve this ? Any small help would be appreciated!
<Popup Name="PlateNameInvalidPopup" VerticalOffset="4">
<ContentControl Template="{StaticResource InvalidCharPopupTemplate}"
Content="Plate Name can't contain special characters">
</ContentControl>
</Popup>
Is there any way to have the dropdown close itself after someone has selected an item in the gridview? Effectively, I'd like a property called something like AllowMultiSelect, which I would set to false, and then the dropdown closes after the first item is selected. Or maybe, if SelectionMode is set to Single, shouldn't the dropdown box close on its own after a selection is made?
Closing it manually during SelectionChanged works except in one case: where someone starts typing into the search box and then uses the mouse to select an item. The incomplete search text doesn't get cleared out of the textbox - as if calling CloseDropDown() prevents cleanup from happening.
In any case, being able to make the multi column combobox behave like a single-select control would be great. Any suggestions? Thanks in advance.
[using the Q3 2018 release]
Hello,
If I write the following XAML code in a wizard page:
<Label Target="{Binding ElementName=txt_Code}"
Text="Code:" />
<TextBox Name="txt_Code" />
The binding is not made between the Label and the TextBox and VS shows the following error:
Cannot find source for binding with reference 'ElementName=txt_Code'. BindingExpression:(no path); DataItem=null; target element is 'Label' (Name=''); target property is 'Target' (type 'UIElement').
PS: Sorry for the formatting, but the formatting options are not working on this page...
How can I add add a georeferenced bitmap image to a map? This is a bitmap with known position (latitude and longitude of top left corner) and fixed pixel size (in degrees latitude and longitude). The following code will place an image on the map (with the top left corner in the right spot):
<telerik:RadMap x:Name="radMap" ZoomLevel="14" Center="35.561852,
-83.732723">
<telerik:RadMap.Provider>
<telerik:OpenStreetMapProvider StandardModeUserAgent=""/>
</telerik:RadMap.Provider>
<telerik:InformationLayer>
<Image Source="/Images/sample.png" telerik:MapLayer.Location="35.561852,
-83.732723">
<telerik:MapLayer.HotSpot>
<telerik:HotSpot X="0.0" Y="0.0" XUnits="Fraction" YUnits="Fraction" />
</telerik:MapLayer.HotSpot>
</Image>
</telerik:InformationLayer>
</telerik:RadMap>
However, this obviously does not scale the image according to the pixel size in degrees.
Dear Developers,
Thank you very much for this library.
Although, could anyone tell if it is possible to preserve row details when exporting and having a button to toggle their visibility like it looks inside RadGridView?
Preview: https://i.imgur.com/xjXpTgL.png
For example, there is an option to add details using HTML exporting and appending to string like here https://docs.telerik.com/devtools/silverlight/controls/radgridview/events/export-events#exporting is shown, but this will make these details visible by default.
Is it possible to hide them by default and have something like a checkbox or button to show/hide these details in exported for each row?
Best regards
Hi,
I am using <telerik:GridViewDataColumn in which I have a DataTemplate. In this Datatemplate,I have my popup. I have written the below code in file say for example Sample.xaml. In the eventhandler 'PreviewTextInput' written in file Sample.xaml.cs, I need to set the 'BeadPlexNameInvalidPopup.IsOpen' property to true. Is there any way to access the popup in file Sample.xaml.cs?
Any small help would be appreciated!
<telerik:GridViewDataColumn x:Name="GridviewColumn" Header="{x:Static res:Resources.BeadPlexName}"
DataMemberBinding="{Binding Name}"
Width="*"
EditTriggers="CellClick">
<telerik:GridViewDataColumn.CellEditTemplate>
<DataTemplate>
<Grid x:Name="Grid1">
<TextBox x:Name="BeadPlexNameTextBox" Text="{Binding Name, UpdateSourceTrigger=PropertyChanged}" MaxLength="70"
PreviewTextInput="BeadPlexName_OnPreviewTextInput">
</TextBox>
<Popup Name="BeadPlexNameInvalidPopup" >
<ContentControl Template="{StaticResource InvalidCharPopupTemplate}" >
</ContentControl>
</Popup>
</Grid>
</DataTemplate>
</telerik:GridViewDataColumn.CellEditTemplate>
</telerik:GridViewDataColumn>
<
telerik:RadNumericUpDown
HorizontalAlignment
=
"Center"
Value="{Binding
Path
=
AdditionalCosts
,
Mode
=
TwoWay
,
UpdateSourceTrigger
=
PropertyChanged
,
ValidatesOnDataErrors
=
True
}"
IsEditable
=
"True"
AutoReverse
=
"False"
Minimum
=
"0"
SmallChange
=
"1"
LargeChange
=
"5"
ValueFormat
=
"Numeric"
IsInteger
=
"True"
/>
I am programatically moving the scroll bar on my chart as data comes in but I want it to stop if a user takes control of the scroll bar on the horizontal axis.
Is there a simple way to do this?
Right now I am keying off of the rangechanged event to see if my minimum is less than the previous minimum but this only works for scrolling backwords and I cannot do this for forwards since the event is fired when I need to shift it programatically also.
Hello,
With this provider, the mini map is no more displayed.
That's certainly because you have introduced the StandardModeUserAgent property and this property is not copied to the mini map...