Telerik Forums
UI for WPF Forum
1 answer
92 views

The grid is 2009 Q2.
Grid.ItemSource = dataTable.

 

private

 

void btnAdd_Click(object sender, RoutedEventArgs e)

 

{

     Grid.BeginInsert();
}

Is it because the dataTable has a few primary keys?

How do I resolve this?

Thanks

Nedyalko Nikolov
Telerik team
 answered on 25 Nov 2009
2 answers
92 views
Hi
          In RadCaraouselPanel if we are taking Buttons instead of images as given in your example,
 in this case RadCarouselPanel does not scroll on clicking on items(which are buttons here)

Please reply as soon as possible

Thanks in advance
Regards
Shreya
Shreya Goyal
Top achievements
Rank 1
 answered on 25 Nov 2009
5 answers
170 views
Hello,
  I want to set the color of the axis to black for print and I got styling axis infomation from the online help:
http://www.telerik.com/help/wpf/chart-customize-axis-appearance-through-style.html,
but it doesn't work when I put it in my code
and the application can't find Axis2D
from chart (xmlns:chart="clr-namespace:Telerik.Windows.Controls.Charting;assembly=Telerik.Windows.Controls.Charting").
  Any response as soon as possible is appreciated!
Bartholomeo Rocca
Top achievements
Rank 1
 answered on 24 Nov 2009
1 answer
95 views
How can I sort  the rows of the a grid
except of the first row
Milan
Telerik team
 answered on 24 Nov 2009
3 answers
166 views
Hi,

I'm facing the following problem:

I've created a new WPF Control Library containing Rad TabControl which is referenced (and used in ElementHost) in a Windows Forms Controls Library which is registered as Type Library (ActiveX).

When testing the Type Library with tstcon32 I get the following exception inside the WPF Control Library:

"{"'Telerik.Windows.Controls.Navigation;Component/Themes/GenericVista.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. '/Telerik.Windows.Controls.Navigation;component/themes/vista/CarouselDataFieldPresenter.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. Object reference not set to an instance of an object.  Error at object 'System.Windows.ResourceDictionary' in markup file 'Telerik.Windows.Controls.Navigation;Component/Themes/GenericVista.xaml'.  Error at object 'System.Windows.ResourceDictionary'."}"

When using the Windows Forms Controls Libary inside another WinForms application everything works fine.

Using the Telerik Calendar the way described above everything works fine.

Alex
JigneshGN
Top achievements
Rank 2
 answered on 24 Nov 2009
6 answers
144 views
We are trying to move to Q3.  We have been using the Telerik theme.  As it is no longer supported we're trying to create a theme that is similar.  However all existing examples that I've found are not compatible with Q3.  They either work in Q1 or Q2.  Has anyone created a somewhat similar theme to the Telerik one? Or could some one post Generic and Resource xamls for one of the supported theme that we could tweak? 

Too bad the old Telerik and Caramel themes were dropped.  They had a nice distintive and stylish look instead the old boring plain Windows style grids.
Kalin Milanov
Telerik team
 answered on 24 Nov 2009
1 answer
104 views
when WindowState="Maximized"
somtimes the RadMenu
when i click on it's items they aren't shown,
it's like the menu is opened but the popup is shown behind the Window

but my window has TopMost="False"

i'm using the Wpf Q3 2009 trial
please tell me how can i solve this


thanks
Kaloyan
Telerik team
 answered on 24 Nov 2009
1 answer
112 views
Hi All,

We we're getting an 'ObservableCollection during a CollectionChanged' error today when we updated our UI from the DB on data changed. We'd not got the error with Q2 or beta for Q3.
I've downloaded the latest build (20th Nov), and the problem has gone away. I didn't see anything in the change log releated to this, so just letting you know.

Cheers Tony
Vlad
Telerik team
 answered on 24 Nov 2009
5 answers
116 views
Hello
How can I set a MaxLength property to a column in the grid
Thanks
Vlad
Telerik team
 answered on 24 Nov 2009
4 answers
197 views
In 2009 Q2 we were using following code to iterate through GridRows in order to collect all rows:

 

 

 
  public IEnumerable GetSelectedRecords  
        {  
            get 
            {  
                 
                List<object> selectedRecords = new List<object>();  
                IList<GridViewRow> rows = EmployeeGridView.ChildrenOfType<GridViewRow>();  
                int index = 0;  
                foreach (GridViewRow row in rows)  
                {  
                 if (!(row is GridViewNewRow) && !(row is GridViewHeaderRow))  
                    {  
                        CheckBox checkBox = row.Cells[0].ChildrenOfType<CheckBox>().FirstOrDefault();  
                        if (checkBox != null && checkBox.IsChecked == true)  
                        {  
                            selectedRecords.Add(row.Item);  
                        }  
                    }  
 


and rows above contained all records in the Grid. Now with Q3 it contains only visible rows. Can this behaviour be overridden in some way ? Or is there a new way to do the same operation ?

Thanks and regards,

Ivan

 

TSRG - IT
Top achievements
Rank 1
 answered on 24 Nov 2009
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?