Telerik Forums
UI for WPF Forum
1 answer
195 views
Hi

I am unable to bind to the Geo_Bounds property of the rad map control.

If that's not possible, would it be possible to calculate the NW and SE Bounds of the map based on the Center and Zoom level (binding works on these 2 properties !!) of the rad map control ?


Thanks,
Sai Dhalli
Andrey
Telerik team
 answered on 03 Jun 2014
4 answers
314 views
Hi Team,

Thank you for your continuous support.I have the urgent issue with the Rad Pivot Grid,Please help me out.

Here is the Scenario,I have the Rad Pivot Grid Cell Template Where a Text block is placed i need to set the foreground based on the condition,have used multi binding for it, i need to pass few parameters which are in the collection which is bound to the item source of data provider,how can i access those objects in order to bind it to the foreground, i have browsed for it , where we only bind the data as Text="{Binding Data}",but could not bind any property which is in the collection.How can i do this....
  <DataTemplate x:Key="CellTemplate">
            <TextBlock Margin="6" VerticalAlignment="Center" HorizontalAlignment="Right"  Text="{Binding Data,Mode=OneWay,Converter={StaticResource PpcConverter}}"  FontSize="{Binding Path=FontSize,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type pivot:RadPivotGrid}}}">
                <TextBlock.Foreground>
                    <MultiBinding Converter="{StaticResource MultiConverter}" >
                        <Binding Path="Data" Mode="OneWay"/>
                        <Binding Path="Product1"/>
                        <Binding Path="Product2" RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type pivot:RadPivotGrid}}"></Binding>
                                             
                    </MultiBinding>
                </TextBlock.Foreground>
            </TextBlock>
        </DataTemplate>

Many Thanks,
Ruth
Kalin
Telerik team
 answered on 03 Jun 2014
1 answer
57 views
Hi!

I'm trying to figure out if ChartView can be used to achieve charts similar to shown in following screenshots:

http://bittinikkari.com/charts/chart1.png
http://bittinikkari.com/charts/chart2.png
http://bittinikkari.com/charts/chart3.png

Should I use ScatterPointSeries or is there a more suitable type?

Also I would be more than happy if you could give me some pointers on how to proceed implementing these.

I'm using UI for WPF 2013 SP3 but I should receive latest version any time now.

Thanks in advance!

Br,

Kalle
Petar Marchev
Telerik team
 answered on 03 Jun 2014
4 answers
324 views
In my GridView I color rows differently based on the current value of a Combobox column. Each change of the combobox value triggers the PropertyChanged event of the business object.
This works just fine as long as I return one of my own styles in SelectStyle. The row gets correctly drawn using that style.
The problem is, that I want to reset the row style to default (= no style) for one particular combobox value. In this case SelectStyle returns base.SelectStyle(item, container) which is always null (= OK). But the row remains drawn using the previous style although the PropertyChanged event is correctly triggered. If I force the UI to recreate the UI controls of that row (by manually resizing the window), the row is drawn correctly.

What am I missing?

Can I force a redraw of that row to remove the previous style other than by triggering the PropertyChanged event?
I could create my own "Empty Style", but this is what I want to avoid. Any ideas?

Thanks for any help.

Markus
Markus
Top achievements
Rank 1
 answered on 03 Jun 2014
12 answers
246 views
Is there a way to control the Order of the groups shown?  It seems to be Alphabetic right now.  

I included my XAML and a screenshot for reference.  I will probably just rename "Admin" to something else which will do me for now but as my app grows I can see this being an issue.

Thanks,

<telerik:RadTileList x:Name="AppLaunchPad"
                     GroupTemplate="{StaticResource GroupTemplate}"
                     ScrollViewer.HorizontalScrollBarVisibility="Visible"
                     cal:Message.Attach="[Event SelectionChanged] = [Action OpenDoorway($eventArgs)]">
    <telerik:Tile x:Name="PendingAuthTile"
                  Background="BlueViolet"
                  TileType="Single"
                  Group="Authorizations">
        <Grid>
            <TextBlock Text="Pending"
                       Style="{StaticResource TileLabelStyle}"/>
            <TextBlock x:Name="PendingAuthCount"
                       Text="0"
                       Style="{StaticResource LiveTileLabelStyle}"/>
        </Grid>
    </telerik:Tile>
    <telerik:Tile x:Name="CreateAuthTile"
                  Group="Authorizations"
                  Background="Green"
                  TileType="Single"
                  cal:Message.Attach="[Event MouseDoubleClick] = [Action CreateAuth] ">
        <TextBlock Text="Create"
                   Style="{StaticResource TileLabelStyle}"/>
    </telerik:Tile>
    <telerik:Tile x:Name="ModifyAuthTile"
                  Group="Authorizations"
                  Background="CadetBlue"
                  TileType="Single">
        <TextBlock Text="Modify"
                   Style="{StaticResource TileLabelStyle}"/>
    </telerik:Tile>
    <telerik:Tile x:Name="DeleteAuthTile"
                  Group="Authorizations"
                  Background="Sienna"
                  TileType="Single">
        <TextBlock Text="Delete"
                   Style="{StaticResource TileLabelStyle}"/>
    </telerik:Tile>
    <telerik:Tile x:Name="AdminFrequencyTile"
                  Group="Admin"
                  Background="SeaGreen"
                  TileType="Single">
        <TextBlock Text="Frequencies"
                   Style="{StaticResource TileLabelStyle}"/>
    </telerik:Tile>
    <telerik:Tile x:Name="AdminStatusTile"
                  Group="Admin"
                  Background="Peru"
                  TileType="Single">
        <TextBlock Text="Status"
                   Style="{StaticResource TileLabelStyle}"/>
    </telerik:Tile>
