Telerik Forums
UI for WPF Forum
2 answers
127 views
Hi,
I have been trying to insert a new row with some values into the database table to which its binded, the insertion i do dont get reflected into the database can u help me out of this with simple sample.
gopal
Top achievements
Rank 1
 answered on 30 Nov 2010
5 answers
101 views
I am using a GridView to display real-time data (syslog messages) and it works fine as long as I keep adding records. However when I try to remove old records, the GridView just freezes (stops responding). Is there a special way to delete records? Right now I have bounds the ItemsSource to an ObservableCollection and when the number of records in it reaches 10,000 I want to delete the first 100 records (i.e index 0 through 99). GridView seems to have no problem dealing with the 10,000 records but as soon as I delete even one record, it stops responding. I have already tried my own variation of your AddRangeObservableCollection (modified it to stop CollectionChanged notification, delete 100 records and then re-start the CollectioChanged notifications) but the GridView still stops responding after deletion. Please help.

-Ambar
Ambar Kulkarni
Top achievements
Rank 1
 answered on 30 Nov 2010
9 answers
182 views
Hello, A couple questions

IF a user clicks on a tile to maximize it. Would it be possible to call a event before to maximized.

The code would be something like:

private Tile_Click()
 If Tile(1) is Clicked
{
messagebox.show
If ok
{
then Tile(1) is Maximized
else
messagebox cancel
message "you don't want to max this tile
}


I know the code not even close
But and snippet would be great

Thoughts>?

Rick
Alex Fidanov
Telerik team
 answered on 29 Nov 2010
6 answers
128 views
The control is bound to a DateTime? and I've specified InputMode="DatePicker" and still it puts the current time into the date selected from the calendar.  How can I get just the date portion only?
Wellpartner
Top achievements
Rank 1
 answered on 29 Nov 2010
2 answers
71 views
Hello,
I am working on a multi-touch project in WPF . and I am trying ti use a telrik splitter.
Every things works when we are using mouse ,but it's difficult to catch the splitter using the fingers.
That's why  I am looking to change the size of the splitter to be cached by fingers.
Thanks for help
Khaldoun
Top achievements
Rank 1
 answered on 29 Nov 2010
1 answer
37 views
telerik grid view has a property called gridviewtogglecolumheader.......I want to change the  "+"  image used for toggling the columns in  gridview into a user defined image . Can any one help me out in solving this problem ?  Me and Gopal are trying this problem since one month.
Vanya Pavlova
Telerik team
 answered on 29 Nov 2010
9 answers
520 views
Can we use RadWindow as main window for the application.


Jaroslav Půbal
Top achievements
Rank 1
 answered on 29 Nov 2010
1 answer
238 views
Hi,

I am using the rad tree view without data binding, and am hooking into the checked changed event of the tree to alter my object model with the new selection in the background code. The checked changed event fires for every sub-node of a node in the tree to update its status, is there an event that fires after all of the checked events have completed on the tree?

Thanks for any help in advance.
Petar Mladenov
Telerik team
 answered on 29 Nov 2010
2 answers
118 views

<telerik:RadGridView x:Name="RadGridView1" ItemsSource="{Binding}" Grid.Row="1" GroupPanelForeground="Red" >
            <telerik:RadGridView.ChildTableDefinitions>
                <telerik:GridViewTableDefinition>
                    <telerik:GridViewTableDefinition.Relation>
                        <telerik:PropertyRelation ParentPropertyName="Students"/>
                    </telerik:GridViewTableDefinition.Relation>
                </telerik:GridViewTableDefinition>
            </telerik:RadGridView.ChildTableDefinitions>
        </telerik:RadGridView>

In my Linq to SQL Class I have Students Table and Subjects.

Students field has Student ID, StudentFN, StudentLN while Subjects has SubjectID, Subject, Professor, StudentID.

I have associated the two student id.

My .xaml.cs is 
public partial class MainWindow : Window
    {
        ObservableCollection<MyObject> _MyObject = new ObservableCollection<MyObject>();
        DataContextDataContext context1 = new DataContextDataContext();
        public MainWindow()
        {
            InitializeComponent();
            DataContext = new ObservableCollection<MyObject>();
            RadGridView1.Filtered+=new EventHandler<GridViewFilteredEventArgs>(RadGridView1_Filtered);
            foreach (var p in context1.Students)
            {
                _MyObject.Add(new MyObject { ID = p.StudentID, Name = p.StudentFN });
            }
        }
 
        void RadGridView1_Filtered(object sender, GridViewFilteredEventArgs e)
        {
            RadGridView1.ItemsSource = _MyObject;
        }
 
        private void Button_Click(object sender, RoutedEventArgs e)
        {
 
        }
    }
 
    public class MyObject
    {
        public int ID { get; set; }
        public string Name { get; set; }
    }

I tried running the gridview but it doesn't show the level 2 data grid for the each record nor the column headers of the subject table.
Leo
Top achievements
Rank 2
 answered on 29 Nov 2010
1 answer
96 views
Hi,
The RadRichTextBox is not supported in WPF. Isn't it? Will it be done?
Thanks a lot.
Veselin Vasilev
Telerik team
 answered on 29 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?