Telerik Forums
UI for WPF Forum
2 answers
115 views
Hi,

We've noticed that using RadDocking if we have a floating ToolWindow which is later closed and the docking layout is saved then later loaded with LoadLayout we see the floating toolwindow appear briefly then animate/fade away.

I'd like to avoid the confusing UI experience. Does anyone know how to avoid seeing this brief glimpse of the floating toolwindow before LoadLayout decides to hide it? 

John
John Schroedl
Top achievements
Rank 2
 answered on 22 Oct 2010
6 answers
163 views
Hi,
I'm looking for a way to invert the transition of movement in "SlideAndZoomTransition".
I'm implementing a behavior of type: "Go Forward" and "Go Back" between some userControls (in a "Wizard Like" situation).

Is It possible to invert the movement direction of the transition when I choose "Go Back"?

thanks a lot
Michele

Riccardo
Top achievements
Rank 1
 answered on 22 Oct 2010
1 answer
107 views
Hi,

I would like to change completely the look of the grid view. I don't want to use Black or Blue theme.
It is not possible to get the style with blend. Could you please send me all the style/template code of the grid view ?
It is not easy to change the header color or to remove the white background color of the grid view content.

Thank you in advance,

Suzi

Vanya Pavlova
Telerik team
 answered on 22 Oct 2010
2 answers
160 views
I'm trying to create a RadCarousel which does not show the scrollbar-buttons and supports scrolling by clicking on items or by using the keyboard navigation keys. This is (almost) working smoothly, with the current solution:

            <telerik:RadCarousel Name="carousel" HorizontalScrollBarVisibility="Hidden"
                                 ItemsSource="{Binding Path=Templates}"
                                 ItemTemplate="{StaticResource template}"
                                 SelectedItem="{Binding Path=SelectedTemplateAndFolder}" />

Now, the issue is that if you click outside the items in the carousel but inside the carousel boundary, you can scroll by using left and right navigation keys. If you click on an item in the carousel, the ability to navigate with the keyboard is lost. The different navigation behavior, based on where you clicked in the carousel, leads to a quirky user-experience and I would really like to know if there is a solution to this problem.
Marius
Top achievements
Rank 1
 answered on 22 Oct 2010
1 answer
312 views
Hi,
The WinForms RadChart control has a SeriesPalette property that allows us to set the series colors to a predefined color scheme (for instance BabyBlue, Classic, Rainbow, etc.).  I see that the WPF chart allows you to create a custom palette of colors to use for pie charts, but I don't see a way to map the wedge colors to a predefined theme.  Is that possible with the WPF chart?

Many Thanks!
Evgenia
Telerik team
 answered on 22 Oct 2010
1 answer
242 views
Hi

I noticed that RadDateTimePicker control has both SelectedDate & SelectedValue properties. How are they both different and if I have to bind to a database field which one should I be using.

Regards
Kiran
Konstantina
Telerik team
 answered on 22 Oct 2010
5 answers
280 views

Hi,

I am try to bind a RadGridView to DataView because of the Notify events that are already available. I am using the WPF MVVM architecture therefore the Grid is defined in the XAML and the DataView in my presentation Layer. I have a background worker that will populate the table in the DataView and I was hoping the RadGridView would then update accordingly. I am not too sure why it is not working or whether it can work in this context. Please see the code snippet below.

 


View:

<telerikGrid:RadGridView x:Name="activeSessionsGrid" AutoGenerateColumns="True" ItemsSource="{Binding Path=ActiveSessions}"

</telerikGrid:RadGridView> 


Presentation Model:

private DataView _activeSessions;

 

public DataView ActiveSessions

{

     get

     {

        return this._activeSessions;

     }           

}

private void GenereateTableStructure ( )

{

this._activeSessions = new DataView ( ); 

this._activeSessions.Table = new DataTable ( "Sessions" );

this._activeSessions.Table.Columns.Add ( "ID" );

this._activeSessions.Table.Columns.Add ( "Name" );

this._activeSessions.Table.Columns.Add ( "Surname" );

this._activeSessions.Table.Columns.Add ( "Designation" );

this._activeSessions.Table.Columns.Add ( "User Name" );

this._activeSessions.Table.Columns.Add ( "Email Address" );

this._activeSessions.Table.Columns.Add ( "Last Access Time" );
}

