Telerik Forums
UI for WPF Forum
6 answers
629 views

Telerik grid row is overlapping when GridViewDataColumn is having multiline text.

Workaround : If we resize column or apply any filter, row overlapping disappears.

How do we avoid this row overlapping?

            <telerik:GridViewDataColumn
                        DataMemberBinding="{Binding ConnectedCardInfo, Mode=OneWay}"
                        IsReadOnly="True" UniqueName="ConnectedCardInfo">

                <telerik:GridViewDataColumn.Header>
                    <TextBlock Text="Connected Card Info" TextWrapping="WrapWithOverflow" ToolTip="Connected Card Info"/>
                </telerik:GridViewDataColumn.Header>
            </telerik:GridViewDataColumn>

Stefan Nenchev
Telerik team
 answered on 11 Jul 2016
1 answer
106 views

Hello. We have got a weird issue. We have a data provider which returns IQueryable like

Source = new QueryableCollectionView(_dbContext.Orders.AsNoTracking());

Then it's bound to the rad grid view.

 

The problem appears when edit mode is activated, after lost focus new row to the gridview is added. If I don't use AsNoTracking it works fine.

Stefan Nenchev
Telerik team
 answered on 11 Jul 2016
1 answer
80 views

I'm trying to change the line colour of the entire ScheduleView - I've got as far as changing the TimeRulerLineStyle to the desired colour and the Major/Minor Ticks and I've also changed the colour of the GroupHeader borders, but there are a few lines that still seem to take the value of the Office Black theme which I am using and I want to know what they are part of so I can change them - please see attached screenshot (red circles).

There is a blue circle on the screenshot - I would like a line joining the top of my resources to the DefinitionView bar - is this possible?

Yana
Telerik team
 answered on 11 Jul 2016
2 answers
174 views

Hello;

 I am working with RadScheduleView for WPF in my project. The goal is to define typical week days appointement with different catagories. When the user double click on a specific appoitment, we need to assign a selected user considered as responsible for that period.

The project makes use of MEF and MVVM logic to implement the view. The issue I get is that I am unable to select any defined appointement. The selected appointment variable is null in my view model and it is not highlighted when clicked

 

I did the same thing with a new window, and it works perfectly.

So, is there any issue regarding the use of RadScheduleView in MEF/MVVM logic ? Do you see any other issue that may explain the issue ?

 

Thanks for your reply

Best regards

Alireza
Top achievements
Rank 1
 answered on 09 Jul 2016
7 answers
176 views

I have an instance of RadTreeListView in my WPF MVVM Prism 6 application (my application is pure MVVM without code behind). I'm interested in searching of specified item in RadTreeListView in a programmatical way. The instance of RadTreeView in my application is bound to an instance of ObservableCollection comprising hierarchical data.

private ObservableCollection<ProfileElementType> _myCollection = new ObservableCollection<ProfileElementType>();
 
// This property is the data source for RadTreeListView.
public ObservableCollection<ProfileElementType> MyCollection
{
    get{return this _myCollection;}
    set{this.SetProperty(ref this._myCollection, value);}
}

ProfileElementType class is the base class for two classes that are derived from him. These derived classes are: Group and Register. The definition of ProfileElementType class, Group class and Register class you can see in my post in Stackoverflow at:  http://stackoverflow.com/questions/37058259/why-is-invalideoperationexception-thrown-when-i-try-to-serialize-to-xml-an-obser .  In "Hierarhy.PNG" attached file you can see how hierarchy is displayed in RadTreeView on the screen. In pure MVVM I can use only properties and mapped to commands events. But I can't use control's methods there. Is it possible to realize search in such RadTreeView in pure MVVM application?

P.S. If you need any additional Information please tell about it.

Stefan
Telerik team
 answered on 08 Jul 2016
1 answer
82 views
Is it possible to have different section columns setting at the same page? For example, two columns at upper page and no column at lower page.
Boyko
Telerik team
 answered on 08 Jul 2016
1 answer
141 views

I want to change the row color selected by using mouse.

private void radGridView1_RowLoaded(object sender, RowLoadedEventArgs e)
  {
           var row = e.Row as GridViewRow;
           if (row != null)
           {
               row.IsCurrent = true;
               row.AddHandler(GridViewRow.MouseLeftButtonDownEvent,
            new MouseButtonEventHandler(GridViewRow_MouseLeftButtonDown), true);
           }
   }
 
       private void GridViewRow_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
       {
            // not sure how          
       }

Stefan Nenchev
Telerik team
 answered on 08 Jul 2016
1 answer
175 views

Hello,

Is this property Bindable? I have a Barseries and a Lineseries, the LineSeries should only apply to the last data series, if i put in the right index it works, but with binding no getter gets called.

Martin Ivanov
Telerik team
 answered on 08 Jul 2016
1 answer
403 views

Hi.

I use RadDocking in my app and I have a few panes that I want to block the user capability to dock another pane on it.

How can I achive this behaviour?

Regards,

Elad

Polya
Telerik team
 answered on 08 Jul 2016
2 answers
104 views

I think I saw a thread on this, but it was very old, like 2011, so I'm bringing it back up.

The whole point of a "Full Row" selection mode is to select a full row. Not a cell. I know, you highlight the whole row. But there's still a box around a "current cell". As well, keyboard navigation is whacked now. Using the left/right arrow keys should either do nothing, or better yet move the selection row by row. What happens now is that this "current cell" box moves with the left/right arrow keys. Not fun in a grid with 30 columns :( Extended selection mode is also problematic if you are holding down the Shift key and accidentally press a left/right arrow key.

Can we make SelectionUnit=FullRow actually be "Full Row"?

(I've also got EditTriggers set to None, so I have no plans on making any cell editable, in case you were wondering.)

Thanks.

 

Maya
Telerik team
 answered on 08 Jul 2016
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?