Telerik Forums
UI for WPF Forum
2 answers
658 views
Hello,

First, I already found this same topic under Forums -> WinForms -> GridView, but that thread does not answer to my problem.

I have radGridView1 binded to DataTable. I can add new rows to grid and delete rows from grid.
Error "This row has been removed from a table and does not have any data.  BeginEdit() will allow creation of new data in this row." occurs when I remove latest row I have added.

Here is the code which removes selected row:

private void button2_Click(object sender, RoutedEventArgs e)  
        {  
            List<DataRow> itemsToRemove = new List<DataRow>();  
 
            foreach (DataRow item in this.radGridView1.SelectedItems)  
            {  
                itemsToRemove.Add(item);  
            }  
            foreach (DataRow item in itemsToRemove)  
            {  
                ((DataTable)this.radGridView1.ItemsSource).Rows.Remove(item);  
                ((DataTable)this.radGridView1.ItemsSource).AcceptChanges();  
            }  
            DataTable emptyTable = new DataTable(); // this is for refreshing grid view  
            radGridView1.ItemsSource = emptyTable;  // this is for refreshing grid view  
            radGridView1.ItemsSource = myDataTable;  
        } 

Can you help me from here?

BR,
Tatu
Tatu Nokelainen
Top achievements
Rank 1
 answered on 11 Feb 2010
2 answers
110 views
Hello,

Is there anyway to draw a line on a chart either verticleor horizontal on a chart without using a LineSeriesDefinition? I need something that is flexible enough to allow me to draw a goal line that actually touches both sides of the chart without starting in the middle and forcing me to set the layout mode to something that looks funny for a bar graph. Also I need something that works in conjunction with a HorizontalStackedBarSeriesDefinition.

Thanks,
Sean
Vladimir Milev
Telerik team
 answered on 11 Feb 2010
4 answers
159 views
Hello,

It might be just because it is late, but I cannot seem to find the code for the control that is driving the navigation of the RadControls for WPF application.  I am referring to the panel on the left side of the screen just under the Search box.  It contains a hierarchy of demo pages to visit.  It looks like it might be a RadPanelBar, but I cannot confirm this.  Can someone help me out and perhaps point me to where this is implemented in the demo app?

Thanks,
Mark.
Brett Robichaud
Top achievements
Rank 1
 answered on 10 Feb 2010
3 answers
128 views
Is there an option/way to display different headers based on the current expanded state of the window similar to what is currently done with the content? If not, this would be a great feature to add.

Thanks,
Shawn
Tihomir Petkov
Telerik team
 answered on 10 Feb 2010
1 answer
88 views

When using the VistaTheme, a RadDatePicker does not render in a RadRibbonGroup.

 

 

Konstantina
Telerik team
 answered on 10 Feb 2010
1 answer
78 views
Hello Telerik,

I am using rad datepicker inside a navigation page control, the problem is when i select a date from the calendar dropdown provided with the datepicker, it is not displaying the selected date nor selecting the selected date from the provided dropdown.

any help will be greatly appreciated!!

Thanks in advance,
-Kranthi
Kaloyan
Telerik team
 answered on 10 Feb 2010
2 answers
121 views
Hello!

I find myself in a situation when I can have up to 100 carousel items and I really need to filter those elements by some of their content for example in FirstLook demo - the employee name.
I already saw a nice feature like this in filtering a GridView(Search as you type example)
How can this be possible for RadCarousel?

Thank you!
Roxana
RoxanaC
Top achievements
Rank 1
 answered on 10 Feb 2010
1 answer
89 views
Hi,

I am looking for a way tor the user to be able to select a viewable range on the Xaxis. An example is on the Microsoft CUI silverlight demo: http://www.mscui.net/PatientJourneyDemonstrator/PrimaryCare.htm note the patient charts.

The only way I can see doing it with RadControls is to use a slider but I dont this it supports dates.

Any thoughts or tips would be very usefull.

Regards,
Kevin
Ves
Telerik team
 answered on 10 Feb 2010
1 answer
36 views
Hello,
    When I select a row or select a cell but do not put the cell in edit mode and than press the backspace key windows explorer starts up. Windows explorer always opens to where the debug code for the application is (...\bin\debug). I am running with the latest release of the software in an XP Professional OS.
Thanks
Vlad
Telerik team
 answered on 10 Feb 2010
3 answers
205 views
Hello, how do you set the content (text or label) alignment please. the default appear to be top left and I would like it to be bottom centre. Also, I would like to wrap the content, eg, currently
Find Now

but I would like

Find
Now

Lastly, I would like to set the alignment for the LargeImage. If possible, I would like to see it in XAML and in C#.

Many thanks in advance.
zalak m
Top achievements
Rank 1
 answered on 09 Feb 2010
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?