Telerik Forums
UI for WPF Forum
1 answer
50 views
Hi..
How can you change the code so the Filter works on 'STARTS WITH' ?
Instead of looking for an exact match.
Thanks again
Jon
Top achievements
Rank 1
 answered on 14 Nov 2009
1 answer
201 views

Hi,
I was receiving the "Invalid Formatetc Structure" with adding the RadMenu only.

I was able to correct it by using the solutions at the link below.

Resetting toolbox items has also helped many of them. (very simple solution)

Remove all project reference and add them one by one. Recompile and done!

This happend with WPF Q3, VS2008 trial, Vista, i believe it is a VS problem.

http://codeforfuture.com/2009/02/04/solution-invalid-formatetc-structure/

Kaloyan
Telerik team
 answered on 13 Nov 2009
2 answers
159 views
Hi Guys,

I've managed to run into something I didn't think was possible. it appears that for some reason the code at
> Telerik.Windows.Controls.Docking.dll!Telerik.Windows.Controls.ProportionalStackPanel.MeasureOverride(System.Windows.Size availableSize = {203,458}) Line 205
has caused an ExecutionEngineException (I got that function and line from the Show Disassembly when the exception was thrown).

I'm aware I could be of much more use to you if I had posted here what's causing it, but it's very weird. The Docking and the tab control inside it (the document host) are working fine for me for a variety of different operations, there's only one that's causing this exception. However, I have no idea what about that operation (and it's an extremely complex one until the point where a new Pane is added) causes it.

Before attempting to take my code into pieces, my question is whether the Telerik guys can look at the line I posted above and check whether or not something stands out.

Thank you for your help!
yonadav
Kaloyan
Telerik team
 answered on 13 Nov 2009
6 answers
160 views
Hi All,
Will the latest WPF controls work in the VS 2010 Beta 2 that just came out? I just downloaded the beta, and have not tried installing the Telrik controls with it yet... Would love to be able to develop in beta 2 with Telerik..

Thanks
harold

Milan
Telerik team
 answered on 13 Nov 2009
2 answers
59 views
I ported this silverlight example to WPF and it stopped working. I'm talking about the first project provided by Ross. I didn't change any code (other than the wpf/silverlight stuff) and it doesn't load any row in any of the child tables anymore.

I also took this other example, which is a WPF project already (ticketid-243249-hierarchychildtemplate.zip), switched the dll's for the Q3 release and it stopped working. Same problem, doesn't load any row.

My situation is simple, I wanna be able to create a hierarchy of .NET Objects like the following:

Clients
Offices
Contacts

I need to be able to define each column, I tried this code, which seems the most straight forward approach, but it doesn't let me define any column:

           <telerik:RadGridView.ChildTableDefinitions> 
                <telerik:GridViewTableDefinition AutoGenerateFieldDescriptors="False"
                    <telerik:GridViewTableDefinition.Relation> 
                        <data:PropertyRelation ParentPropertyName="Offices" /> 
                    </telerik:GridViewTableDefinition.Relation> 
                </telerik:GridViewTableDefinition> 
            </telerik:RadGridView.ChildTableDefinitions> 

I've tried many other approaches and samples, so far no luck. Any ideas?
Luis
Top achievements
Rank 1
 answered on 13 Nov 2009
1 answer
108 views
Hi Guys,

I found a bug in treeview when pressing F2 to edit the name. Here is the scenario:

On my screen, left side is a treeview, right side is a textbox. Treeview is bound to an observablecollection. When selecting an item in the treeview, the tree node name is showing on the textbox of right side.

1. Select a treenode (Item1),  Textbox shows Item1's name (Item1).
    press F2,
    do not change anything, press enter key.
   
2. click the textbox of right side, change Item1 to Item2. Since it is bound to ObservableCollection, once it is changed to Item2, treenode is changed accordingly.

3. Select treenode Item2(the same node as Item1 but now named Item2) , hit F2, the treenode displays Item1 instead of Item2

If you don't Press F2 in step1, it works fine. It looks like although the source is changed, when you hit F2, the content showing in F2 box is not refreshed. Please investigate.

