Telerik Forums
UI for WPF Forum
5 answers
119 views

Dear Team ,
                  Is it possible in radtileviewitem to create custom template for minimize and maximize states.

Kind Regards 
Zarko
Telerik team
 answered on 06 Dec 2010
2 answers
63 views
Hi..

Do you have any Demo link for TreeListView Control in using WPF ?
Veselin Vasilev
Telerik team
 answered on 06 Dec 2010
5 answers
158 views
Not quite sure how to detail this problem as it does not happen right away but only after the application has done some work, I'm still trying to isolate the issue but thought I'd post what I know.

Eventually the grid starts displaying a lot of wrong data especially when another window overlays the application and then is removed, the application window does not refresh until the mouse is moved over the screen. The odd part is that if you move the mouse down the screen is correct but when you move the mouse up the screen will display incorrect information.

In the simplest form the highlight line breaks up, but only when the mouse is moved up the screen. Its always correct when you move the mouse down the screen.

The attached image shows this condition where the current link and the highlight line are broken across multiple screen rows; again only when the mouse is moved up the screen, if its brought down over the rows they are then correctly refreshed.

Any clues on where I start looking for the problem.


After returning to the application it now displays the firefox screen in the body of the window as shows in the second attached png file. If you minimize the screen and restore it the display is correct but as soon as you move the window about the display it returns to the incorrect view - with the firefox window showing. Moving the mouse over the window causes it to be updated with the correct information. But the minimize/restore/move sequence again returns to junk.
Stephen
Top achievements
Rank 2
 answered on 06 Dec 2010
1 answer
214 views
I'm a newbie with WPF and I copied some code into my Resource Dictionary so that all standard TextBoxes and Buttons would get the radcontrols styles. I found it in another thread.

<Style TargetType="Button" 
         BasedOn="{StaticResource {telerik:ThemeResourceKey ThemeType=telerik:Windows7Theme, ElementType=Button}}" />
  <Style TargetType="ListBox" 
         BasedOn="{StaticResource {telerik:ThemeResourceKey ThemeType=telerik:Windows7Theme, ElementType=ListBox}}" />
<Style TargetType="TextBox" 
         BasedOn="{StaticResource {telerik:ThemeResourceKey ThemeType=telerik:Windows7Theme, ElementType=TextBox}}" />
<Style TargetType="CheckBox" 
         BasedOn="{StaticResource {telerik:ThemeResourceKey ThemeType=telerik:Windows7Theme, ElementType=CheckBox}}" />


Now, I found that I can customize the error template using the following code.

<Style TargetType="Control" x:Key="ValidationErrorTemplate">
    <Style.Triggers>
      <Trigger Property="Validation.HasError" Value="True">
        <Setter Property="ToolTip"
                Value="{Binding RelativeSource={x:Static RelativeSource.Self},
                Path=(Validation.Errors)[0].ErrorContent}" />
      </Trigger>
    </Style.Triggers>
  </Style>
  
<Style TargetType="TextBox" BasedOn={StaticResource ValidationErrorTemplate}" />

How do I combine the two TextBox styles so that I can keep the Error Template at a common level (Control), and use it for all controls. Can I change the Error template style to be based on the Telerik ThemeResourceKey for Control? then base all other controls on it instead?
Vanya Pavlova
Telerik team
 answered on 06 Dec 2010
1 answer
145 views
Hello,
I want simple full-text search on grid and with your api it seem to be very easy.

var cd = new CompositeFilterDescriptor(){LogicalOperator = FilterCompositionLogicalOperator.Or};
foreach (var columnMeta in Grid.Columns)
{
    cd.FilterDescriptors.Add(new FilterDescriptor(columnMeta.UniqueName, FilterOperator.Contains, SearchText, false));
}
Grid.FilterDescriptors.Add(cd);

Problem arise when column type is not String. For Int or DateTime it raises exception.

  1. Are you aware of this exception behaviour?
  2. How to create FilterDescriptor not depend on column type, and how to search "formated value visible in grid" (not value in DTO)?

 

