Telerik Forums
UI for WPF Forum
3 answers
103 views
We're having some problems upgrading our project to the current release (2011 Q1) from an earlier version. 
We are attempting to upgrade from Q2 2010, and we've confirmed that the Q3 2010 seems to work fine. 

The issue is with autogenerated GridViewColumns that are to be invisible by business logic (we have some controls
that require additional parameters to be in the bound dataset). The columns seems to ignore the visible-switch or have some
new logic regarding column width calculation, so that the result is a grid with column values overlapping the same space. 

Upon resizing the column headers, the cells snaps back to their respective columns, but initially they are overlapping. There
seem also be some extra columns in the header, probably correlating to the hidden columns in our dataset.

PS! I'm using the binaries with version/tag  v.2011.1.315.40 


Best regards, 
Finn
Hristo
Telerik team
 answered on 22 Mar 2011
1 answer
123 views
I have implemented: public partial class MyFilterControl : IFilteringControl {...}
VisualStudio 2010 Design surface has no problem rendering MyWindow with
<telerik:RadGridView>
    <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn ShowFieldFilters="True" >
            <telerik:GridViewDataColumn.FilteringControl>
                 <uc:MyFilterControl />
            </telerik:GridViewDataColumn.FilteringControl>
        </telerik:GridViewDataColumn>
    <\telerik:RadGridView.Columns>
</telerik:RadGridView>

Expression Blend 4 can't render the window and has an error:
The specified value cannot be assigned. The following type was expected: "IFilteringControl"
Rossen Hristov
Telerik team
 answered on 22 Mar 2011
2 answers
149 views

Hi, I've just installed the 2011 Q1 binaries and have found that my GroupHeaderStyleSelector, although still called,  is not being used to style the resource GroupHeaders.

The attached files illustrate the problem:-

presingledayresizeproblem.png - Group Header styling pre-2011 binaries
missinggroupheaderstyling.png - Group Header styling with 2011 Q1 binaries

Please advise what has changed.

Thanks,
Peter. 
Peter
Top achievements
Rank 1
 answered on 22 Mar 2011
2 answers
189 views
Hi,

could it be, that there are some "bugs" in Schedule View?

First i tried following:

<radSchedulerView:RadScheduleView FontSize="18" x:Name="_sView" Grid.Column="0" Grid.RowSpan="2">
 
            <radSchedulerView:RadScheduleView.ViewDefinitions>
                <radSchedulerView:DayViewDefinition DayStartTime="00:00:00"  DayEndTime="23:59:59"  MinTimeRulerExtent="1800" />
                <radSchedulerView:WeekViewDefinition DayStartTime="00:00:00"  DayEndTime="23:59:59" MinTimeRulerExtent="1800"/>
                <!-- MonthView has fixed tick lengths and extents! -->
                <radSchedulerView:MonthViewDefinition />
                <radSchedulerView:TimelineViewDefinition DayStartTime="00:00:00"  DayEndTime="23:59:59"  MinorTickLength="1day" />
            </radSchedulerView:RadScheduleView.ViewDefinitions>
        </radSchedulerView:RadScheduleView>



 _sView.AppointmentEditing +=
                    new EventHandler<AppointmentEditingEventArgs>(OnScheduler_AppointmentEditing);
_sView.AppointmentCreating +=
                    new EventHandler<AppointmentCreatingEventArgs>(OnScheduler_AppointmentCreating);



private void OnScheduler_AppointmentCreating(object sender, AppointmentCreatingEventArgs e)
{         
            e.Cancel = true;
}
 
 
private void OnScheduler_AppointmentDeleting(object sender, AppointmentDeletingEventArgs e)
        {
            e.Cancel = true;
        }

Every time I double click an Appoinment in Schedule View, the Edit Dialog appears although I have set e.Cancel=true. The same thing happens, if I double click a Time Slot. I think e.Cancel=true should prevent showing the edit dialog?

Second thing is also not working: In the Control RadScheduler following worked:


_sView.MouseLeftButtonUp += new MouseButtonEventHandler(OnScheduler_MouseLeftButtonUp);


private void OnScheduler_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            MccmAppointment selectedAppointment = _sView.SelectedAppointment as MccmAppointment;
 
...
...
          
        }

