Telerik Forums
UI for WPF Forum
3 answers
115 views
Hi,

Is there a built-in feature to toggle the complete ribbonbar / view with a "expander triangle icon"
such as in word, excel 2010.
See the attached *.png file for detail.

Thx,
Chris
Christoph
Top achievements
Rank 1
 answered on 26 Apr 2012
9 answers
293 views
Hi,

With the old gauge (beta), I create some gauge controls and directly (without display) save the result in an Image file.
With the new gauge, I have some probleme with the ticks and label display (as you can see in the attached file).

The code I use is :
UC = new CircularGauge(); // Usercontrol WPF
UC.Width = 200; UC.Height = 200;
 
UC.Measure(new System.Windows.Size(UC.Width, UC.Height));
UC.Arrange(new Rect(0.0, 0.0, UC.Width, UC.Height));
UC.UpdateLayout();
 
RenderTargetBitmap oTargetBitmap = new RenderTargetBitmap((int)UC.Width, (int)UC.Height, 96.0, 96.0, System.Windows.Media.PixelFormats.Default);
oTargetBitmap.Render(UC);
         
PngBitmapEncoder oPngBitmapEncoder = new PngBitmapEncoder();
oPngBitmapEncoder.Frames.Add(BitmapFrame.Create(oTargetBitmap));
oPngBitmapEncoder.Save(msGaugeImage);

What is wrong in my approch ?
Is there a other way to do this ?

Thanks,

Yves
Anton de Klerk
Top achievements
Rank 1
 answered on 26 Apr 2012
1 answer
296 views
Hi,

I want to implement on demand paging using scroll on radGridView control for my WPF windows application.
We are having a huge data in SQL server database which is causing performance issues if we display entire data on grid view.
We want to make WCF calls to fetch and display data on screen as we scroll down the grid.
We do not want to go for paging control option for this.

I have gone through one blog by  Vladimir Enchev given below.
http://blogs.telerik.com/vladimirenchev/posts/09-12-21/how_to_custom_scrolling_with_radgridview_for_silverlight_and_wcf_ria_services.aspx 

It explains how to implement this for silver light control. But we want to implement this for our WPF control using WCF service calls using SP to connect to DB.

Please guide us and give demo application in this regard.

Looking forward for an early response.

-------
Warm Regards,
Abhishek Vyas
Grapecity India Pvt. Ltd. 
Vlad
Telerik team
 answered on 26 Apr 2012
10 answers
394 views
Hi,
    I'm currently working on a an application that uses a .NET windows form embedded in a web page in Internet Explorer, and am investigating the trial version of RadControls for WPF Q2 2009 SP1 to see if using these controls will be feasible.

When I try to include a radGridView control in the Windows form, I get the following error on loading it in Explorer:

"System.Windows.Markup.XamlParseException:  Cannot find type 'Telerik.Windows.Controls.RadComboBox'. The assembly used when compiling might be different than that used when loading and the type is missing.  Error at object 'System.Windows.Controls.ControlTemplate' in markup file 'Telerik.Windows.Controls.GridView;component/themes/office/silver/DistinctFilterControl.xaml'. ---> System.ApplicationException: Cannot find type 'Telerik.Windows.Controls.RadComboBox'. The assembly used when compiling might be different than that used when loading and the type is missing."

It looks as if Telerik.Windows.Controls.Input.dll assembly that contains the RadComboBox is not being downloaded even though it's part of the project.

I have a workaround for the issue, but to use the controls in a production environment I need to know:

1) is what I'm attempting to do supported behaviour?
2) if it is supported behaviour, will this issue be fixed?
3) if not, is this likely to be supported in the future?

Regards
Michael Mclean
mina haleem
Top achievements
Rank 1
 answered on 26 Apr 2012
1 answer
71 views
Hello,

The application crashes when I insert a table (through the RadRichtTextBoxRibbonUI) in a RadRichTextBox. This only happens if the LayoutMode is different from Paged.

