Telerik Forums
UI for WPF Forum
2 answers
93 views

Does WPF GridView has support for F2 (excel like editing) and delete row feature? How can this features be achieved ? If not when these features are expected to be included ?

Anurodh
Top achievements
Rank 1
 answered on 03 Sep 2008
1 answer
120 views
Hi,

Within approximately 1½ month our subscription to the RadControls for WinForms will end, and therefore we are currently in the process of deciding of what to do next. We are considering the following options:

A) Upgrade our current subscription to an RadControls for ASP.NET AJAX + WinForms + Telerik Reporting subscription.

or

B) Wait for the RadControls WPF release (Upgrade our existing application to WPF).

However a couple of questions comes to mind when listing the two options.

1) If we choose to upgrade as described in option A what kind of RadControls for WPF license is included? Is it an anual subscription or is just the first release we will gain access to?

2) If we wait for the official release of RadControls for WPF will it be possible to upgrade to it from our current subscription, or will we have to do an entirely new purchase?

Cheers,
Rasmus
Donna
Telerik team
 answered on 01 Sep 2008
1 answer
58 views
RadTabControl has bug, by default it make their content controls like (TextBox, ComboBox) shows raedonly non editable in running mode for RadTabItem.

Only CheckBox control can be editable when used with RadTabControl otherwise TextBox and ConboBox are behaving like non editable readonly controls when hosted into RadTabControl
Miroslav
Telerik team
 answered on 01 Sep 2008
3 answers
226 views
HI,
i download the trial of WPF controls, but with this release of the framework don't work.
Can i use this control with the SP1 of the .Net Framework?

Thank's
Hristo Deshev
Telerik team
 answered on 01 Sep 2008
1 answer
124 views
I have tried RadTabControl for data entry Form, where I am facing problem with controls like TextBox and ComboBox once added it for RadTabItem then in running state those controls are always showing in readonly(Non editable) mode by default. Please provide solution for this.
Miroslav
Telerik team
 answered on 01 Sep 2008
1 answer
84 views
Hi,
I just started playing with the RadDatePikcer and overall it looks very good. I have only few comments at this point:

1. The control needs to provide the input mask for the user. Currently control allows any input and will not prompt user if it's not valid (it is simply discarded)
2. The zoom animation shouldn't play when drop down is expanding. It also plays when calendar is used as standalone control and I belive it should play only when user makes action.
3. Provide control descriptions that would show in toolbox in blend.
4. Support IsReadOnly property so the user can select and copy value but can't change it.
5. Add support for time input. The time picker would be nice but control should at least alow to enter time manually.
6. The drop down button in the default skin should be changed to look the same like in Vista: this means the down arrow with a calendar icon. The button shouldn't be a TabStop either.
7. Dropdown changes width when swiching from month view to any other view.
8. Add today button in the drop-down (optional).

This is all I found so far.

Thanks for the great work and I'm looking forward for the next release.

-Szymon
Miroslav
Telerik team
 answered on 25 Aug 2008
1 answer
87 views
Hi,

 I installed the trial version of WPF. Started C# Samples and clicked on RadGridView --> First Look and clicked on one of the menu items in the left.


I got the following error

Failed object initialization (ISupportInitialize.EndInit). I have the screenshot but unable to post it in the forum.

Pradeep
Milan
Telerik team
 answered on 22 Aug 2008
1 answer
111 views
I'd like to hear, if and when , are you going to add the popup autogenerated edit form to your wpf grid.
One of the best feature of the ajax asp net grid,  is a must have for the wpf grid.

Thanks
Regards
Milan
Telerik team
 answered on 14 Aug 2008
4 answers
205 views
Hello,

I'm facing some problems with CurrentRecord. I'm binding the object with CurrentRecord. I can't get the currentrecord from the code where I keep the object.

XAML

