Telerik Forums
UI for WPF Forum
3 answers
166 views
I have the following code in my RowActivated EventHandler

private void dgv_RowActivated(object sender, Telerik.Windows.Controls.GridView.RowEventArgs e)
{
            dgv.SelectedItems.Clear();
 
                foreach (var t in collection)
                {
                    dgv.SelectedItems.Add(t);
                }
}

I have SelectionUnit="FullRow" and SelectionMode="Extended" 

The problem is that the rows are highlighted for a second, then only the row I double clicked on remains highlighted. Is there any way to do this?

Nedyalko Nikolov
Telerik team
 answered on 28 May 2012
1 answer
229 views
Hello,

According to this thread  (see Konstantina's answer), pressing the "Escape"  key with the Confirm dialog opened should return false.

But the following sample returns true:
bool? dialogResult = null;
Telerik.Windows.Controls.RadWindow.Confirm(
new Telerik.Windows.Controls.DialogParameters()
{
Closed = (w, e) =>
{
       dialogResult = e.DialogResult;
}
});

Is this the expected result? I would think escape would return false.

Thanks,

Simon

Konstantina
Telerik team
 answered on 28 May 2012
1 answer
101 views
Hi,

I  am using a RAD control (combobox) in my application that is a type of custom IDE, i am facing an issue with the combobox when i use it within a Isolated shell custom IDE. The issue description is as follows:-

When i click on the combobox the drop down opens and if i click on any other control or i click on the page that is contained in the IDE the drop down closes. However if i click and open the drop down and insted click on the header of the IDE (i.e. the top most part of the IDE, where the logo is diaplyed) the drop down will not close,

also if i resize the IDE and and move the window around the drop down list persists on the same position where it was opened as if it was no way attached to the combobox.

Instead if i use a normal WPF combobox it behaves normally and the drop down closes on clicking the IDE header also.

Please suggest what can be done in order to resolve the issue.

Regards,

Avinash Saxena
Boyan
Telerik team
 answered on 28 May 2012
6 answers
345 views
Hi,

How do I go about getting the character position along a given line wherever the caret is placed?

I can get the CaretPosition easily enough, but the I don't want the X & Y coordinates. I need to count how many characters there are along a line up to where the caret is placed.

Thanks for your time,

Rob
Martin Ivanov
Telerik team
 answered on 28 May 2012
1 answer
208 views
Hi,

How can i bind DocumentSource to a PDF file in network path. 

//property
public string FilePath
{
get; set;
}
DocumentSource = {Binding Filepath}

Thanks in Advance.



Kammen
Telerik team
 answered on 28 May 2012
1 answer
158 views
Could not load file or assembly 'Telerik.Windows.Documents.FormatProviders.Rtf, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.

[oops hit enter too early]

 
  xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
  xmlns:telerikRTF="clr-namespace:Telerik.Windows.Documents.FormatProviders.Rtf;assembly=Telerik.Windows.Documents.FormatProviders.Rt
  xmlns:telerikGridView="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"

<
telerik:RadGridView ItemsSource="{Binding Equipments}" CanUserFreezeColumns="False" RowIndicatorVisibility="Collapsed" IsSynchronizedWithCurrentItem="True" IsReadOnly="True" >
     <telerikGridView:RadGridView.Columns>
         <telerikGridView:GridViewDataColumn Header="Notes" IsReadOnly="true" IsFilterable="False" IsGroupable="False" IsSortable="False">
             <telerikGridView:GridViewDataColumn.CellTemplate>
                 <DataTemplate>
                     <Grid>
                         <telerikRTF:RtfDataProvider Name="rtfDataProvider" Rtf="{Binding Path=CalibrationInstructions, Mode=TwoWay}"
                 RichTextBox="{Binding ElementName=TextBoxCalibrate}"/>
 
                         <telerik:RadRichTextBox Name="TextBoxCalibrate">
 
                         </telerik:RadRichTextBox>
                     </Grid>
                 </DataTemplate>
             </telerikGridView:GridViewDataColumn.CellTemplate>
         </telerikGridView:GridViewDataColumn>
     </telerikGridView:RadGridView.Columns>
 </telerik:RadGridView>



 
Mihail
Telerik team
 answered on 28 May 2012
1 answer
123 views
Hello everybody!

I need to achieve the following behavior:
Select multiple dates by clicking them one by one.
Unselect a date by clicking a selected one.

Can I have these behavior with the Multiple selection mode?

I hope you can help me.
Best regards.
Yana
Telerik team
 answered on 28 May 2012
1 answer
270 views
Hi,

It would be great if you guys could develop controls that can scan documents and read the BarCodes and tick box fields etc.

I work in a company where engineers visit sites to complete jobs which are detailed in printed job sheets/reports. When they return to the head office, a member of our admin staff has to manually "check off" the completed items in the database system. It would be great if we could scan the reports that have been returned, read the BarCodes and "tick boxes" so that the system can automatically tick off the completed outstanding jobs in the database system.

Something similar to what these guys offer here.

Just a suggestion.

Thanks,

Rob
Yavor
Telerik team
 answered on 28 May 2012
1 answer
110 views
Hi Telerik team, I'm facing a problem of using RadCarousel as RowDetail in a GridView, as the RadCarousel path isn't streching along the row detail, only the RadCarousel background is.

The result is a big empty blank space from the RadCarousel, and the Carousel itens left-aligned.

Here is the sample:

<telerik:RadRibbonWindow
    x:Class="EDAS.MainWindow"
    xmlns:telerikRibbon="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.RibbonView"
    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
    Title="EDAS - Environmental Documentation Alert System"
    Height="640"
    Width="1024"
    WindowStartupLocation="CenterScreen">
 
    <!-- hidded code -->
 
        <telerik:RadGridView Grid.Row="1"
                             ItemsSource="{Binding Path=Documentos}"
                             CanUserFreezeColumns="False"
                             RowIndicatorVisibility="Collapsed"
                             RowDetailsVisibilityMode="VisibleWhenSelected"
                             AutoGenerateColumns="False"
                             x:Name="DocGrid"
                             IsReadOnly="True"
                             Visibility="{Binding Path=DocVisibility}">
 
    <!-- hidded code -->
 
            <telerik:RadGridView.RowDetailsTemplate>
                <DataTemplate>
                    <UserControl>
                        <Grid DataContext="{Binding Path=AnexosContext}">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Grid.Resources>
                                <Path x:Key="Horizontal"
                                      Stretch="Fill"
                                      Opacity="1"
                                      Data="M 9,200 C9,200 450,200 450,200 "
                                      Stroke="#FFB4B4B4"
                                      StrokeThickness="1" />
                            </Grid.Resources>
                            <telerik:RadCarousel Grid.Row="0" ItemsSource="{Binding Path=Anexos}" HorizontalScrollBarVisibility="Disabled">
                                <telerik:RadCarousel.ItemsPanel>
                                    <ItemsPanelTemplate>
                                        <telerik:RadCarouselPanel HorizontalAlignment="Stretch" Path="{StaticResource ResourceKey=Horizontal}" IsContinuous="True" IsPathVisible="True" />
                                    </ItemsPanelTemplate>
                                </telerik:RadCarousel.ItemsPanel>
                            </telerik:RadCarousel>
                            <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
                                <telerik:RadButton Content="Adicionar" Width="75" Command="{Binding Path=AddCommand}" />
                                <telerik:RadButton Content="Remover" Width="75" Command="{Binding Path=DeleteCommand}" />
                            </StackPanel>
                        </Grid>
                    </UserControl>
                </DataTemplate>
            </telerik:RadGridView.RowDetailsTemplate>
        </telerik:RadGridView>
</telerik:RadRibbonWindow>

Am I missing some configuration?

Thanks.
Vlad
Telerik team
 answered on 28 May 2012
1 answer
159 views
Hello,
The expander only expands on mouse click, but unfortunately not on touch via touchscreen monitor.
How can I enable the touch handling?
Thanks,
Enrico
Miro Miroslavov
Telerik team
 answered on 28 May 2012
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
LayoutControl
ProgressBar
Sparkline
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
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?