Thanks,
Bobi
Telerik team
 answered on 13 Nov 2009
1 answer
166 views
Hi,
      I am facing a problem which i am demonstrating in the following steps:

a) I take a telerik wpf grid like this:

<

 

gridviewcontrols:RadGridView local:RadialPanel.ZIndex="0" Name="grdPendingEncounters" AutoGenerateColumns="False"

 

 

ShowGroupPanel="False"

 

 

CanUserSortColumns="True" ShowColumnFooters="False"

 

 

ColumnsWidthMode="Fill"

 

 

AreRowDetailsFrozen="True" RowDetailsVisibilityMode="VisibleWhenSelected" RowIndicatorVisibility="Collapsed"

 

 

UseAlternateRowStyle="True" Margin="5,1,0,0" ScrollViewer.HorizontalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollBarVisibility="Visible" Opacity="1">

 

 

 

<gridviewcontrols:RadGridView.Resources>

 

 

 

<local:StatusToColorConverter x:Key="MyConverter" />

 

 

 

</gridviewcontrols:RadGridView.Resources>

 

 

 

<gridviewcontrols:RadGridView.RowAppearance>

 

 

 

<gridviewcontrols:RowAppearanceSettings UseAlternateRowStyle="True" RowStyle="{StaticResource GridViewRowStyle}" AlternateRowStyle="{StaticResource GridViewAlternateRowStyle}" />

 

 

 

</gridviewcontrols:RadGridView.RowAppearance>

 

 

 

<gridviewcontrols:RadGridView.Columns>

 

 

 

<gridviewcontrols:GridViewColumn HeaderCellStyle="{StaticResource FirstHeaderCellStyle}" Width="30" IsFilterable="False">

 

 

 

<gridviewcontrols:GridViewColumn.CellTemplate>

 

 

 

<DataTemplate x:Name="checkBoxDataTemplate">

 

 

 

<CheckBox Name="chkBoxTemplate" Checked="chkBoxTemplate_Checked" Unchecked="chkBoxTemplate_Checked" IsChecked="{Binding isChecked}"></CheckBox>

 

 

 

</DataTemplate>

 

 

 

</gridviewcontrols:GridViewColumn.CellTemplate>

 

 

 

</gridviewcontrols:GridViewColumn>

 

 

 

<gridviewcontrols:GridViewDataColumn Header="{Resx ResxName=PMS.UserInterface.Resources.UIResource, Key=Date}" HeaderCellStyle="{StaticResource HeaderCellStyle}" DataMemberBinding="{Binding EncounterDate}" IsFilterable="True">

 

 

 

</gridviewcontrols:GridViewDataColumn>

 

 

 

<gridviewcontrols:GridViewDataColumn HeaderCellStyle="{StaticResource HeaderCellStyle}" Header="{Resx ResxName=PMS.UserInterface.Resources.UIResource, Key=Patient}" DataMemberBinding="{Binding Patient}" IsReadOnly="True" IsFilterable="True" />

 

 

 

<gridviewcontrols:GridViewDataColumn HeaderCellStyle="{StaticResource HeaderCellStyle}" Header="{Resx ResxName=PMS.UserInterface.Resources.UIResource, Key=ID}" DataMemberBinding="{Binding EncounterID}" IsReadOnly="True" IsFilterable="True" />

 

 

 

<gridviewcontrols:GridViewDataColumn HeaderCellStyle="{StaticResource HeaderCellStyle}" Header="{Resx ResxName=PMS.UserInterface.Resources.UIResource, Key=Type}" DataMemberBinding="{Binding EncounterType}" IsReadOnly="True" IsFilterable="True" />

 

 

 

<gridviewcontrols:GridViewDataColumn HeaderCellStyle="{StaticResource HeaderCellStyle}" Header="{Resx ResxName=PMS.UserInterface.Resources.UIResource, Key=Provider}" DataMemberBinding="{Binding Provider}" IsReadOnly="True" IsFilterable="True" />

 

 

 