But in Schedule View, the event Mouse Left Button Up does not fire, I i click on an Appointment. But it fires, if I click on any other UIElement. I can't figure out why?

Please help me asap!

Thanks,
Ronald

Valeri Hristov
Telerik team
 answered on 22 Mar 2011
1 answer
59 views
Hi,

I would like to show appointments in Month View with a fixed height of say 50 px. I could not find the place in the schedule view's theme (I am using ScheduleView.xaml for additional design). Is there an easy way to do this?

Valeri Hristov
Telerik team
 answered on 22 Mar 2011
5 answers
1.2K+ views
Hy all,

I tried to bind the IsPinned and the Visiblity property of the RadPane. When a user logs-in IsPinned shall be set to true and Visibility is set to Visible. On the other hand on logout IsPinned=false and Visibility=Hidden.

Unfortunately on login the Pane is not pinned?
Is there an other way to implement this?

I'm using the latest oficial release.
Dani
Telerik team
 answered on 22 Mar 2011
5 answers
352 views

Hello, I have two question about Grid View.

 

Q1. How to change background color of the title row? I’d tried to change the background color of some columns’ title, but the first column’s background and the border are still black.

 

Q2. I also don’t know how to change the background of the child table.

 

Thank you!

Zhiwei.

Vanya Pavlova
Telerik team
 answered on 22 Mar 2011
3 answers
153 views
Hi

I'm attempting to create a custom template for the RadGridView control. When I try to do this, Blend hangs. I am using the latest Q1 release of the Telerik controls, and

To reproduce the issue:

1. Create a blank wpf project in Blend
2. Drag a RadGridView onto the main window.
3. Edit a copy of the current style for the RadGridview
4. Edit the current template of this Style
5. Blend freezes.

Anyone else see this?

Tom
Vanya Pavlova
Telerik team
 answered on 22 Mar 2011
2 answers
150 views
Hi,
I'm  trying to display two datatypes in a RadTreeListView through XML. The first datatype, 'Director', with two properties: 'Name', and a property 'Function' . Function contains two properties i.e Name and FunctionType.


--------------------------------------------------------------------------------------------------
public
class Director
{
    public string Name{ get; set; }
    public ObservableCollection<Function > Function { get; set; }
}
 
public class Function
{
    public string Name { get; set; }
    public string FunctionType{ get; set; }
 }

 

 

 

<Window.Resources>

 

 

 

<local:RadTreeListXmlDataSource x:Key="TreeSource" Source="TestData.xml" />

 

 

 

 

 

</Window.Resources>

 

 

 

 

 

 

 

  <telerik:RadTreeListView CellEditEnded="RadTreeListView1_CellEditEnded" x:Name="RadTreeListView1" RowIsExpandedChanged="RadTreeListView1_RowIsExpandedChanged"

 

 

 

 

  AutoGenerateColumns="False" ItemsSource="{StaticResource TreeSource}">

 

 

 

 

  <telerik:RadTreeListView.ChildTableDefinitions>

 

 

 

 

  <telerik:TreeListViewTableDefinition ItemsSource="{Binding Items}" />

 

 

 

 

  </telerik:RadTreeListView.ChildTableDefinitions>

 

 

 

 

  <telerik:RadTreeListView.Columns>

 

 

 

 

  <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Header="Name" />

 

 

 

 

  <telerik:GridViewDataColumn DataMemberBinding="{Binding Source}" Header="Type" />

 

  

 

</telerik:RadTreeListView.Columns>

 

 

 

 

</telerik:RadTreeListView>

 




-------------------------------------------------------------------------------------------------

I was able to edit the Director's properties but when I tried to edit Function's properties i.e Funnction Name ,
I got an error saying "Object does not match target type".
Can you please provide a sample for the above functionality?


Sharada
Top achievements
Rank 1
 answered on 22 Mar 2011
2 answers
132 views
In other products, I had a ValuePath property and Value property, which allowed me to specify
1. The property of the lookup collection to use for the identifier of the value on the data context (ValuePath)
2. The value of the item in the data context, uh, (Value)

I assume SelectedValue is the property for Value?

Is there a ValuePath property? How do I specify that StateId from a State collection bound to the radcombo is the property to use for StateId on a Address object?

Thanks,

Morgan
Morgan
Top achievements
Rank 1
 answered on 22 Mar 2011
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
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?