Telerik Forums
UI for WPF Forum
1 answer
150 views

The calculation is right, but the dealing with minus is not applicable and not logical.

For instance it's accepting this as following images.

 ​

Peshito
Telerik team
 answered on 07 Sep 2015
1 answer
65 views

hi,

is there a sampe with Prism. I tried to make a Prism Region within the RadTileList Ctrl and in separate Module i created a View with 

Grid

     Tile1

     Tile2

 etc...

It works that they are loaded into the RadTileList Ctrl ( in the Region i defined) but all of them in the same visual place overlapping ?

thnx br

 

 

 

Maya
Telerik team
 answered on 07 Sep 2015
1 answer
172 views

In the XAML-File the DataSorce created. Data displayed in in a DataGridView and DataForm.

<telerik:RadEntityFrameworkDataSource Name="ProductsEntityFrameworkDataSource" QueryName="Products">
<telerik:RadEntityFrameworkDataSource.DbContext>
<local:AdventureWorksEntities />
</telerik:RadEntityFrameworkDataSource.DbContext>
</telerik:RadEntityFrameworkDataSource>

How can I save the changes?

 

Harald
Top achievements
Rank 2
 answered on 06 Sep 2015
1 answer
73 views

My customer is using scanners which use returns.

When adding a new row I would like the enter key to act the same as the tab key (navigating the cells) until the last cell focus is lost (submit then).

I suspect I can do this with the keyboard command provider.

Can someone provide an example for such.

When the grid is not in edit mode I want the return key to do nothing.

Any help would be appreciated

Thanks

dco

 

Martin
Telerik team
 answered on 04 Sep 2015
1 answer
87 views

When copying a Unicode strings from GridView to an excel spreadsheet, I get less records.

I think problem in HTML representation. It seems that you take for EndHTML and EndFragment number of characters, but should be the number of bytes. 

https://msdn.microsoft.com/en-us/library/windows/desktop/ms649015(v=vs.85).aspx

 

Dimitrina
Telerik team
 answered on 04 Sep 2015
1 answer
48 views

I have a 'placeholder' appointment that we place on the scheduleview via code upon loading the calendar.  We let the user drag the appointment to the correct date/time and would then like to show the Edit Appointment dialog for this 'new' appointment. 

The post here (http://www.telerik.com/forums/drag-and-drop-and-schedulerdialog) says this will be integrated in a later version in 2011.  How do we go about doing this from within the CustomDragDropBehavior?

Also the 'placeholder' appointment is NOT in the 'ScheduleViewRepository.Context' as I have excluded the placeholders from the 'NotifyCollectionChangedAction.Add' so it doesn't add all of them that are not dragged and created as actual appointments.  So can I add it add some point in the SqlAppointment class endedit somehow?

Thanks much!

Rosi
Telerik team
 answered on 04 Sep 2015
1 answer
111 views

Hi,

 I have my application with the french culture :

            Thread.CurrentThread.CurrentCulture = new CultureInfo("fr");
            Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr");

 It works fine but when i select "Automatic conversion" for minor or major tick lenght, this is not translated.

How can i fix it please? 

Nasko
Telerik team
 answered on 04 Sep 2015
1 answer
51 views
Hi

I need to drag and drop from / to  GridViewColumnGroup of RadGridView.

I haven't found any example or guide how to do it.

Setting up DragDropManager events (like DragInitializeHandler, DropHandler ... ) to RadGridView doesn't work on GridViewColumnGroup.

Drag and drop from / to GridViewCells and GridViewHeaderCells works, but GridViewColumnGroup doesn't.

Does anyone know how to drag and drop from / to GridViewColumnGroup?
Yoan
Telerik team
 answered on 03 Sep 2015
1 answer
358 views

In a follow up from this thread http://www.telerik.com/forums/how-do-i-change-border-color-in-cell-style-selector I need to set both the border and the background of the cell using a cellstyleselector. This is the style so far...

<Style  x:Key="IsEventStyle"
                TargetType="telerik:GridViewCell">
    <Setter Property="Template">
        <Setter.Value>
            <ControlTemplate TargetType="telerik:GridViewCell">                
                <Border BorderBrush="{TemplateBinding BorderBrush}"
                                BorderThickness="{TemplateBinding BorderThickness}">
                    <ContentPresenter Content="{TemplateBinding Content}"
                                                        ContentTemplate="{TemplateBinding ContentTemplate}" />
                </Border>                  
            </ControlTemplate>
        </Setter.Value>
    </Setter>
    <Setter Property="BorderThickness"
                    Value="0.5,1,0.5,1"></Setter>
    <Setter Property="Margin"
                    Value="0,1,0,1" />
    <Setter Property="BorderBrush"
                    Value="Navy"></Setter>
    <Setter Property="VerticalAlignment"
                    Value="Stretch" />
    <Setter Property="HorizontalAlignment"
                    Value="Stretch" />
    <Setter Property="Background"
                    Value="PapayaWhip" />
</Style>

The last setter (background) has no effect.. 

Any help will be appreciated. 

 

 

Dimitrina
Telerik team
 answered on 03 Sep 2015
5 answers
1.1K+ views
I'm using a cell style selector and want to be able to set the border color of a cell. Setting the background color works fine. My code looks something like this:


<my:CellStyleSelector.SmallStadiumStyle>
                    <Style TargetType="telerik:GridViewCell">
                        <Setter Property="Background" Value="Yellow" />
                        <Setter Property="BorderBrush" Value="White"/>
                    </Style>
                </my:CellStyleSelector.SmallStadiumStyle>
Dimitrina
Telerik team
 answered on 03 Sep 2015
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?