Telerik Forums
UI for WPF Forum
3 answers
147 views
I have a custom style for my connections. I set the target cap type as follows:
<Setter Property="TargetCapType" Value="Arrow1Filled" />

The result is an arrow pointing in the wrong direction, which is kind of ugly. See attached image!

How can I fix this?
Tina Stancheva
Telerik team
 answered on 31 Jan 2013
4 answers
372 views
Hello,

My list of data containing an image in byte [].
How I can include that image in a mail merge.
I tried using the INCLUDEPICTURE but does not work.

Is there any way?

Thanks and sorry for my English,

Jose
Petya
Telerik team
 answered on 31 Jan 2013
5 answers
216 views
With the help of a sample application I found a memory leak in Richtextbox.
It just displays a Dialog with a RichTextBox and then closes the window. After closing a call to GC.Collect() is made.
If you repeat that (e.g. 15 times) than the consumed memory is growing.

Please, can you confirm it is a bug or tell me the solution?

sample project: Here
Boby
Telerik team
 answered on 31 Jan 2013
10 answers
433 views
Hi everyone,

I use a RadRichText box and I need to insert a Telerik.Windows.Documents.Model.Table object(It is generated in Runtime)
into a Document, and in each cell I add a placeholder using InlineUIContainer,
so the question is how can I disable editing of my cell that contains a placeholder,
because currently all my functionality works perfect but cells are editable.

Method below initializes a TableCell instance where a placeholder is injected.
private double InitDataCell(TableCell dataCell, DynamicColumnViewModel columnVm, bool isWidth100, double percent)
{
            double cellHeight = 0;
 
            dataCell.Tag = columnVm.DynamicCellData.TableID.ToString();
 
            if (isWidth100)
            {
                dataCell.PreferredWidth = new TableWidthUnit(TableWidthUnitType.Percent, percent);
            }
            else
            {               
                dataCell.PreferredWidth = new TableWidthUnit(TableWidthUnitType.Fixed, columnVm.Width);
            }           
 
            dataCell.TextAlignment = columnVm.Alignment;
            dataCell.VerticalAlignment = RadVerticalAlignment.Center;
            var paragraph = new Paragraph();
            paragraph.TextAlignment = columnVm.Alignment;
            dataCell.Blocks.Add(paragraph);
 
            dataCell.Background = columnVm.DynamicCellData.Background;         
 
            var tb = new TextBlock
            {
                Text = columnVm.Expression,
                Tag = string.Format("{0}{1}", DynamicTableCommon.DynamicTable.TABLE_TAG_ID_PREFIX, columnVm.DynamicCellData.TableID.ToString()),
                FontSize = columnVm.DynamicCellData.FontSize,
                Background = new SolidColorBrush(columnVm.DynamicCellData.Background),
                Foreground = new SolidColorBrush(columnVm.DynamicCellData.Foreground),
                FontFamily = columnVm.DynamicCellData.FontFamily,
                FontWeight = columnVm.DynamicCellData.FontWeight,
                FontStyle = columnVm.DynamicCellData.FontStyle,
                TextDecorations = columnVm.DynamicCellData.TextDecoration
            };
 
            tb.VerticalAlignment = VerticalAlignment.Bottom;
 
            tb.HorizontalAlignment = PlaceHolderReplaceManager.ConvertRadTextAlignmentToHorAlignment(columnVm.Alignment);
 
            System.Windows.Controls.Border border = new System.Windows.Controls.Border();
            border.BorderThickness = new Thickness(0);
            border.BorderBrush = Brushes.Transparent;
            border.Background = new SolidColorBrush(columnVm.DynamicCellData.Background);           
            border.VerticalAlignment = VerticalAlignment.Center;
            border.HorizontalAlignment = HorizontalAlignment.Center;
            border.Child = tb;
 
            border.Measure(new Size(Double.PositiveInfinity, Double.PositiveInfinity));        
 
            Size s = new Size(border.DesiredSize.Width + 1, tb.DesiredSize.Height - 1);
            var uic = new DynamicCellInlineUIContainer(border, s);                         
 
            paragraph.Tag = columnVm.DynamicCellData.TableID.ToString();
            paragraph.Inlines.Add(uic);
 
            cellHeight = uic.Height + 10;
 
            return cellHeight;
 }

