Telerik Forums
UI for WPF Forum
1 answer
119 views
Does the WPF PDFViewer control support search and highlighting?  I'm trying to evaluate it for potential use in my project.
Lancelot
Top achievements
Rank 1
 answered on 01 Jun 2012
1 answer
107 views
I saw a very old post in these forums that said it is not possible to have a horizontal rangebar with a datetime axis.  Is that still true?  I need a rangebar plotted against time, similar to ganttview, but ganttview does not quite meet my needs. since that post was about a year old, I was hoping that there was some progress on this front, and it is now possible. 
please let me know.
Rosko
Telerik team
 answered on 01 Jun 2012
1 answer
144 views
Hello,

In a wpf project (3.5), define a colorpicker, a button and a rectangle :
the rectangle display the color choosen in the colorpicker.
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center" Grid.Row="5">
            <tlk:RadColorPicker x:Name="picker"/>
            <Button Content="Click" Width="40" Height="30" Click="Button2_Click" />
            <Rectangle Width="40"
                       Height="40" Margin="0 10 0 0">
                <Rectangle.Fill>
                    <SolidColorBrush Color="{Binding ElementName=picker, Path=SelectedColor}" />
                </Rectangle.Fill>
            </Rectangle>
        </StackPanel>

Select a color (named colorA), the color is well associated in the rectangle.
Re-open colorpicker, the selectedcolor (dashed line around the latest color choosen) is ok.

Now click on the button
private void Button2_Click(object sender, RoutedEventArgs e)
        {
            picker.SelectedColor = Colors.Transparent; //Color.FromArgb(255, 216, 202, 206);// colorB
        }

I'd like to set the selected color to a color (ColorB) which is not in the main palette.
The rectangle is ok but Re-open colorpicker, the selectedcolor (dashed line around the latest color choosen) is not ok.
the dashed line still on the colorA....

Have you a way to undisplay dash line of previous selected color ?

Regards
Aurore

Petar Mladenov
Telerik team
 answered on 01 Jun 2012
3 answers
150 views
The richTextBox has a RadDocument with a large image of width 1171. The print page only shows part of the image, the rest of the image is not printed. Shown Below is part of xaml of the RadDocument having an image of width 1171.

<t:Paragraph>
      <t:ImageInline Extension="png" Height="43" RawData="iVBORw0KGgoAAAANSUhEUgAABJMAAAArCAIAAABDx17OWbo09GQGz8AAAAASUVORK5CYII=" RotateAngle="0" Width="1171" />

Is this a bug? Any workarounds?

Thanks,
Boby
Telerik team
 answered on 01 Jun 2012
1 answer
109 views
We are having performance issue on TreeListView. At most we have to load around 80K rows. We would like to know what is the performance benchmark on your testing. Its taking way long to load this much of data. 

We would have around 10 columns in the TreeList View. 

Could you please send us a sample project that shows around 100k rows so that we would know if there is something we are doing on our side that's causing the delay?

We are using latest 2012 sp1 version of Telerik. 
Vlad
Telerik team
 answered on 01 Jun 2012
1 answer
291 views
I'm building a reusable user control that will contain a search query textbox and a GridView that contains the results of the query.  I have created a DependencyProperty on the user control that will hold the collection of items to be searched.  Since the type of objects we will be searching and displaying on the screen varies, I also need to have the user control support custom column definitions for the GridView.  I tried creating a DependencyProperty for the columns definition, but it looks like the GridView didn't support binding the columns property to it.

As it stands right now, the columns are defined from within the user control's XAML.  It is fully functional.  However, this breaks reusability if we want to work with a collection of a different type of object, and we don't want to auto-generate columns.  Any ideas on how we can move the GridView column definitions outside of the user control but still have them written in XAML?  I've done some searching for a solution but haven't found anything ideal yet.

Thanks.
Vlad
Telerik team
 answered on 01 Jun 2012
1 answer
150 views
I'm relatively new user of Telerik controls.

I have a grid with a group column, and the grouped column is not visible. Clicking on group record throws an exception. It is not consistent, but I do get this error every now and then. I would appreciate if anyone could point me in the right direction.

