Telerik Forums
UI for WPF Forum
0 answers
122 views
 Hi This Surya ,I want change group header background color in rad grid view .I attached a screen shot .can u send design code for me .I am waiting for your reply.


Thanks & Regards
surya
Jeevan
Top achievements
Rank 1
 asked on 05 Nov 2012
5 answers
461 views
Hello !
Is there any example of Using RadEntityFrameworkDataSource with RadGridView for Editing ?
I Want to Insert and Edit Rows and Save this to the Database.
In My Testproject i Have an Entity Model with Name 'TestDB' it Only have one Entity 'Adresse' With Fields ID, Name, Street, ZIP, Town
My Code now looks like this: (There is only Xaml Code, no Code Behind or other Classes):
I Can Insert Rows with the Insert Button.
The Save Button is Enabled after Editing, after Clicking it, it goes Disabled, but no Changes are saved to the Database.
<Window x:Class="RadControlsEFTest.MainWindow"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        xmlns:local="clr-namespace:RadControlsEFTest"
                Title="MainWindow" Height="500" Width="800" WindowStartupLocation="CenterScreen">
        <Grid>
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto"/>
      <RowDefinition Height="Auto"/>
    </Grid.RowDefinitions>
      <telerik:RadEntityFrameworkDataSource Name="AdressDataSource" QueryName="Adresse">
      <telerik:RadEntityFrameworkDataSource.ObjectContext>
        <local:TestDBEntities/>
      </telerik:RadEntityFrameworkDataSource.ObjectContext>
    </telerik:RadEntityFrameworkDataSource>
    <StackPanel Orientation="Horizontal" Background="LightBlue">
      <telerik:RadButton Content="Save" Width="70" Margin="5" Command="telerik:RadGridViewCommands.CommitEdit" CommandTarget="{Binding ElementName=RadGridView}" />
      <telerik:RadButton Content="Insert" Width="70" Margin="5" Command="telerik:RadGridViewCommands.BeginInsert" CommandTarget="{Binding ElementName=RadGridView}" />
    </StackPanel>
    <telerik:RadGridView Name="RadGridView" Grid.Row="1" ItemsSource="{Binding DataView, ElementName=AdressDataSource}"/>
        </Grid>
</Window>
Vlad
Telerik team
 answered on 05 Nov 2012
1 answer
78 views
 Hi.. I have a GridViewComboBox.. I need to fire an messagebox if the user selects a specific value.
How can I do this?
thanks again


      <telerik:GridViewComboBoxColumn x:Name="cmbCategory" Header="Contact Category" DataMemberBinding="{Binding CallActivity_category_Id}" Width="140" DisplayMemberPath="CallActivity_category_title" telerik:TextSearch.TextPath="CallActivity_category_title" 
                                        SelectedValueMemberPath="CallActivity_category_Id" />

Yoan
Telerik team
 answered on 05 Nov 2012
2 answers
104 views
Hi,

I have a grid with servere Column Groups.
-- "Base Product" "End Product" "Sales"
And the user is enabled to drag columns.
My problem - the user can now drag the column "Number of items" from Sales to "somewhere".

This results in a "splitted group header".

Is there a (simple) way to restrict dragging of a column within a column group?

And just another question - how can I place text on the default loading indicator?
I found no template for it - and also no property like "Loading content" or so.
All I want to do is to place a text "Loading Items please be..." on the indicator.

Manfred
ManniAT
Top achievements
Rank 2
 answered on 04 Nov 2012
3 answers
362 views
Hi all,

I'm using the Crystal Reports 9 - "Export to disk file" option to generate pdf file(s) from my reports.
This works fine: I can open the reports using Acrobat Reader and they look perfect. However, as soon as I load the pdf in the RadPDFViewer (version 2012.2.1009.40), the report becomes completely unreadable (replacing the text with strange font characters as if the font is not there).
I tried it with Arial, Times New Roman, Courier, Aharoni... but nothing works.

Strangely enough: If I "print" the same report to a PDF printer to generated the PDF (instead of export), then it works fine !

Any help would be very much appreciated! 

Kind regards,
Wim
JIG
Top achievements
Rank 1
 answered on 04 Nov 2012
5 answers
442 views
Hi,

I want implement something like this http://tv.telerik.com/watch/aspnet-ajax/custom-color-with-radcolorpicker 
My Code:
<telerik:RadColorPicker StandardPaletteVisibility="Hidden" MainPalette="Web216" Background="{Binding Path=Color, Mode=OneWay, UpdateSourceTrigger=PropertyChanged, Converter={StaticResource colorToBrushConverter}}"
                                                       SelectedColor="{Binding Path=Color, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, Converter={StaticResource colorToBrushConverter}}"
                                                       Grid.Column="0" Margin="5" AutomaticColor="White" IsDropDownOpen="True" >
                                   <telerik:RadColorPicker.ContentTemplate>
                                       <DataTemplate>
                                           <TextBlock Text="">
                                           </TextBlock>
                                       </DataTemplate>
                                   </telerik:RadColorPicker.ContentTemplate>
                               </telerik:RadColorPicker>
                               <TextBlock Grid.Column="1" Text="{Binding Path=Color, Mode=OneWay, UpdateSourceTrigger=PropertyChanged, Converter={StaticResource colorToKnownNameConverter}}" Margin="5" IsEnabled="False"></TextBlock>
                           </Grid>
                       </DataTemplate>
Everything is fine. I just want to have a button "Custom Color" like in the video or something similar.

Thanks! 

Petar Mladenov
Telerik team
 answered on 02 Nov 2012
1 answer
141 views
I'm an Installer developer for a company that's to expand its use of Telerik.  A version of one of our apps has a set of Silverlight-related Telerik DLLs.  Another new app which I'm tasked with packaging has another set of WPF-related Telerik DLLs.  Some of these DLLs have identical names (such as Telerik.Windows.Controls) but don't appear to be identical; at least they have different version information.  My questions are this:  Are they just different version of what is functionally the same DLL?  If so, are they truly backward-compatible, e.g., if one app uses an older set of Telerik binaries, and than another app which uses a newer set of the same binaries is deployed on the same box (and same folder!) will the older app continue to work?

Thanks!
Nick
Telerik team
 answered on 02 Nov 2012
1 answer
92 views
Sample: "Default UI RadImageEditor"

Scrolling/zooming doesn't work until you touch the zoom slider. I see this behavior in my test application too.
Vasil
Telerik team
 answered on 02 Nov 2012
0 answers
98 views
Hi,

We have a field which let us select a Texture from a DropDownList in a PropertyGrid. Every thing works fine, excepts we want to end the edit of the field when we choose an option from the DropDown. Right now we have to click elsewhere of hit Enter to do so. We have an other field that needs to be updated as soon as this Texture field changes.

Kaven
Kaven
Top achievements
Rank 1
 asked on 02 Nov 2012
6 answers
421 views
Hi,

I am using radtreelistview in order to display hierarchical data. I need to find all the child node for a particular parent node .
I tried the following code

var

 

 

childNodes = (currentrow as Telerik.Windows.Controls.TreeListView.TreeListViewRow).ChildrenOfType<Telerik.Windows.Controls.TreeListView.TreeListViewRow>();

 

 But the above code doesn't return anything.
Is there an in-built feature available in the current version? The control version used is 2011.1.223.35.
Nick
Telerik team
 answered on 02 Nov 2012
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?