Telerik Forums
UI for WPF Forum
4 answers
315 views
Hello
I have problem with compressed pdf which use CCITTFaxDecode image.
I have read that Telerik not fully implement CCITTFaxDecode and I tried to code my own decoder but I never enter in my function because CCITTFaxDecode image was ignore. I have no error and I never enter in my decoder. 
I use Q1 2014 and I tried Silverlight Demo on your site and I have the same result.
Have you an idea ?
Thanks

PS : How join a pdf example ?
Olivier
Top achievements
Rank 1
 answered on 16 Jan 2015
4 answers
329 views
I have a radDropDownButton that has a border with a corner radius as the DropDownContent - the border corner radius is applied, however I cannot seem to find where to remove the 1 pixel border that is always around the DropDownContent.  Is this possible?
Petar Mladenov
Telerik team
 answered on 16 Jan 2015
2 answers
825 views
I am having trouble changing the scrollbar style for RadCombobox, I have tried several things and nothing works, I am sure i am missing something because it works on another project.

-- Project in which it is working --
I am not using implicit style here, i have created new scroll bar style:
<Style x:Key="{x:Type ScrollBar}" TargetType="{x:Type ScrollBar}">

I have created combobox style:
<Style x:Key="RadComboBoxStyle1" TargetType="{x:Type telerik:RadComboBox}">

and i see the new scroll bar style

-- not working --
In the other project i have the same style for scrollbar and same style for Combo box, the only difference is that i am using implicit styles
 <Style TargetType="{x:Type telerik:RadComboBox}" BasedOn="{StaticResource RadComboBoxStyle}">


the combo box style was suing office manager theme and i commented that out, for the project where it is working if i do not comment that it does not work, but for this project that does not help.
 <telerik:StyleManager.Theme>
                                    <telerik:Office_BlackTheme/>
                                </telerik:StyleManager.Theme>





Thanks
vikas
Masha
Telerik team
 answered on 16 Jan 2015
2 answers
152 views
Hi,

