Telerik Forums
UI for WPF Forum
1 answer
124 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
102 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
297 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
83 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
124 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
136 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
88 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
3 answers
102 views

Hi Team,

I am showing charts in Listbox. I have placed RadChart Control in Itemplate. its not binding the ChartData and SeriesDefinition property. These property has value and preperty get is also called . But still its not showing series, saying "No data Series". On the other side, ChartTitle property is bound and showing chart title.

Please see this issue and send any sample.

Thanks in adavance..

Regards,
Nidhi

XAMl code attached

<ListBox  Grid.Column="0" ItemsSource="{Binding DrillDownChart}" >
         <ListBox.ItemsPanel>
             <ItemsPanelTemplate>
                 <toolKit:WrapPanel  Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Stretch"  >
                 </toolKit:WrapPanel>
             </ItemsPanelTemplate>
         </ListBox.ItemsPanel>
         <ListBox.ItemTemplate >
             <DataTemplate>
                 <Grid Width="110" Height="114">
 
                     <Grid.RowDefinitions>
                         <RowDefinition Height="*" />
                         <RowDefinition Height="Auto" />
                     </Grid.RowDefinitions>
                     <Border Grid.Row="0">
 
                         <telerik:RadChart ItemsSource="{Binding ChartData}" SeriesMappings="{Binding ChartSeriesMappings}" >
 
 
 
                             <telerik:RadChart.DefaultView>
                                 <telerik:ChartDefaultView ChartLegendPosition="Right">
                                     <telerik:ChartDefaultView.ChartTitle>
                                         <telerik:ChartTitle Content="{Binding ChartTitle}"/>
 
 
                                     </telerik:ChartDefaultView.ChartTitle>
                                     <telerik:ChartDefaultView.ChartArea>
                                         <telerik:ChartArea LabelFormatBehavior="None"   SmartLabelsEnabled="True"  >
                                              
                                         </telerik:ChartArea>
                                     </telerik:ChartDefaultView.ChartArea>
                                     <telerik:ChartDefaultView.ChartLegend>
                                         <telerik:ChartLegend Name="ChartLegend"
                                              LegendItemMarkerShape="Triangle" />
                                     </telerik:ChartDefaultView.ChartLegend>
                                 </telerik:ChartDefaultView>
                             </telerik:RadChart.DefaultView>
 
                         </telerik:RadChart>
 
 
                     </Border>
 
                     <TextBlock Text="{Binding ChartTitle}" Grid.Row="1" />
 
                 </Grid>
             </DataTemplate>
         </ListBox.ItemTemplate>
     </ListBox>

Ves
Telerik team
 answered on 04 Nov 2011
2 answers
98 views
Hi,
I've recently started using Rad controls for WPF in Powerbuilder .NET 12.5

I'm using powerscript to control most of the basic events within my Radbuttons (such as open / close windows, set text labels, etc.)

The issue I'm having is getting full control of the Radsplitbutton.

For example, I currently have a radsplitbutton1 where isOpen = true when the MouseEnter event occurs.  I can also use AutoOpenDelay to achieve the same result.

However, I cannot find any way to close the popup.  I've tried putting isOpen = false into the MouseLeave and LostFocus events, but it never closes.  And there doesn't seem to be anything similar to AutoOpenDelay which will close the popup instead of open it.

Also, the AutoOpenDelay seems to cover the entire button.  I'm not sure if there is a way to open the popup ONLY when the mouse is on the drop down arrow?
Petar Mladenov
Telerik team
 answered on 04 Nov 2011
1 answer
76 views
I have a grid bound to an Entity Framework-based CollectionViewSource.

For the sake of this example, my columns (left->right) are:
  • Name - in the database this is required, unique, and non-Null
  • Serial # - a string

I'm getting an exception when trying to escape editing a new line
  1. Press <click here to add new item>
  2. Type in a name
  3. press <TAB> to advance to serial # column and type in a serial number
  4. press <BACKTAB> to move focus to Name column
  5. delete everything in the Name field that you just entered
  6. Press <ESCAPE> once
My Entity Framework code throws an exception in the Device.Name property setter because it's been passed a Null.

I was under the impression that pressing <ESCAPE> was supposed to exit editing mode and pressing it twice on a new line was supposed to discard it.  That (the latter) does happen if I've entered no data in the columns or valid data.  If I continue (and ignore the exception), the new row is discarded, but I'm concerned because I don't understand what's happening.

When pressing <ESCAPE>, neither the row or cell validation methods are called, which makes sense.

Why is the RadGridView attempting to update the underlying data when it's about to be discarded?



Nedyalko Nikolov
Telerik team
 answered on 04 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?