Telerik Forums
UI for WPF Forum
2 answers
146 views
I'm using the Telerik themes provided in the 'Binaries.NoXaml' folder of the RadControls installation folder and setting and switching the themes at runtime using the tutorial provided here: http://www.telerik.com/help/wpf/styling-apperance-themes-runtime.html

When I switch themes all RadControls update to the new theme except the RadMap control. I can see in the WPF demos that the RadMap control has many different themes (i.e. Windows7, Windows8, Windows8Touch, OfficeBlack, etc...) but it doesn't seem to use them. Any advice?
Mel
Top achievements
Rank 1
 answered on 19 Dec 2013
7 answers
185 views
when the outlook bar's splitter is dragged to resize, it occupies the entire area of the main region. Here is a simplified layout within the Shell.
In Outlook, the main region would have a minimum width set. Even if i set the min width to the border or within the content control inside it is not working as expected
<DockPanel x:Name="LayoutRoot">
 
        <ContentControl x:Name="RibbonPanel" />
        <ContentControl x:Name="StatusBarPanel" />
        <ContentControl x:Name="ControlPanelRegion"  />
        <ContentControl x:Name="OutlookBarPanel"  />
        <Border  BorderThickness="2" Padding="0" >           
            <Grid >
                <Grid.RowDefinitions>
                    <RowDefinition Height="*"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
                <ContentControl x:Name="MainRegion" />
                <ContentControl x:Name="AnotherRegion"  />
            </Grid>
        </Border>
</DockPanel>
Tina Stancheva
Telerik team
 answered on 19 Dec 2013
0 answers
112 views
Hello,

I'm using the Gridview version 2013.3.1016.40.

I can't seem to find a way to use an itemspaneltemplate for each GridViewRow.

What I'm actually trying to do is add a behavior on a row.

Is it possible to do this without replacing the Template as a whole?

Best regards,

Stefaan.
Stefaan
Top achievements
Rank 1
 asked on 19 Dec 2013
2 answers
273 views
Is there an MVVM way of using the RadPdfViewer to silently print a document? We currently are using the following line in the DocumentChanged event handler to do the silent printing.

((RadPdfViewer)sender).Print(new PrintSettings("Document 1", true));


Thank you,
Mark
Mark
Top achievements
Rank 1
 answered on 19 Dec 2013
9 answers
220 views
hello, how i can change style of navigation view button after adding 
                <telerik:DayViewDefinition />
                <telerik:WeekViewDefinition />
                <telerik:MonthViewDefinition />   ?
Kalin
Telerik team
 answered on 19 Dec 2013
1 answer
160 views
I am programmatically filtering my gridview.  The gridview has about 2000 rows, with a column called "Tag" of type uint that has a unique value for each row.  In another control, my application user can select or unselect the Tags he wants to see in the gridview.

I'm using DistinctFilter as shown below.  I'm seeing very poor performance and even a stackoverflow apparently coming from ResumeNotifications (no stack trace is available for that).
When the user wants to show all 2000 rows, no filtering is needed so that works fine.  But when a single row is to be filtered out, I would AddDistinctValue 1999 times.
Is there some better way I should be doing this?   

GridViewColumn tagColumn = this.gridView.Columns["Tag"];
IColumnFilterDescriptor tagFilter = tagColumn.ColumnFilterDescriptor;
 
// Suspend the notifications to avoid multiple data engine updates
tagFilter.SuspendNotifications();
                 
tagFilter.DistinctFilter.Clear();
 
foreach (var pair in myDictionary)
{
    if (pair.Value.IsShown)
    {
        tagFilter.DistinctFilter.AddDistinctValue(pair.Key);
    }
}
 
// Resume the notifications to force the data engine to update the filter.
tagFilter.ResumeNotifications();
Dimitrina
Telerik team
 answered on 19 Dec 2013
1 answer
1.0K+ views
Hi!

When I use this code, to create an empty PDF file (2013Q3SP1):

var filename = "C:\\temp\\test.pdf";
var doc = new Telerik.Windows.Documents.Model.RadDocument();
var stream = new FileStream(filename, FileMode.Create);
var pdfExp = new Telerik.Windows.Documents.FormatProviders.Pdf.PdfFormatProvider();
 
