Telerik Forums
UI for WPF Forum
1 answer
88 views
Hello,

1)
Is it possible to get ActualWidth of AxisX?
we can easily find ActualWidth  of Chart area by RadChart1.DefaultView.ChartArea.ActualWidth.
But unable to find ActualWidth   of AxisX.

2)
Is it possible re-template of item label AxisX?



Thanks in advance.

Regards,
Dhaval patel.

Tsvetie
Telerik team
 answered on 07 Nov 2011
1 answer
121 views
Hello,

Using 2011 Q2 RadScheduleView im trying to "Shrink" the size of the month view so that it is smaller and has no scroll bar.I can do this easily for the day and week view using the (Min/Max)TimeRulerExtents but these have no impact in month view.

How can I achieve this functionality?

Thanks.
Konstantina
Telerik team
 answered on 07 Nov 2011
3 answers
116 views
Hello,

I have a gridview bound to an observablecollection( of linq to sql class)
For editing a foreignkey in this class I use a gridviewcombocolumn:
Grid.Columns.Add(New GridViewComboBoxColumn With {
                                             .Header = "PC",
                                             .ItemsSource = vm.PurchaseCodes,
                                             .SelectedValueMemberPath = "",
                                             .DataMemberBinding = New Binding("PurchaseCode"),
                                             .DisplayMemberPath = "DisplayName"})
In this situation the filtercontrol gives an error and also I've the idea that binding like this gives slower performance than binding to "PurchaseCodeID", like this:
Grid.Columns.Add(New GridViewComboBoxColumn With {
                                             .Header = "PC",
                                             .ItemsSource = vm.PurchaseCodes,
                                             .SelectedValueMemberPath = "PurchaseCodeID",
                                             .DataMemberBinding = New Binding("PurchaseCodeID"),
                                             .DisplayMemberPath = "DisplayName"})
But in this situation linq to sql gives a foreignkeyreferencealreadyhasvalueexception.

Do you have any suggestions for my problem?

Thomas




                                          
Pavel Pavlov
Telerik team
 answered on 07 Nov 2011
1 answer
135 views

Please help me to understand how to approach styling the "AutoHide" component of the RadDocking component via Blend. 

 

I have attached 2 screens shots. 

 

The "BaseSS" attachment is the initial view of the Docking component styled up to this point via Blend, and the "AutoHideSS" attachment is the result of selecting "AutoHide" from the pin dropdown menu.

 

When creating the RadDockingStyle for the RadDocking TargetType / there are many references to telerik:Office_BlackTheme which seems to control the presentation for the AutoHideArea Target Type. 

 

I need to know specifically how I should approach styling <ControlTemplate TargetType="{x:Type telerik:AutoHideArea}">  to match up with the styling I have already completed.

// I am assuming I'm correct in thinking this controls the display shown in "AutoHideSS.png"

 

When in Blend I do not get the ability to access this template in the "Edit Additional Templates" menu options.

 

I need to know how to get to this template and if it is not the correct one... if you could point me to the correct template I need to augment.

 

OR if I would be better served editing the Office_BlackTheme resources in the Telerik base files to match up the hex values or if that is even wise / feasible.
Thanks.
Dan

Dani
Telerik team
 answered on 07 Nov 2011
2 answers
105 views
Hello,

I need to change the category of an appointment by the fly without using the dialog. But the ScheduleView will not update visual before switching the view (e.g. switching to next day and return). How can I force an update?

Here my simple code for changing the categories.

foreach (Appointment app in this.dataModel.Appointments)
{                 
     app.Category = (Category)this.myCategoriesHT["CategoryID"];
}
John
Top achievements
Rank 1
 answered on 07 Nov 2011
13 answers
302 views

I get an exception when trying to drag a radpanel with the following layout:

<telerik:RadDocking x:Name="radDocking" Grid.Row="1">
    <telerik:RadDocking.DocumentHost>
        <telerik:RadPaneGroup x:Name="radPaneDocuments">
            <telerik:RadPane x:Name="radPane1" Header="Document 1">
                <TextBlock TextWrapping="Wrap" Text=""></TextBlock>
            </telerik:RadPane>
            <telerik:RadPane x:Name="radPane2" Header="Document 2">
                <TextBlock TextWrapping="Wrap" Text=""></TextBlock>
            </telerik:RadPane>
        </telerik:RadPaneGroup>
    </telerik:RadDocking.DocumentHost>
    <telerik:RadSplitContainer x:Name="radSplitContainer" InitialPosition="DockedLeft" Width="150">
        <telerik:RadPaneGroup x:Name="radGroupMenu">
            <telerik:RadPane x:Name="radPaneMenu" Header="Menu">
                <StackPanel>
                    <telerik:RadButton x:Name="btnCustomers" Content="Customers" />
                    <telerik:RadButton x:Name="btnMachines" Content="Machines" />
                </StackPanel>
            </telerik:RadPane>
        </telerik:RadPaneGroup>
    </telerik:RadSplitContainer>
</telerik:RadDocking>

I don't know what's wrong with the layout.

Thanks in advance.
Miroslav Nedyalkov
Telerik team
 answered on 07 Nov 2011
1 answer
88 views
I installed RADControls on my system today in order to evaluate the ScheduleView, and I just can't get any sample data into Blend. I ended up creating a simplistic view model that just exposes an ObservableCollection<IAppointment> and the generated sample data still causes the designer to crash with a null reference exception. I then copied the data from the demos into the file, but with the same result, so for now, I'm at a loss.

Thanks for your advice
Philipp
Dani
Telerik team
 answered on 07 Nov 2011
2 answers
132 views
Hi,

I have a radtreeview which is filled with a hierarchical datatemplate which contains 2 levels,
when I try to drag a childnode the drag show the toplevelnode, see picture attached.

Am I missing something?

Can you help me?
david
Top achievements
Rank 1
 answered on 07 Nov 2011
1 answer
139 views
Dear Community,

I have a requirement to populate large volume of data in the grid. I am using RadGridView with data virtualizaiton. I am not using Entity Framework rather using odp.net(oracle provider). Grid populates data using WCF service and while scrolling it is showing desired results. But sorting, grouping , filtering .. none of the features are working. Select All option throws exception! Is there any sample code the same using odp.net or ado.net?

Regards,
Godwin
Vlad
Telerik team
 answered on 07 Nov 2011
0 answers
96 views

Please disregard, of course my problem turns out to be a style issue. A great tool style inhertance - until you loose track or forget to define a key. Well another lesson learned and a few hours wasted - business as usual!
Mike
Top achievements
Rank 1
 asked on 06 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?