<UserControl x:Class="DevExpTest.PersonsView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:model="clr-namespace:DevExpTest" 
    model:ObjectReference.Declaration="{model:ObjectReference window}"
    Height="419" Width="537" xmlns:my="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input">
    <UserControl.Resources>
        <ObjectDataProvider ObjectType="{x:Type model:PersonsViewModel}" x:Key="viewModel">
            <ObjectDataProvider.ConstructorParameters>               
                <model:ObjectReference Key="window"/>
            </ObjectDataProvider.ConstructorParameters>
        </ObjectDataProvider>
    </UserControl.Resources>
    <Grid>
        <my1:RadGridView Margin="0,10,28,43" Name="radGridView1"
                         xmlns:my1="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"
                         ItemsSource="{Binding Source={StaticResource viewModel}, Path= GetData}"
                         CurrentRecord="{Binding Source={StaticResource viewModel}, Path= ActiveRecord}"
                         />
    </Grid>
</UserControl>

ViewModel

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Data;
using System.ComponentModel;

namespace DevExpTest {
    public class PersonsViewModel : INotifyPropertyChanged {
        private IView _iView;
        private ListCollectionView _persons;
        private Person _activeRecord;

        public PersonsViewModel() {
            loadData();
        }
        private void loadData(){
            List<Person> p = new List<Person>();
            p.Add(new Person(){ ID = 1, Name= "Michael Sync" });
            p.Add(new Person(){ ID = 1, Name= "Julia" });

            _persons = new ListCollectionView(p);

        }
        public PersonsViewModel(IView iv)
            : this() {
            _iView = iv;
        }
        public Person ActiveRecord {
            get {
                return _activeRecord;
            }
            set {
                _activeRecord = value;
                SendPropertyChanged("ActiveRecord");
            }
        }
        public ListCollectionView GetData {
            get {
                //_persons.Filter = obj => {
                //    return false;
                //};

                return _persons;
            }
        }

        #region Event Handlers

        /// <summary>
        /// This method raises the property changed event.
        /// </summary>
        /// <param name="propertyName">The property name which value has been changed</param>
        protected void SendPropertyChanged(string propertyName) {
            if (_propertyChanged != null) {
                _propertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
        #endregion

        #region INotifyPropertyChanged Members

        public event PropertyChangedEventHandler _propertyChanged;

        public event PropertyChangedEventHandler PropertyChanged {
            add {
                _propertyChanged += value;
            }
            remove {
                _propertyChanged -= value;
            }
        }

        #endregion
    }
    public class Person : INotifyPropertyChanged {
        private int Id;
        private string name;

public string Name
{
  get { return name; }
  set { name = value;
      SendPropertyChanged("Name");
  }
}
        public int ID
        {
          get { return Id; }
          set { Id = value;
          SendPropertyChanged("ID");}
        }

        #region Event Handlers

        /// <summary>
        /// This method raises the property changed event.
        /// </summary>
        /// <param name="propertyName">The property name which value has been changed</param>
        protected void SendPropertyChanged(string propertyName) {
            if (_propertyChanged != null) {
                _propertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
        #endregion

        #region INotifyPropertyChanged Members

        public event PropertyChangedEventHandler _propertyChanged;

        public event PropertyChangedEventHandler PropertyChanged {
            add {
                _propertyChanged += value;
            }
            remove {
                _propertyChanged -= value;
            }
        }

        #endregion
    }
}


Error: Put the breakpoint in setter of ActiveRecord in ViewModel. That property will never get called.

You can download the test project in the comment of this post..

http://michaelsync.net/2008/08/09/any-recommendation-for-wpf-datagrid

Note: I think that there is a wrapper for data object in your datagrid. so, I think it might be the reason why it's not working. maybe, I think I need to call DataWrapper.ActiveRecord or something...

PS: Thanks a lot for visiting my blog,  Hristo!
Atanas
Telerik team
 answered on 13 Aug 2008
4 answers
270 views
I have three-levels grouping in GridView.

I would like to specify the different style for different level for GroupRow. Is it possible to do that?

For example
-AAA (GroupRow)
-----BBB (GroupRow)
----------CCCC(Normal Row)

I want to set as below.

- Set blue color to AAA GroupRow.
- Set Yellow Color to BBB and put Textbox called TextboxLevel2 in style
- Set Pink color to CCC and put Checkbox in normal rows.

Is it possible to do that with Telerik Datagrid? Can get the value of TextboxLevel2 at runtime?


Nedyalko Nikolov
Telerik team
 answered on 13 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?