and another question is - In what Table property can I save my ViewModel ID(table ID) value, because when
I try to save it in a Tag property, it dissapears when I do an export my Document(contains a table with Tag initialized property) to Html using HtmlFormatProvider?

Thanks in advance.
Petya
Telerik team
 answered on 31 Jan 2013
9 answers
306 views
Hello,

I'd like to show/hide a radpane following a user choice, store in my code.

When user clicks on menu "hide/show zoom"
  I set the ishidden property by program and it works.

Now, I'd like that my code boolean will be update when user close directly the radpane (x).

I use this code :
 
<telerik:RadSplitContainer InitialPosition="FloatingOnly"
                    telerik:RadDocking.FloatingLocation="250, 50" MinWidth="150" MinHeight="150">
                <telerik:RadPaneGroup >
<
telerik:RadPane CanDockInDocumentHost="False" CanUserClose="True" x:Name="paneZoom" 
                                     Header="Zoom" IsHidden="{Binding DisplayZoom, Mode=TwoWay}"

but, my DisplayZoom property is not setting.

Have you an idea ?
Aurore



M
Top achievements
Rank 1
 answered on 31 Jan 2013
7 answers
324 views
Hi,

From what I understand the purpose of data virtualization is to only keep a finite number of records in memory at any given time.  However, while experimenting I found that the ItemsLoading event only gets called while I scroll down to the bottom of the RadGridView.  Once I am at the final row and start scrolling back up it is no longer being called.  This has led me to believe that records are not being unloaded from memory once they have been scrolled out of view.

I am wondering if I am missing something as I do not see any cache size member to set how many things to hold in memory at one time.  Any guidance on how to properly utilize the VirtualQueryableCollectionView with the RadGridView would be greatly appreciated.  The example posted is for RIA services, but we are not using RIA.
Vlad
Telerik team
 answered on 31 Jan 2013
10 answers
283 views
Hello,

how can I change the Style of the FilterRow e.g. to change Background and remove Borders...
It would be great if you have some XAML CodeExamples for that!

regards
Maya
Telerik team
 answered on 31 Jan 2013
1 answer
623 views
Hi,

When I click on Overflow Button Inside the toolbar then it shows the remaining control which are not visible, here in this case I want to stop/disable the animation when it shows the overflow controls.
Could anyone please tell me how can I disable this animation.

Thanks,
KK
Petar Mladenov
Telerik team
 answered on 31 Jan 2013
17 answers
702 views
Hi All!

  I figured I would post here instead of a trouble ticket as this really is a quest for information more than anything else.  I am sure that you have probably been asked this somewhere by now; but I am not finding anything in the documentation or via the support links, so here it goes!

I have a GridView that is attached to a RadDataFilter and I would like to be able to store in a database the FilterDescriptors and the Logical operators that a user adds/changes/modifies.  I am having a hard time trying to figure out the bes data structure to use to accommodate the storing and retrieval of these filters.  My RadGridView is tied to a view in the database and these filters will be extremely important to keep for the filtering process.

Can someone make a recommendation as to the best approach?  Is there an easy way to "re-build" the RadDataFilter based on the string value found when assessing the values in this property: "radDataFilter.ViewModel.CompositeFilter.ToString()"?  If not a solution could be XML?  Just not sure what is less painful when attempting to store this controls data.  Perhaps I have to store the Binary for the object in the DB and rebuild?

Any assistance or guidance is greatly appreciated!

Thanks!

-Sean

Guru
Top achievements
Rank 2
 answered on 31 Jan 2013
1 answer
142 views
When the mouse moves over a row in a RadGridView I have to set some fields on the supporting viewmodel object so that visual objects in a different control using the same viewmodel are highlighted.

Is this doable with our current version of Telerik.Windows.Controls (2012.2.0725.40)?

Thanks,

Ari
Nick
Telerik team
 answered on 30 Jan 2013
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?