//BackgroundWorker that populates the _activeSessions table

 


Thanks in advance for your assistance.

Chris
Top achievements
Rank 1
 answered on 22 Oct 2010
1 answer
278 views

I want to localize my GridView from xml file which has translation for my GridView headers.

I use next code:

   <Window.Resources>
        <Style TargetType="telerik:GridViewDataColumn">
            <Setter Property="Header" Value="someValue"/>
        </Style>
    </Window.Resources>
  
  
<Grid>
    <telerik:RadGridView HorizontalAlignment="Left" Name="radGridView1"  VerticalAlignment="Top"  >
  
    </telerik:RadGridView>
  
</Grid>


and my code behind:
public partial class Window1 : Window
{
    public Window1()
    {
        InitializeComponent();
 
        var lst = new List<Foo>
                      {
                          new Foo() {CompanyName = "Burkinafaso", Phone = "6666"},
                          new Foo() {CompanyName = "Reebok", Phone = "555"}
                      };
 
        radGridView1.SetBinding(RadGridView.ItemsSourceProperty, new Binding {Source = lst});
    }
}
 
public class Foo
{
    public string CompanyName { get; set; }
    public string Phone { get; set; }
 
}

 
But Headers not change. Why I cannot change headers with this approach?
 I am planning to bind TextBlock to the XmlNode value and get appropriate translation by Header system name



Vanya Pavlova
Telerik team
 answered on 21 Oct 2010
7 answers
873 views
Hi,

Given the grid below:

<my:RadGridView 
            x:Name="grdData"
            VerticalAlignment="Stretch"
            ItemsSource="{Binding List}"
            ShowGroupPanel="False"
            AutoGenerateColumns="False"
            EditTriggers="None"
            CanUserSelect="False"
            Tag="{Binding ComboBoxList}"
            >
            <my:RadGridView.Columns>
                <my:GridViewDataColumn Header="Variable" TextAlignment="Center">
                    <my:GridViewDataColumn.CellTemplate>
                        <DataTemplate>
                            <ComboBox 
                                ItemsSource="{Binding RelativeSource={RelativeSource FindAncestor, 
                                                AncestorType={x:Type my:RadGridView}, AncestorLevel=1}, Path=Tag}"
                                SelectedValuePath="Value"
                                DisplayMemberPath="Name"
                                SelectedValue="{Binding SelectedItem}"
                                />
                        </DataTemplate>
                    </my:GridViewDataColumn.CellTemplate>
                </my:GridViewDataColumn>
            </my:RadGridView.Columns>
        </my:RadGridView>

Which is a grid with a single column which has a custom datatemplate with a combobox in it. Each item in the list has a value assigned (no ComboBox is empty).

When the list is long and the vertical scrollbars are visible, if I drag the scrollbar down, hiding a few items at the top, sometimes the items that were hidden re-appear unselected (DependencyProperty.UnsetValue).

I solved the issue by turning off the Row Virtualization (EnableRowVirtualization="False") but I would like to know if this is a bug or if I am missing a step when using custom datatemplates with virtualization.

I can submit a bug report with a demo of the problem if you prefer.

Thanks,
Jose
Jose Simas
Top achievements
Rank 2
 answered on 21 Oct 2010
1 answer
93 views

"Consider whether the performance impact of registering in the container and resolving instances from it is acceptable in your scenario. For example, if you need to create 10,000 polygons to draw a surface within the local scope of a rendering method, the cost of resolving all of those polygon instances through the container might have a significant performance cost because of the container's use of reflection for creating each entity." 

Please see the section title, "Considerations for Using the Container", in the following link:
http://msdn.microsoft.com/en-us/library/ff921140(v=PandP.20).aspx

One possible solution is not to resolve/inject the module containing your rendering method inside the Unity Container.

You folks at Telerik may want to take a closer look at this, perhaps do a mockup to test this out,  given that Unity is being use for a great many projects.

Patrick
Vladimir Milev
Telerik team
 answered on 21 Oct 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?