Telerik Forums
UI for WPF Forum
3 answers
102 views
Hi, I am trying to drag drop a text file on the
RadGridView cells and I am having some issues. What I am trying to accomplish
is; when I drop the textfile (or any type of file) on a GridCell or
GridHeaderCell , I am going to open another screen for user to enter more
information. That screen will have that file's physical file path and some more
information from the cell which it was dropped on. 

So, regular GridCell is working fine but when I
drop the file on the GridHeaderCell, it does not allow me unless I put a
breakpoint on OnDropQuery method. Without the breakpoint headercells are
not available to drop the file on.



OnDropQuery method is
in MainWindow.xaml.cs. I have a sample project prepared but couldnt attach
it to the thread.



Please let me know, if you need any additional
information. 



Thanks in advance...
Nick
Telerik team
 answered on 11 Mar 2014
4 answers
114 views
Hi,

    After I upgraded to version 2013.3.1204.45, I am no longer able to drag and drop external files to the GridView on my XBAP application.

   Before the upgraded, I used the "RadDragAndDropManager.EnableNativeDrag = True " to allow drag and drop to my XBAP application and it worked very well. 

   With this new DragAndDropManager, what is the setting I have to set so I can have the drag and drop from extenernal program?
    
Thanks,
Chris
Yoan
Telerik team
 answered on 11 Mar 2014
1 answer
147 views
Then I click on a MaskedTextInput, it's all selected and in insert mode, so if I have '8888' in the value and press 1, everything is replaced by 1.

When I set the focus on the code behind, I press '1' and get '1888' then when I press 1 again I get '11888' .  It's very strange behavior.

I have some sample code below.  When you press the button I programmatically set the focus on the RadMaskedTextInput.  Compare this to when you selected it with a mouse, or tab to it:

<Window x:Class="FocusOnTextBox6.MainWindow"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <Grid.Resources>
            <Style x:Key="UpperCodes6Mask" TargetType="telerik:RadMaskedTextInput">
                <Setter Property="FontFamily" Value="Segoe UI" />
                <Setter Property="Margin" Value="0 0 0 0" />
                <Setter Property="Width" Value="60" />
                <Setter Property="Height" Value="20" />
                <Setter Property="Padding" Value="0" />
                <Setter Property="Placeholder" Value=" " />
                <Setter Property="IsClearButtonVisible" Value="False" />
                <Setter Property="TextMode" Value="PlainText" />
                <Setter Property="SectionsNavigationMode" Value="None" />
                <Setter Property="IsLastPositionEditable" Value="False" />
                <Setter Property="InputBehavior" Value="Insert" />
                <Setter Property="SelectionOnFocus" Value="SelectAll" />
                <Setter Property="Mask" Value=">a6" />
            </Style>
        </Grid.Resources>
        <StackPanel Orientation="Horizontal">
            <telerik:RadMaskedTextInput Margin="3 0 0 0" Height="20" Padding="0"  Style="{StaticResource UpperCodes6Mask}"
                    Name="tbClid" />
 
            <TextBox Name="tbTest" Margin="10 0 0 0" Height="25"  Width="50"/>
            <Button Name="btnTest" Margin="20 0 0 0" Content="Test Focus" Height="25" Width="100" Click="btnTest_Click" />
 
            <Button Name="btnTestRegular" Margin="20 0 0 0" Content="Test Focus TextBox" Height="25" Width="100" Click="btnTestRegular_Click" />
 
        </StackPanel>
    </Grid>
</Window>


namespace FocusOnTextBox6
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }
 
        private void btnTest_Click(object sender, RoutedEventArgs e)
        {
            tbClid.Value = "8888";
            tbClid.Focus();
 
        }
 
        private void btnTestRegular_Click(object sender, RoutedEventArgs e)
        {
 
            tbTest.Text = "9999";
  
            tbTest.Focus();
            tbTest.SelectAll();
        }
    }
}

Peshito
Telerik team
 answered on 11 Mar 2014
1 answer
80 views
Hello,
when a column is defined as right aligned, and it is sorted, the sort indication is inside the header text in the Office2013 theme, as you can see in the attached screenshot.
Note that the same problem appears when the column is not large enough to display the header text completely.
Patrick
Yoan
Telerik team
 answered on 11 Mar 2014