<gridviewcontrols:GridViewDataColumn HeaderCellStyle="{StaticResource HeaderCellStyle}" Header="{Resx ResxName=PMS.UserInterface.Resources.UIResource, Key=Location}" DataMemberBinding="{Binding Location}" IsReadOnly="True" IsFilterable="True" />

 

 

 

<gridviewcontrols:GridViewDataColumn HeaderCellStyle="{StaticResource HeaderCellStyle}" Header="{Resx ResxName=PMS.UserInterface.Resources.UIResource, Key=ClaimNo}" DataMemberBinding="{Binding ClaimNo}" IsReadOnly="True" Width="110" IsFilterable="True" />

 

 

 

<gridviewcontrols:GridViewDataColumn HeaderCellStyle="{StaticResource HeaderCellStyle}" Header="{Resx ResxName=PMS.UserInterface.Resources.UIResource, Key=FinalizedBy}" DataMemberBinding="{Binding FinalizedBy}" Width="130" IsReadOnly="True" IsFilterable="True" />

 

 

 

<gridviewcontrols:GridViewDataColumn HeaderCellStyle="{StaticResource HeaderCellStyle}" Header="{Resx ResxName=PMS.UserInterface.Resources.UIResource, Key=Status}" DataMemberBinding="{Binding Status}" IsReadOnly="True" IsFilterable="True" >

 

 

 

<telerik:GridViewDataColumn.CellStyle>

 

 

 

<Style TargetType="telerik:GridViewCell">

 

 

 

<Setter Property="Foreground" Value="{Binding Status, Converter={StaticResource MyConverter}}" />

 

 

 

</Style>

 

 

 

</telerik:GridViewDataColumn.CellStyle>

 

 

 

</gridviewcontrols:GridViewDataColumn>

 

 

 

</gridviewcontrols:RadGridView.Columns>

 

 

 

</gridviewcontrols:RadGridView>

 


2) Then i set the item source of this grid to null and then to the collection like this:

grdPendingEncounters.ItemsSource =

null;

 

grdPendingEncounters.ItemsSource = GetObservableObjectData(encountersCollection);


3) Then i am adding the Checkbox in the header of the first column like this dynamically

grdPendingEncounters.Columns[0].Header =

null;

 

CheckBox checkBox = null;

checkBox =

new CheckBox();

 

checkBox.Width = (

double)15;

 

checkBox.Checked +=

new RoutedEventHandler(CheckBox_Checked);

 

checkBox.Unchecked +=

new RoutedEventHandler(CheckBox_Checked);

 

 

grdPendingEncounters.Columns[0].Header = checkBox;


4) but it runs successfully in first go and then in second go it is not showing the check box of the first header.

5) and in third go it shows an error like "Specified element is the logical child of another element .Disconnect it first"

Please Help me out.
Thanks in advance
Shreya
Vlad
Telerik team
 answered on 12 Nov 2009
6 answers
256 views
I have a horizontal path that my RadCarouselPanel follows.  When there are only 1 or 2 items bound to my ListBox (where the RadCarouselPanel is), I want the items to appear in the center of my path instead of on the left side.  Is there a way to tell an item to appear in the center of the path?
Maria Im
Top achievements
Rank 1
 answered on 12 Nov 2009
1 answer
71 views
Hi,
  I have a window created in wpf. The window has 3 tabs: input , home, output. The 'input ' tag has radgrid control. I can edit the cells of the grid, but I want to get new value whatever I have changed in radgrid in ' home' tab.. I do not want to store in database and then acces. i want to modify the collection whatever is binded to grid and access that collectiob value to 'home' tab. please help me in this. it is
Milan
Telerik team
 answered on 12 Nov 2009
1 answer
136 views
Hi Guys,

I am new to Telerik TreeView control. If I try to drag a node to itself I can see the 'Stop' Icon which means it is a invalid target. What I am trying to do is to set certain nodes to be invalid targets so that when people drag nodes to these targets, they will see the Stop icon. Which event can I catch the drag movement or where else can I do this and how?

Thanks for the help in advance.
Kiril Stanoev
Telerik team
 answered on 12 Nov 2009
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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
Rating
SplashScreen
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
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?