Telerik Forums
UI for WPF Forum
1 answer
92 views
Hi ,,
 
   i m getting problem with rad chart bar, i m using mvvm patten , with that i got the values  but my problem is the bar is nit getting filled, i don' t know how to debug that problem. when i check my page, throughout that, i found one exception problem, that is "base {System.Exception} = {"Method may only be called on a Type for which Type.IsGenericParameter is true."}"
 in Target Type-> GenericParameterAttributes , in RadChart1.DefaultSeriesDefinition.SeriesItemLabelStyle.  so is that is the problem ? or is it the one of the reason for that bar not fill. plz give me a correct solution.

Thanks
Velin
Telerik team
 answered on 23 Sep 2010
1 answer
97 views
Hi!

What is the correspondence of the RadGridView and the RadTreeView??

Not the SelectedItem, but the CurrentItem, BECAUSE:

There is no "SelectionChanging", so I'm forced to code myself the revert to the previous element if my conditions aren't satisfied.

Then I was doing something like:

private void uxRadTreeView_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
  if (!isReverting && MyConditionsHere){
    isReverting = true;
    MainTree.SelectedItem =e.RemovedItems[0];
  }
  if(isReverting)
    isReverting = false;
}

The object seems to be "selected", but doesn't change:

image of the selected item problem

File2 is the File on which I've made a "MainTree.SelectedItem= e.RemovedItems[0]"

The File1 is the e.AddedItem[0].

Without the SelectedItem manipulation, I don't see the dashed border on it.

Thank you.
Tina Stancheva
Telerik team
 answered on 23 Sep 2010
17 answers
350 views
Hi!

I actually need to permit to an user to change of row only when some conditions have been met.

I've seen a "SelectionChanged", But with this it's too late, the row has already been changed.

So how can I catch this event and cancel it if I want it?

Thank you
Tina Stancheva
Telerik team
 answered on 23 Sep 2010
1 answer
89 views
I see the quick ability of BeginInsert() which adds to the *end* of the list and starts an edit.

How about the ability to INSERT under the current row (and optionally edit).

I realize this control is new, but I see very little examples to assist.  When I try modifying the Items it states it is in use.  When I reflect the BeingInsert, there's lots of internal calls to add at the end.  

How does one achieve this?

later and/or related: the ability to insert branches, to delete branches.

Thanks,
Nedyalko Nikolov
Telerik team
 answered on 23 Sep 2010
1 answer
69 views

hi All
I have used below statement in Telerix rad window

 

<

 

 

UserControl.Resources>

 

 

 

 

it shows this error
the attachable property 'Resources' was not found in type 'UserControl'.
what am i missing
Thanks in Advance

Yavor Georgiev
Telerik team
 answered on 23 Sep 2010
1 answer
123 views
Hey guys,

I really love the capabilities of the tileview; however I was wondering if it is possible to have multiple minimized rows at the bottom (or side if need be)?

I have attached what I would like the layout to look like ideally, please let me know if this is possible.

Many thanks in advance =)

Regards,

Jess

Tina Stancheva
Telerik team
 answered on 23 Sep 2010
1 answer
80 views
I download a trial version of RadControls for WPF Q2 2010 SP1 and trying to run the sample program. It works. But when I try to change the main interface, it's doesn't work at all.

The main page just use the user control in QuickStart_WPF.MainPage.xaml, right? I change the user control, it looks like it's never been called.

I'm confused.
Kaloyan
Telerik team
 answered on 23 Sep 2010
5 answers
153 views
Hii All,
I am using RadGridView for displaying some of the records in my application. i have one datasource in which the records are available, which i want to display in the grid.now from code behind i am binding this gridview by using code "grid.itemsource=dataset;"
i have 20 columns in my dataset.
In my application all the columns are not visible only few column are visible in the telerik datagrid depending on the datagrid width.
in this case datagrid must have a horizontal scrollviewer which must be visible, if no. of columns exceeds depending on width of grid.

now if i will try to sort datagrid by any column then horizontal scrollviewer enables and i am able to see all the columns by using this scrollviewer. 

provide/update telerik datagrid code for above mentioned problem. so that if the telerik datagrid's itemsource changes it should automatic provide the scrollviewer for viewing all the columns.

thanks
regards

sandeep kumar dixit
sdixit110@gmail.com
Vlad
Telerik team
 answered on 23 Sep 2010
2 answers
549 views
Hi,

Im using RadTab in my window.xaml page. Im able to create rad tab dynamically in c# code file but now i need to load the other window in the tabitem. can anyone help me please.

Thank You.
Jeff
Top achievements
Rank 1
 answered on 22 Sep 2010
2 answers
128 views
Hello,

I'm trying to have the carousel bind to xml data.

I Have a grid with textboxes, Image, and listbox.
Using xmlDataProvider and CollectionViewSource I'm able to point to the data file.
The issue is the data is grouped by employee name, the listbox populates the current list for that certain employee. But the IMage and other Employee info loses the binding. The Carousel populates the correct amount of employees etc.

 When I Change the Data Content the Image and Employee Info binds, but the listbox data loses its binding and the Carousel populates every node in the xml file.

Here is the code:

XML FIle
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Table>
        <RecipeID>117</RecipeID>
        <RecipeName>1620 Shrimp</RecipeName>
        <PrepTime>0.00347222222222222</PrepTime>
        <Station>PULL</Station>
        <Employee>Josa Sosa</Employee>
        <Image>Male.jpg</Image>
    </Table>
    <Table>
        <RecipeID>116</RecipeID>
        <RecipeName>26/30 Shrimp</RecipeName>
        <PrepTime>0.00347222222222222</PrepTime>
        <Station>PULL</Station>
        <Employee>Josa Sosa</Employee>
        <Image>Male.jpg</Image>
    </Table>
    <Table>
        <RecipeID>42</RecipeID>
        <RecipeName>Ale and Cheddar Soup</RecipeName>
        <PrepTime>0.03125</PrepTime>
        <Station>SS</Station>
        <Employee>Maria Anders</Employee>
        <Image>Female.jpg</Image>
    </Table>
    <Table>
        <RecipeID>41</RecipeID>
        <RecipeName>Alfredo Sauce</RecipeName>
        <PrepTime>0.03125</PrepTime>
        <Station>SS</Station>
        <Employee>Maria Anders</Employee>
        <Image>Female.jpg</Image>
    </Table>
    <Table>
        <RecipeID>126</RecipeID>
        <RecipeName>American Cheese Portioned/Wrapped</RecipeName>
        <PrepTime>0.00347222222222222</PrepTime>
        <Station>BR</Station>
        <Employee>Rick Mueller</Employee>
        <Image>Male.jpg</Image>
    </Table>
    <Table>
        <RecipeID>242</RecipeID>
        <RecipeName>Apple Cinn Scones</RecipeName>
        <PrepTime>0.0104166666666667</PrepTime>
        <Station>PULL</Station>
        <Employee>Josa Sosa</Employee>
        <Image>Male.jpg</Image>

The XAML:
<UserControl.Resources>
         
          <XmlDataProvider x:Key="ProductionData"
            Source="Database/ProductionData.xml"
            XPath="NewDataSet1/Table"/>
        <CollectionViewSource x:Key="CallPrepData"
            Source="{StaticResource ProductionData}">
         
            <CollectionViewSource.SortDescriptions>
                <scm:SortDescription PropertyName="Station" Direction="Ascending"/>
                                <scm:SortDescription PropertyName="RecipeName"/>
                                <scm:SortDescription PropertyName="Station"/>
                                <scm:SortDescription PropertyName="PrepTime"/>
                                <scm:SortDescription PropertyName="RecipeID"/>
                                <scm:SortDescription PropertyName="Image"/>
                                <scm:SortDescription PropertyName="Employee" Direction="Ascending"/>
            </CollectionViewSource.SortDescriptions>
            <CollectionViewSource.GroupDescriptions>
                <PropertyGroupDescription PropertyName="Employee"/>
            </CollectionViewSource.GroupDescriptions>
        </CollectionViewSource>
 
 <DataTemplate x:Key="TableTemplate">
 <Grid >
           
        <Image Height="107" HorizontalAlignment="Left" Source="{Binding XPath=IMage}" Margin="12,12,0,0" x:Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="120" />
        <TextBlock Height="40" HorizontalAlignment="Left" Margin="157,12,0,0" x:Name="Employeename" Text="{Binding XPath=Employee}" VerticalAlignment="Top" Width="180"  FontSize="22"/>
        <TextBlock Height="23" HorizontalAlignment="Left"  Margin="157,43,0,0" x:Name="textBlock21" Text="Station:" VerticalAlignment="Top" Width="82" FontSize="12" />
        <TextBlock Height="23" HorizontalAlignment="Left" Margin="157,66,0,0" x:Name="textBlock2" Text="Total Items" VerticalAlignment="Top" Width="82" FontSize="12" />
        <TextBlock Height="23" HorizontalAlignment="Left" Margin="157,96,0,0" x:Name="textBlock3" Text="Total Prep Time:" VerticalAlignment="Top" Width="92"  FontSize="12" />
        <TextBlock Height="23" HorizontalAlignment="Left" Margin="256,66,50,0" x:Name="textBlock4" Text="{Binding ItemCount}" VerticalAlignment="Top" Width="44"  FontSize="12" />
        <TextBlock Height="23" HorizontalAlignment="Left" Margin="255,96,0,0" x:Name="textBlock5" Text="180 min" VerticalAlignment="Top" Width="82"  FontSize="12" />
        <TextBlock Height="23" HorizontalAlignment="Left" Margin="255,43,0,0" x:Name="Stat" Text="{Binding XPath=Station}" VerticalAlignment="Top" Width="82"  FontSize="12" />
         
         
     
        <ListBox
        Margin="0,120,0,0"
        HorizontalAlignment="Left" 
        x:Name="listBox2"
        Height="490"
        Background="Transparent"
        BorderBrush="Transparent"
        ItemsSource="{Binding Items}" 
        VerticalAlignment="Top" Width="449">
        <ListBox.ItemTemplate>
            <DataTemplate>
                <StackPanel Orientation="Horizontal">
                    <Grid>
                         <Grid.ColumnDefinitions>
                                 <ColumnDefinition Width="60*" />
                                  <ColumnDefinition Width="241*" />
                         </Grid.ColumnDefinitions>
                    <TextBlock Text="{Binding XPath=RecipeID}"
                    Grid.Column="1" FontSize="16"/>
                    <TextBlock Text="{Binding XPath=RecipeName}" 
                    Grid.Column="2" FontSize="16" Margin="50,0,0,0"/>
                        </Grid>
                </StackPanel>
            </DataTemplate>
        </ListBox.ItemTemplate>
        </ListBox>
    </Grid>
        </DataTemplate>
    </UserControl.Resources>
     
     
     
     
 
    <Grid Margin="0,0,8,180" DataContext="{Binding Source={StaticResource CallPrepData}}">
     
        <telerik:RadCarousel
        Margin="0,0,0,0"
        Background="Transparent"
        ItemsSource="{Binding Groups}"
        ItemTemplate="{DynamicResource TableTemplate}" />
          
     
    </Grid>
</UserControl>


Thoughts?
Thank you

Rick Mueller
Rick Mueller
Top achievements
Rank 1
 answered on 22 Sep 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
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?