Stack:
  at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at System.String.System.IConvertible.ToInt32(IFormatProvider provider)
   at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
   at Telerik.Windows.Data.Expressions.FilterDescriptorExpressionBuilder.CreateValueExpression(Type targetType, Object value, CultureInfo culture) in c:\Dev3\branches\2010.Q3.Release\Core\Data\Expressions\Filtering\FilterDescriptorExpressionBuilder.cs:line 131
   at Telerik.Windows.Data.Expressions.FilterDescriptorExpressionBuilder.CreateBodyExpression() in c:\Dev3\branches\2010.Q3.Release\Core\Data\Expressions\Filtering\FilterDescriptorExpressionBuilder.cs:line 38
Yavor Georgiev
Telerik team
 answered on 06 Dec 2010
1 answer
107 views
Helllo Reader,
                    I am using the trail version of RadControls toolkit. When i work with Telerik:RadGridView Control with telerik:GridViewSelectColumn in WPF Application and m trying to access the Checked rows of this Telerik:RadGridView, there is no way to access the telerik:GridViewSelectColumn checked property....

Please help me.......
Vanya Pavlova
Telerik team
 answered on 06 Dec 2010
2 answers
124 views
Hi,
I'm new to Telerik and have just downloaded the latest WPF trial.
I'm having trouble with the Gridview (version 2010.3.1110.35).
I'll post the XAML below, but I'm populating from an observableCollection pulled from a WCF service.
The grid populates OK, but I cannot group the columns please can you advise.
The window is binding to an ViewModel.

I've tried another sample wher I create some objects on the fly, putting them into an observableCollection and binding to it ... and
the grouping has worked fine.

Many thanks,
Joseph.

<Window x:Class="VisionRT.CRM.WPF.TelerikMainWindow"
        mc:Ignorable="d"
        DataContext="{Binding Main, Source={StaticResource Locator}}"
        xmlns:telerikData="clr-namespace:Telerik.Windows.Data;assembly=Telerik.Windows.Data"
        xmlns:telerikControls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
        xmlns:System="clr-namespace:System;assembly=mscorlib"
        d:DesignHeight="390"
        d:DesignWidth="729"
        Width="650" Loaded="Window_Loaded">
 
    <Grid>
        <telerik:RadGridView HorizontalAlignment="Stretch" Margin="12,62,12,0" Name="radGridView1"                             
                             ItemsSource="{Binding Path=ContactList, Mode=TwoWay}"
                             AutoGenerateColumns="False"
                             IsSynchronizedWithCurrentItem="True"
                             VerticalAlignment="Top" Height="248">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn Header="Title" DataMemberBinding="{Binding Title}"  Width="*" IsGroupable="True" >
                    <telerik:GridViewDataColumn.AggregateFunctions>
                        <telerikData:CountFunction Caption="Count: " />
                    </telerik:GridViewDataColumn.AggregateFunctions>
                </telerik:GridViewDataColumn>
                <telerik:GridViewDataColumn Header="First Name" DataMemberBinding="{Binding FirstName}" Width="*"   IsGroupable="True" />
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
    </Grid>
</Window>
 
Vanya Pavlova
Telerik team
 answered on 06 Dec 2010
4 answers
132 views
I need  a editable rad grid view so that i can update / insert data in to my database through rad grid view only.
I need it today only Urgent.
Please help me as soon as possible
Maya
Telerik team
 answered on 06 Dec 2010
1 answer
154 views
Hi,

I have a GridViewComboBoxColumn defined in my GridView in Xaml.  I have it set up to bind properly when I set the ItemsSource property on the GridView itself.  That works great.  I would like to know how to hide the combobox that is generated in specific rows when the Grid is bound based on certain criteria of the data items for each row.  How do I do this?

Thanks.
Maya
Telerik team
 answered on 06 Dec 2010
5 answers
332 views
Hi,

        Now i m using the telerik rad map for show the details, and want to bind the shape file, but unfortunately i m using telerik q1 version, so i can't able to directly use that shape file, so i convert that as a kml file format. Now its working but i using some sample kml data's which is provided by telerik examples. but  when i look a deep look in my converted kml file, i see the values are in X,Y Values, so that i don't know How to bind this values in to the rad map, even weather rad map ll support this values or not i don't know, So plz

Explain me how to handle this, and how to convert the XY values in to decimal  latitude & Longitude.

Are any way to bind the xy values directly in the rad map control, using kml file.

Thank you
Andrey
Telerik team
 answered on 06 Dec 2010
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
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?