I have a RadDataForm using Windows8Theme (although the theme doesn't seem to matter) with the following definition:

<telerik:RadDataForm x:Name="radUserForm" Grid.Row="0" AutoGenerateFields="False" ItemsSource="{Binding Path=UsersList}">
            <telerik:RadDataForm.ReadOnlyTemplate>
                <DataTemplate>
                    <StackPanel>
                        <telerik:DataFormDataField DataMemberBinding="{Binding AD_Username, Mode=OneWay}" Label="AD Username" IsEnabled="False" >
                            <telerik:DataFormDataField.Content>
                                <telerik:RadComboBox ItemsSource="{Binding Source={StaticResource ResourceKey=SysUsersList}}"
                                                     DisplayMemberPath="USER_NAME" SelectedValuePath="USER_ID" SelectedValue="{Binding AD_Username}"
                                                     IsEnabled="False"/>
                            </telerik:DataFormDataField.Content>
                        </telerik:DataFormDataField>
 
                        <telerik:DataFormDataField DataMemberBinding="{Binding Username, Mode=OneWay}" Label="Username" IsEnabled="False" />
                        <telerik:DataFormDataField DataMemberBinding="{Binding Email, Mode=OneWay}" Label="E-Mail" IsEnabled="False" />
                        <telerik:DataFormDataField DataMemberBinding="{Binding ProfileId, Mode=OneWay}" Label="Profile" IsEnabled="False">
                            <telerik:DataFormDataField.Content>
                                <telerik:RadComboBox ItemsSource="{Binding Source={StaticResource ResourceKey=ProfilesList}}" 
                                                     DisplayMemberPath="ProfileName" SelectedValuePath="Id"
                                                     SelectedValue="{Binding ProfileId}" IsEnabled="False" />
                            </telerik:DataFormDataField.Content>
                        </telerik:DataFormDataField>
                    </StackPanel>
                </DataTemplate>
            </telerik:RadDataForm.ReadOnlyTemplate>
            <telerik:RadDataForm.EditTemplate>
                <DataTemplate>
                    <StackPanel>
                        <telerik:DataFormDataField DataMemberBinding="{Binding AD_Username, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Label="AD Username" IsEnabled="True" >
                            <telerik:DataFormDataField.Content>
                                <telerik:RadComboBox ItemsSource="{Binding Source={StaticResource ResourceKey=SysUsersList}}"
                                                     DisplayMemberPath="USER_NAME" SelectedValuePath="USER_ID" SelectedValue="{Binding AD_Username}"
                                                     IsEnabled="True"/>
                            </telerik:DataFormDataField.Content>
                        </telerik:DataFormDataField>
 
                        <telerik:DataFormDataField  Label="Username" IsEnabled="True"
                                                    DataMemberBinding="{Binding Username, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, ValidatesOnNotifyDataErrors=True}" />
                        <telerik:DataFormDataField  Label="E-Mail" IsEnabled="True"
                                                    DataMemberBinding="{Binding Email, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged,  ValidatesOnNotifyDataErrors=True}" />
                        <telerik:DataFormDataField DataMemberBinding="{Binding ProfileId, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged,
                            ValidatesOnNotifyDataErrors=True, NotifyOnValidationError=True}" Label="Profile" IsEnabled="True" >
                            <telerik:DataFormDataField.Content>
                                <telerik:RadComboBox ItemsSource="{Binding Source={StaticResource ResourceKey=ProfilesList}}"
                                                     DisplayMemberPath="ProfileName" SelectedValuePath="Id"
                                                     SelectedValue="{Binding ProfileId}" IsEnabled="True" />
                            </telerik:DataFormDataField.Content>
                        </telerik:DataFormDataField>
                        <telerik:DataFormDataField  Label="Password">
                            <PasswordBox MaxLength="50" controls:PasswordBoxAssistant.BindPassword="True"
                                         controls:PasswordBoxAssistant.BoundPassword="{Binding Path=PasswordString, Mode=TwoWay,
                                        UpdateSourceTrigger=PropertyChanged, ValidatesOnNotifyDataErrors=True}" />
                        </telerik:DataFormDataField>
                    </StackPanel>
                </DataTemplate>
            </telerik:RadDataForm.EditTemplate>
            <telerik:RadDataForm.NewItemTemplate>
                <DataTemplate>
                    <StackPanel>
                        <telerik:DataFormDataField DataMemberBinding="{Binding AD_Username, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Label="AD Username" IsEnabled="True" >
                            <telerik:DataFormDataField.Content>
                                <telerik:RadComboBox ItemsSource="{Binding Source={StaticResource ResourceKey=SysUsersList}}"
                                                     DisplayMemberPath="USER_NAME" SelectedValuePath="USER_ID" SelectedValue="{Binding AD_Username}"
                                                     IsEnabled="True"/>
                            </telerik:DataFormDataField.Content>
                        </telerik:DataFormDataField>
 
                        <telerik:DataFormDataField  Label="Username" IsEnabled="True"
                                                    DataMemberBinding="{Binding Username, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, ValidatesOnNotifyDataErrors=True}" />
                        <telerik:DataFormDataField  Label="E-Mail" IsEnabled="True"
                                                    DataMemberBinding="{Binding Email, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged,  ValidatesOnNotifyDataErrors=True}" />
                        <telerik:DataFormDataField  Label="Password">
                            <PasswordBox MaxLength="50" controls:PasswordBoxAssistant.BindPassword="True"
                                         controls:PasswordBoxAssistant.BoundPassword="{Binding Path=PasswordString, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged,
                                 ValidatesOnNotifyDataErrors=True, NotifyOnValidationError=True}" />
                        </telerik:DataFormDataField>
 
                        <telerik:DataFormDataField DataMemberBinding="{Binding ProfileId, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged,
                            ValidatesOnNotifyDataErrors=True, NotifyOnValidationError=True}"
                                                   Label="Profile" IsEnabled="True" >
                            <telerik:DataFormDataField.Content>
                                <telerik:RadComboBox ItemsSource="{Binding Source={StaticResource ResourceKey=ProfilesList}}"
                                                     DisplayMemberPath="ProfileName" SelectedValuePath="Id"
                                                     SelectedValue="{Binding ProfileId}" IsEnabled="True" />
                            </telerik:DataFormDataField.Content>
                        </telerik:DataFormDataField>
                    </StackPanel>
                </DataTemplate>
            </telerik:RadDataForm.NewItemTemplate>
        </telerik:RadDataForm>