1 answer
100 views
I have a carousel with 12 items, but only 5 items per page.
When trying to bring into view one of the items that are not in the current page, the BringDataItemIntoView  method will not work.

Can you please tell me how to obtain this?

Thank you.
Yoan
Telerik team
 answered on 11 Mar 2014
3 answers
309 views
Hello,
My RadListBox is Binded with CollectionView Source. When I am Changing the Filter it is Automatically selecting the First Item in the Listox.
When I've used simple listBox, I set the property IsSynchronizedWithCurrentItem to False and it helped. But RadLisbBox has't got this property.

Is there any solution for this problem?
thank you
Kalin
Telerik team
 answered on 11 Mar 2014
1 answer
197 views
Hello, 

We are using Telerik for WPF 2013 Q3 NET.
We need to have a vertically oriented text in the grid header row AND a fiter row underneath the header row. The example of what it should look like is attached.

Currently, I set up filter row like so: 

<telerik:RadGridView x:Name="trgv"                             
                             FilteringMode="FilterRow"                             
                             IsFilteringAllowed="True"/>

When I run the app, it looks great. Now, we need to have a text in the header row aligned vertically. For that I do the following:

<telerik:RadGridView x:Name="trgv"                             
                             FilteringMode="FilterRow"                             
                             IsFilteringAllowed="True">

            <telerik:RadGridView.Resources>
                <Style TargetType="telerik:GridViewHeaderCell">
                    <Setter Property="Template">
                        <Setter.Value>
                            <ControlTemplate TargetType="telerik:GridViewHeaderCell">
                                <ContentPresenter>
                                    <ContentPresenter.LayoutTransform>
                                        <RotateTransform Angle="270" />
                                    </ContentPresenter.LayoutTransform>
                                </ContentPresenter>
                            </ControlTemplate>
                        </Setter.Value>
                    </Setter>
                    <Setter Property="Height" Value="200"></Setter>
                </Style>
            </telerik:RadGridView.Resources>

Now, when I run the app, the header text is occupying both the filter row and the header row AND my filters do not appear at all.

Thank you for your help!











Yoan
Telerik team
 answered on 11 Mar 2014
1 answer
394 views
We are using Telerik WPF controls (2013 Q3 NET) in our desktop application.

There is a requirement for a vertically aligned text in the column headers and also a filter row. (I have attached the picture to this post)

I have tried the following code:

 <telerik:RadGridView x:Name="trgv"                             
                             FilteringMode="FilterRow"                             
                             IsFilteringAllowed="True">

            <telerik:RadGridView.Resources>
                <Style TargetType="telerik:GridViewHeaderCell">
                    <Setter Property="Template">
                        <Setter.Value>
                            <ControlTemplate TargetType="telerik:GridViewHeaderCell">
                                <ContentPresenter>
                                    <ContentPresenter.LayoutTransform>
                                        <RotateTransform Angle="270" />
                                    </ContentPresenter.LayoutTransform>
                                </ContentPresenter>
                            </ControlTemplate>
                        </Setter.Value>
                    </Setter>
                </Style>

            </telerik:RadGridView.Resources>
</telerik:RadGridView>

but when the grid is displayed, the header text spans both header and filter row, and filters do not show up at all.

Can someone help with this issue?

Thank you.
Yoan
Telerik team
 answered on 11 Mar 2014
1 answer
251 views
Hi,

I have to set RibbonGroup Visibility to Collapsed in some states of the application. But whenever i set the RibbonGroup visibility collapsed it doesn't properly resize with the window size and shows the ribbon outside the border of window.

                      <telerik:RadRibbonGroup Header="Test Header" Visibility="Collapsed">
                                <telerik:RadRibbonGroup.Variants>
                                    <telerik:GroupVariant Variant="Medium" Priority="2" />
                                </telerik:RadRibbonGroup.Variants>
                                <telerik:RadCollapsiblePanel>
                                    <pmControls:ASIRibbonButton Text="Test Button"  telerik:KeyTipService.AccessText="TS"/>
                                </telerik:RadCollapsiblePanel>
                  </telerik:RadRibbonGroup>

Any help would be appreciated. 
Thanks
Boris
Telerik team
 answered on 11 Mar 2014
1 answer
84 views
Hi,

I am using telerik RadDocking control and it shows the dotted ractangle around the screen when application starts. how can i remove this.
Thanks
Ehsan 
Kalin
Telerik team
 answered on 11 Mar 2014
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?