Telerik Forums
UI for WPF Forum
1 answer
215 views
Is it possible to show an empty group (group containing no items) in the GridView, f.i. by adding a group from code?
Vlad
Telerik team
 answered on 05 Mar 2012
2 answers
201 views
Hi,

I have a question about the binding to a SQL-Database

The Database-Table looks like this:

Column        value

id                    id
name              name of the node
parentid          id of the parentid (0=root)

how is the best way to fill a RadTreeView from this table with all its nodes?

Thank you for your help and sorry for my bad english

Johann
Top achievements
Rank 1
 answered on 05 Mar 2012
1 answer
252 views
Hi,

I am printing GridView's and TreeListViews using the PrintAndExportWithRadDocumentModel.cs code, which I found on the forum somewhere.


public void Print(object parameter)
     {
         GridViewDataControl grid = (GridViewDataControl)parameter;
         RadRichTextBox rtb = new RadRichTextBox() { Height = 0 };
 
         rtb.Name = "RadRichTextBox1";
 
         Grid parent = grid.ParentOfType<Grid>();
         if (parent != null && parent.FindName(rtb.Name) == null)
         {
             parent.Children.Add(rtb);
             rtb.ApplyTemplate();
         }
 
         rtb.Dispatcher.BeginInvoke((Action)(() =>
         {
             rtb.Document = CreateDocument(grid);
         }));
          
         rtb.Print("MyDocument", Telerik.Windows.Documents.UI.PrintMode.Native);
     }

I need to be able to hide the PrintDialog if required, how do I achieve this using the printing functionality of the RichTextBox. Previously I was using another class  PrintExtensions.cs, but this was not able to print the TreeListView's which I need.

Thanks,

Adam


Vlad
Telerik team
 answered on 05 Mar 2012
1 answer
96 views
The code samples provide a mechanism for saving the file and then subsequently open Excel with the saved file. 

We would like to follow a more standard paradigm with regards to exporting to Excel.  We would like to stream the contents of the grid directly to Excel - similar to some other well know applications (e.g. SSRS).  The saving of the file would then becomes the prerogative of the end-user.

Is there a way to do so?
Vlad
Telerik team
 answered on 05 Mar 2012
8 answers
279 views
I read several posts that stated that you were going to have the PDFViewer for WPF in Q3 SP 1. I just downloaded it and installed it and it is not there. What is the time frame on this?
Vlad
Telerik team
 answered on 05 Mar 2012
7 answers
970 views
Hello Telerik Team,

I want to expand / collapse all hierarchy levels of a RadTreeListView in C# code. 
I have multi level hierarchy items (generally 3-4 levels deep)

When I use
 
radTreeListView.ExpandAllHierarchyItems();
 
radTreeListView.CollapseAllHierarchyItems();

This only expands or collapses the first level hierarchy, the inner levels are left unchanged.

Any ideas on how to expand or collapse recursively all the way to the last level?

Thanks in Advance.
- Kumar
Vlad
Telerik team
 answered on 05 Mar 2012
4 answers
335 views
Hi,

I use the TileView to display content that can change dynamically. I would like the tiles to adjust to their new content whenever that happens.

Is this possible?

Regards,

Alex

Edit: I realized that the RowHeight property accepted the Auto value. Although my tiles now adjust their height to their content, for some reason a large blank space appears between my tiles (my column count is 1, thus I have 1 tile per row).
Alex
Top achievements
Rank 2
 answered on 05 Mar 2012
3 answers
324 views
Hi,

With the RadGridView, is it possible to move the positon of the "Click here to add new item" button, to the bottom? (the button that appears when you set

ShowInsertRow

 

 

="True"

Thanks

Chris

 

Calvin
Top achievements
Rank 2
 answered on 03 Mar 2012
2 answers
240 views
hi,
I have a question here. Bascially I have a tree list view, they reside in the same grid. This tree list view has three columns.
In my current code, I set each of them fixed width.
Now I want the first column occupies the largest width of the grid, and the other two have fixed size.

So I tried to set the first column size as "Auto", it's not working.
Then I tried to set the first colmn size as "3*", the other two are "*". Still not working.

Anyone knows the answer? Really appreciate it.

                    <Grid Grid.Row="1">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>

                        <!-- Telerik List -->
                        <telerik:RadTreeListView Grid.Column="0">
                            <telerik:RadTreeListView.ChildTableDefinitions>
                                <telerik:TreeListViewTableDefinition ItemsSource="{Binding Children}" />
                            </telerik:RadTreeListView.ChildTableDefinitions>
                            <telerik:RadTreeListView.Columns>
                                <telerik:GridViewDataColumn     Width="350">
                                    <telerik:GridViewDataColumn.CellTemplate>
                                        <DataTemplate>
            ...
                                        </DataTemplate>
                                    </telerik:GridViewDataColumn.CellTemplate>
                                </telerik:GridViewDataColumn>

                                <telerik:GridViewDataColumn      Width="160">
                                    <telerik:GridViewDataColumn.CellTemplate>
                                        <DataTemplate>
                  ...
                                        </DataTemplate>
                                    </telerik:GridViewDataColumn.CellTemplate>
                                </telerik:GridViewDataColumn>

                                <telerik:GridViewDataColumn      Width="160">
                                    <telerik:GridViewDataColumn.CellTemplate>
                                        <DataTemplate>
             ...
                                        </DataTemplate>
                                    </telerik:GridViewDataColumn.CellTemplate>
                                </telerik:GridViewDataColumn>
                            </telerik:RadTreeListView.Columns>
                        </telerik:RadTreeListView>
                    </Grid>

Thanks
Cynthia

Cynthia
Top achievements
Rank 1
 answered on 02 Mar 2012
20 answers
1.4K+ views
Hi Team,

    1). I want display Radgrid Header Column ToolTip. It is not displaying if  i give the value to ToolTip Property using xaml applications.

    2). I want to change the radgrid datacolumn border ro RedColor in error message( how Infopath forms will display when an error occurs) using xaml applications.

    Please help me.

   Thanks in Advance.

Regards,
Naveen Kumar.
Johnny
Top achievements
Rank 1
 answered on 02 Mar 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
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?