pdfExp.Export(doc, stream);
stream.Close();

and look at test.pdf I get

/MediaBox [0 0 612 792]

This is OK for letter format, which is the default.

But when I set the size to A4:

doc.SectionDefaultPageSize = Telerik.Windows.Documents.Model.PaperTypeConverter.ToSize(Telerik.Windows.Documents.Model.PaperTypes.A4);
pdfExp.Export(doc, stream);
stream.Close();

the Mediabox looks like this

/MediaBox [0 0 594.75 842.25]

I cannot find an official reference which is the correct size, but when I do a google search with https://www.google.de/search?q="%2FMediaBox+%5B0+0+594.75+842.25%5D" I just get one page of results.But if I use https://www.google.de/search?q=%2FMediaBox+%5B0+0+595+842%5D to search, I get hundreds of pages with this result.

Could you check, which is the correct value and If /MediaBox [0 0 595 842] is the correct one, how to fix it?

Thanks 

Mike



Alexander
Telerik team
 answered on 18 Dec 2013
1 answer
116 views
Dear support,
in our code we have paragraphs consisting of two PermissionRangeStart and a PermissionRangeEnd tags (header and text), each of them encapsulating a span. (see example below).
When the user tries to position the caret at the beginning of the "text" span he is facing a strange behaviour concerning the positioning of the caret at the beginning of the line. When hitting "Pos1" key the caret comes out to be in the previous span (in the header). Pressing the "Arrow right" key does not move the caret (visibly) but then the user can type in the correct span.
When positioning the caret at the beginning of the line via mouse we are having an unpredictable situation whether the user is in the header span or the text span.

How can we solve this? 
Thanks in advance!

Jo

<t:Paragraph FirstLineIndent="0" LeftIndent="0" 
xmlns:t="clr-namespace:Telerik.Windows.Documents.Model;assembly=Telerik.Windows.Documents"><BR>      
<t:Paragraph.ParagraphSymbolPropertiesStyle><BR>        
<s:SpanProperties FontFamily="Arial" FontWeight="Bold" 
/><BR>      
</t:Paragraph.ParagraphSymbolPropertiesStyle><BR>      
<custom1:NamedPermissionRangeStart AnnotationID="11" 
InternalKey="CLINICALQUESTION" 
Name="TEMPLATE_FRAGMENT_TITLENAME_CLINICALQUESTION_1" 
Type="Header"><BR>        
<t:PermissionRangeInfo Name="EditorTemplateAdmin" Type="Individual" 
/><BR>      
</custom1:NamedPermissionRangeStart><BR>      
<t:Span FontFamily="Arial" FontWeight="Bold" Text="Fragestellung¬" 
/><BR>      <custom1:NamedPermissionRangeEnd 
AnnotationID="11" /><BR>      
<custom1:NamedPermissionRangeStart AnnotationID="12" 
InternalKey="CLINICALQUESTION" 
Name="TEMPLATE_FRAGMENT_TEXTNAME_CLINICALQUESTION_1" 
Type="Text"><BR>        
<t:PermissionRangeInfo Name="ReportAuthor" Type="Group" 
/><BR>      
</custom1:NamedPermissionRangeStart><BR>      
<t:Span FontFamily="Arial" FontWeight="Bold" Text=" ¬" 
/><BR>      <custom1:NamedPermissionRangeEnd 
AnnotationID="12" /><BR>    </t:Paragraph>
Petya
Telerik team
 answered on 18 Dec 2013
7 answers
374 views
Hi,

I am developing a WPF application for a Windows 7 tablet, and I am wondering if there is a way to allow a RadTileView to be scrolled by using touch / finger gestures?

Thanks!
Nick
Telerik team
 answered on 18 Dec 2013
3 answers
120 views
Hi, 
   If I select a row, and set the grid in read only mode, the gray color is over the orange color .

  How to fix this style ?

Thanks
Dimitrina
Telerik team
 answered on 18 Dec 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
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?