Does the suite not support tables in non-Paged textboxes? I have not been able to find any information on this in the documentation.

Regards,
James
Vasil
Telerik team
 answered on 26 Apr 2012
1 answer
249 views
I am using the listbox control with a custom datatemplete..  I have noticed that the first time you select an item in the list box the selectionchanged even does not fire.  It will only fire the second time you select an item from the list, unless I want to set the selectedIndex property which I do not want to do.   

So if I dont want to have a pre selected item by default.  How do I determine the first item in the list that's selected.
George
Telerik team
 answered on 26 Apr 2012
2 answers
253 views
Hi,

I have a RadGridView with multiple columns, one column contain a timestamp (date + time) and I would like to know how in the column filter I can filter only on the date part (of course, I need to keep the time part in the column) ?

Thank's
Oliver
Top achievements
Rank 1
 answered on 25 Apr 2012
1 answer
332 views

We have a grid with several properties. Length of each "Display name" is different: there are short names like "Step" and long names like "Upper alignment style". I want the "Display name" column (property name column) to auto-size according to the longest property name in the grid.
Currently I tried two options:
1. specify  LabelColumnWidth to Auto, but this gives row-based auto-sizing, but I want that that all rows have the same width (looks like a single column)
2. not specify anything, the width is set to ~200px that's too long for me

Can you please suggest a proper way to have auto-sized width for the whole column?

Thank you!

 

Maya
Telerik team
 answered on 25 Apr 2012
1 answer
208 views
Hello!
In rare cases dialog window looks like on the  attached screenshots. This problem is observed on Windows XP only in rare cases. Typicaly this problem happens right after application is launched.
What can cause this problem? How it can be fixed?

Georgi
Telerik team
 answered on 25 Apr 2012
5 answers
309 views
Hi,

I wonder why this code fails to produce tiles that occupy the full width of the TileView:

<telerik:RadTileView DockPanel.Dock="Top" ItemsSource="{Binding Phases}" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
                        SelectionMode="Single" ColumnWidth="*" ColumnsCount="1" IsAutoScrollingEnabled="True"
                        IsSynchronizedWithCurrentItem="True" IsSelectionEnabled="True"
                        MaximizeMode="Zero" RowHeight="Auto"
                        telerik:TileViewPanel.IsRowsShrinkEnabled="True"
                        telerik:StyleManager.Theme="Expression_Dark">
    <telerik:RadTileView.ContentTemplate>
        <DataTemplate>
            <Grid Margin="6">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                    <ColumnDefinition Width="Auto" />
                </Grid.ColumnDefinitions>
                <ContentControl Grid.Column="0" HorizontalAlignment="Stretch" Content="{Binding}" >
                    <ContentControl.Style>
                        <Style TargetType="{x:Type ContentControl}">
                            <Setter Property="ContentTemplate" Value="{StaticResource PhaseTemplate}" />
                            <Style.Triggers>
                                <DataTrigger Binding="{Binding IsChecked, ElementName=EditButton}" Value="True">
                                    <Setter Property="ContentTemplate" Value="{StaticResource PhaseEditTemplate}" />
                                </DataTrigger>
                            </Style.Triggers>
                        </Style>
                    </ContentControl.Style>
                </ContentControl>
                <ToggleButton x:Name="EditButton" Margin="6,0,6,0" Grid.Column="1"
                        Style="{StaticResource EditToggleButton}"
                        HorizontalAlignment="Right" VerticalAlignment="Top" />
            </Grid>
        </DataTemplate>
    </telerik:RadTileView.ContentTemplate>
</telerik:RadTileView>

I can see, using Snoop, that the TileView takes the full width where it's shown, but when I create TileViewItems in it, they occupy a fraction of the TileView. When I create a second TileViewItem, it's displayed in the second row, though, even if there's enough space left in the first row. It's like the column width is not what I expect, but the column count is respected.

Any help will be greatly appreciated.

Regards,

Alex
Zarko
Telerik team
 answered on 25 Apr 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
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?