The result is the attached image. Notice how username and e-mail fields are of a different size than the other field.

Could you kindly shed some light to this?

Regards,
Daryl

Alan
Top achievements
Rank 1
 answered on 16 Jan 2015
2 answers
179 views
Hi,
I am having an interesting issue with nested GridViews using row details.
I need to be able to double click on rows in both the child and parent GridView and handle them differently.
But there seems to be an odd behavior where when I double click on the child row the MouseDoubleClickEvent gets raised on the child row first, then a different MouseDoubleClickEvent gets raised on the parent row. Event if I set the first event to being handled a separate event is raised on the parent row.
The event handlers are being added on the RowLoaded event for both the child and parent GridViews.



Kind Regards,

Ryan
Ryan
Top achievements
Rank 1
 answered on 16 Jan 2015
3 answers
163 views
Hi

I've noticed that in 2014.3.1021 there have been some performance enhancements to UpdateAllFields.  I'm not entirely sure what they are, but if I was to guess I'd say the document is no longer being layed out, mesaured and arranged after each field update.

This has, sadly, broken one of my custom fields.

I have a sort-of-cross reference field - it returns the page number of a custom AnnotationRangeStart.  It does this in basically the same way as PageField.

Following the update to this version, the page number is always returned as '1' during UpdateAllFields.  This seems to be because the layout only reports a single SectionLayoutBox in the DocumentLayoutBox.

I see from the PageField source two internal virtual methods that you use to workaround this issue: SaveState and RestoreState.  As these are internal and not protected internal, I can't do the same.

My current workaround is to run Document.UpdateLayout() while this field is updating, which isn't ideal.  Do you have any better ideas, or would you consider changing the accessibility of these internal state management methods?







Petya
Telerik team
 answered on 15 Jan 2015
1 answer
120 views
Hi,
i can not remove first record in radgridview with RadGridView.Items.RemoveAt(0);
help me please , tanks
Nick
Telerik team
 answered on 15 Jan 2015
1 answer
153 views
Quick question.

How do I replace the standard GridViewGroupRow with a custom derived class?
Dimitrina
Telerik team
 answered on 15 Jan 2015
1 answer
134 views
Hello,

In my project, I need to show a gantview which the user can modify tasks (duration, start, end), with field or with the behavior of the component (drag and drop). The problem is when the user put a start equal to the end for a task, these task is transform to milestone, with a different style and different behavior(including the deactivation of expansion of the task by left or right), which can disrupt the user. How can I keep the style/behavior of the task even start and end of the task is equal ? (it's not important if the tasks have a minimum size)

Thanks for Your Help

Julien
Nasko
Telerik team
 answered on 15 Jan 2015
3 answers
270 views
Hi,
We have an usercontrol that it used to generate several different grids in a same window.
We noticed that when we have 2 or more grids  in a window, the load time begins grow and the performance drops.

Our control uses a DataTable to generate the data because each grid could have different number of columns, here is the way we make the assignment:

dataGrid.ItemsSource = data.DefaultView;

Our problem its related with this line, because this operation its taking between 150 and 200 milliseconds, that seems good for a single grid, but when we have several of this it could take more than a second or two to load a window, which is not acceptable for our customer.

It's there a way to improve this?

Just in case, we are taking in care your tips and tricks help topic
We are using the 2011 Q3 telerik version.

Thanks!
Dimitrina
Telerik team
 answered on 15 Jan 2015
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?