Version
: 2012.1.326.40
Call Stack:

  Telerik.Windows.Data.dll!Telerik.Windows.Data.ObjectDataBinder.GetValue(object bindingSource = null, string propertyPath = "Manager") Line 26 + 0x3 bytes C#
  Telerik.Windows.Controls.GridView.dll!Telerik.Windows.Controls.GridViewBoundColumnBase.GetCellContent(object item = null) Line 1213 + 0x1d bytes C#
  Telerik.Windows.Controls.GridView.dll!Telerik.Windows.Controls.GridViewBoundColumnBase.CreateCellElement(Telerik.Windows.Controls.GridView.GridViewCell cell = {Telerik.Windows.Controls.GridView.GridViewCell}, object dataItem = null) Line 179 + 0x11 bytes C#
  Telerik.Windows.Controls.GridView.dll!Telerik.Windows.Controls.GridView.GridViewCell.CreateCellElement(Telerik.Windows.Controls.GridViewColumn column = {Telerik.Windows.Controls.GridViewDataColumn}, object dataItem = null) Line 549 + 0x1a bytes C#
  Telerik.Windows.Controls.GridView.dll!Telerik.Windows.Controls.GridView.GridViewCell.SetCellElement() Line 522 C#
  Telerik.Windows.Controls.GridView.dll!Telerik.Windows.Controls.GridView.GridViewRow.PrepareCell(Telerik.Windows.Controls.GridView.GridViewCellBase cellBase = {Telerik.Windows.Controls.GridView.GridViewCell}, Telerik.Windows.Controls.GridViewColumn column = {Telerik.Windows.Controls.GridViewDataColumn}) Line 961 C#
  Telerik.Windows.Controls.GridView.dll!Telerik.Windows.Controls.GridView.GridViewCellsPanel.PrepareCell(Telerik.Windows.Controls.GridView.GridViewCellBase cell = {Telerik.Windows.Controls.GridView.GridViewCell}, Telerik.Windows.Controls.GridViewColumn column = {Telerik.Windows.Controls.GridViewDataColumn}) Line 410 C#
  Telerik.Windows.Controls.GridView.dll!Telerik.Windows.Controls.GridView.GridViewCellsPanel.GetVirtualizedCell(Telerik.Windows.Controls.GridViewColumn column = {Telerik.Windows.Controls.GridViewDataColumn}, bool createIfNull = true) Line 367 + 0xf bytes C#
  Telerik.Windows.Controls.GridView.dll!Telerik.Windows.Controls.GridView.GridViewCellsPanel.RealizeAndMeasureCells(int startIndex = 0, int predictedLastIndex = 7, System.Func<int,int> calculateNextIndex = {Method = {System.Reflection.RuntimeMethodInfo}}) Line 334 + 0xe bytes C#
  Telerik.Windows.Controls.GridView.dll!Telerik.Windows.Controls.GridView.GridViewCellsPanel.UpdateVirtualizedCells() Line 269 C#
> Telerik.Windows.Controls.GridView.dll!Telerik.Windows.Controls.GridView.GridViewCellsPanel.MeasureOverride(System.Windows.Size availableSize = {System.Windows.Size}) Line 306 C#
Vlad
Telerik team
 answered on 01 Jun 2012
6 answers
374 views
Hi, i have a question - how can i create rounded corners for rad grid view.
I tried to use opacity mask, but not with great success - i was wondering if i need to edit new template or i can use opacity mask.

Thank you.
Stephen
Top achievements
Rank 1
 answered on 31 May 2012
7 answers
152 views

I have a RadRibbonView with his "IsMinimized" property set to "True". In my RadRibbonView, I have a "Search" RadRibbonTab with many fields and a search button. If my users click on the RadRibbonTab, the RadRibbonTab expand and the user can enter values the fields and click on the search button to start searching informations.

I'm trying to implement a CTRL+F gesture (search shortcut) and I would like to know how I can force the RadRibbonTab to be visible by code to simulate a user click on the RadRibbonTab.

Thank's
Tina Stancheva
Telerik team
 answered on 31 May 2012
1 answer
156 views
We like RadRibbonTab auto adjust the width of the header (Width="Auto"), but comparing RadRibbonTab with Excel, the header in Excel is about 25% wider then RadRibbonTab.  Could you please show me how to make the tab header more wider.
The tab header in our application is created by user, so auto adjustable is necessary.  
BTW: We are using RadControl 4.0.30319 
Thanks,
Chris
Miro Miroslavov
Telerik team
 answered on 31 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
Book
FileDialogs
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
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?