</telerik:RadTileList>
Vera
Telerik team
 answered on 03 Jun 2014
5 answers
115 views
Hi,
Let's say I have a RadGridView and want to localize it... then I use CustomLocalization and everything is working as everyone expected... now the problem is when I style the RadComboBox in app.xaml ((without key, cause I want it to apply to every RadComboBox)) like this :

        <Style TargetType="telerik:RadComboBox">
            <Setter Property="IsReadOnly"
                    Value="True" />
            <Setter Property="OpenDropDownOnFocus"
                    Value="True" />
            <Setter Property="IsEditable"
                    Value="True" />
        </Style>

And after that the gridview filters won't changed their strings... they work and ComboBox items in filters have proper strings(localized strings) but the selecteditem in ComboBox has not changed!!!!
the problem is with IsEditable, because after I delete it, it shows well localized strings...
if I have to bring any more information, please tell me... and finally thanks for the great components!
Kalin
Telerik team
 answered on 03 Jun 2014
2 answers
127 views
I create textbox as custom filter editor according with http://www.telerik.com/help/wpf/raddatafilter-how-to-create-custom-filter-editors.html. But enter key doesn't trigger filtering. How can I restore this behaviour?
Pawel
Top achievements
Rank 1
 answered on 02 Jun 2014
3 answers
129 views
Currently I have installed a copy of Teleriks UI for WPF, UI for AJAX.NET, UI for Silverlight, and UI ASP.NET.MVC, and have obtained a running application from a tortoiseSVN project, however, when I go to the designer I get the following error:

'RadComboBox' TargetType does not match type of element 'NumberComboBox'.

Any thoughts on how to remedy it.  Kind regards, 

Martin

Kalin
Telerik team
 answered on 02 Jun 2014
1 answer
692 views
I'm having problems with row height not auto - sizing with text wrapping on.  When I enter a long string, it will wrap to two lines in the row, but it doesn't display the third row. I would like to row height expand to automatically to display all the text.

Below is the grid XAML code I'm using.

<
telerik:RadGridView Grid.Row="1" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
ItemsSource="{Binding Path=CustomSqlStatus}"
                    AutoGenerateColumns="False"
                    CanUserDeleteRows="False" CanUserInsertRows="False" CanUserSelect="False"
                    UseLayoutRounding="True" CanUserFreezeColumns="False"
                    CanUserReorderColumns="False"
                    CanUserSortColumns="False" Padding="2" ShowGroupPanel="False"
                    IsFilteringAllowed="False" CanUserSortGroups="False"
                    RowIndicatorVisibility="Hidden" MaxColumnWidth="400">
<telerik:RadGridView.Columns>
    <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=SqlCommandName}"
                                Header="Command Name"
                                HeaderCellStyle="{StaticResource BoldFont}" />
    <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=Comments}"
                                Header="Comment"
                                HeaderCellStyle="{StaticResource BoldFont}" TextWrapping="Wrap" />
    <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=SQL}"
                                Header="Sql"
                                HeaderCellStyle="{StaticResource BoldFont}" TextWrapping="Wrap"/>
</telerik:RadGridView.Columns>
</telerik:RadGridView>
Boris
Telerik team
 answered on 02 Jun 2014
1 answer
261 views
I have a RadDiagramTextShape without connectors.  I don't want to connect to text shapes.

So I clear then using this line of code:

    ((RadDiagramTextShape)Shape).Connectors.Clear();

My problem is when a user changes to the Connector Tool ( diagram.ActiveTool = MouseTool.ConnectorTool) and clicks within the RadDiagramTextShape  an unhandled exception is thrown:

An unhandled exception of type 'System.InvalidOperationException' occurred in Telerik.Windows.Controls.Diagrams.dllAdditional information: The shape has no connectors defined.

Is there a way to prevent this? 
Petar Mladenov
Telerik team
 answered on 02 Jun 2014
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Rating
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?