Telerik Forums
UI for WPF Forum
2 answers
195 views

Hello,

 

I am using a RadGridView with a RadDataPager to display a collection of items.

I use a GridViewSelectColumn to enable to select some of these items and to perform actions only on those who are selected.

My issue is that when I check the GridViewSelectColumn of some items, if I change the page and that I go back to the previous one, the items are not selected anymore.

I searched the forum and tried a few things but nothing worked.

 

Thanks in advance.

Regards,
Adrien.

Adrien
Top achievements
Rank 1
 answered on 22 Jun 2016
1 answer
138 views

Hello,

when I bind the TaskSource of the RadGanttView (WPF) to a CompositeCollection I get the Exception "Object of Type System.Windows.Data.CollectionContainer cannot be converted to Type IGanttTask". With the RadTreeView it works. All Items in the Collections implements IGanttTask.

<CompositeCollection x:Key="ProjectChildCollection"><br>               
<CollectionContainer Collection="{Binding DataContext.SelectedProject.ProjectActions, Source={x:Reference control}}" /><br>               
<CollectionContainer Collection="{Binding DataContext.SelectedProject.Tasks, Source={x:Reference control}}" /><br>               
<CollectionContainer Collection="{Binding DataContext.SelectedProject.ResourceBookings, Source={x:Reference control}}" /><br>           
</CompositeCollection>

 

TasksSource="{Binding Source={StaticResource ProjectChildCollection}}"

Nasko
Telerik team
 answered on 22 Jun 2016
1 answer
139 views

Hello,

I'm using RadTabControl with TabStripPlacement="Left" 

In the past the RadTabItems were shown on the left side from top to bottom. Now they are placed from bottom to top. When changing the code to TabStripPlacement="Right" they are listed from top to bottom - like I want it happen on the left side.

I think I haven't changed anything. May it be a change in one of the two last versions?

 

Regards,

Raul

Kiril Vandov
Telerik team
 answered on 22 Jun 2016
6 answers
238 views
Hi all,

I am working on a WPF application using Telerik (http://www.telerik.com/) and coded in C# .NET.
My following question goes over an ASP .NET page using the model “Code behind” to implement the logic of the page.

I would like to get the position of the GanttPresenterSplitter in a <telerik:RadGanttView>.
This information would allow me to set the position of another element in another part of the same screen.
I would also know if it is possible to add an event handler on that GanttPresenterSplitter in order to get its position each time that line moves.

The ASP .NET page is split into 3 parts (please find in attachment "draft_screen.png") :
- Red square : <telerik :RadGanttView>
- Green square : <telerik :RadGridView>
- Blue square : <telerik :RadScheduleView>

As you can see, there is a dividing line between <telerik :RadGridView> and <telerik :RadScheduleView>.
I would like that line moves at the same time and same position as the GanttPresenterSplitter in the RadGanttView.

Using a more explicit picture based on an example (please find in attachment "explicit_screen.png") :
- Orange line : GanttPresenterSpliter
- Purple line : GridSplitter

My point is to coordinate the orange and the purple lines in order they have the same position all the time.

Any help will be much appreciated J
Brieuc
Top achievements
Rank 1
 answered on 21 Jun 2016
2 answers
118 views

Hello!

I have started to use the RadLayoutControl and it works great. However I am wondering if it is possible to save the layout after the user has made some changes to it?

Pontus
Top achievements
Rank 1
 answered on 21 Jun 2016
1 answer
711 views

Hi all,

I am working on a WPF application using Telerik UI for Silverlight (http://demos.telerik.com/silverlight/#RichTextBox/TelerikEditor) and coded in C# .NET.
I took the code of the previous link  and set it up to fit my needs.
I am now facing to an issue : How to directly load by coding a .rtf document into a RadRichTextBox ?

I tried two ways :
RtfFormatProvider provider = new RtfFormatProvider();
RadDocument = null;
using (FileStream stream = new FileStream(FileName, FileMode.Open))
{
    document = provider.Import(stream);
}
DocumentFragment docFrag = new DocumentFragment(document);
radRichTextBox.InsertFragment(docFrag);

-> But that way causes an error because the “Import” method returns a RadFlowDocument whereas I am expecting a RadDocument.

RtfFormatProvider provider = new RtfFormatProvider();
            Telerik.Windows.Documents.Model.Section section = new Telerik.Windows.Documents.Model.Section();
            Telerik.Windows.Documents.Model.Paragraph paragraph = new Telerik.Windows.Documents.Model.Paragraph();
            string line;

            using (StreamReader stream = new StreamReader(FileName))
            {
                while ((line = stream.ReadLine()) != null)
                {
                    Telerik.Windows.Documents.Model.Span span = new Telerik.Windows.Documents.Model.Span(line);
                    try
                    {
                        paragraph.Inlines.Add(span);
                    }
                    catch(Exception e)
                    {
                        string x = e.StackTrace;
                    }
                }
            }
            section.Blocks.Add(paragraph);
            radRichTextBox.Document.Sections.Add(section);

-> There, even if there is no error, the problem is that nothing is shown in the editor.

The most strange is that, when I run the program without trying to load any document at the opening, the window opens perfectly and all the buttons react with the right behavior (see attachment “RadRichTextBoxEditor.png”) but I am not allowed to load a .rtf document whereas it is allowed on the link provided at the top of this topic. (see attachment “notSupportedRTF.png”)

Any help or tip will be much appreciated :)

Tanya
Telerik team
 answered on 21 Jun 2016
1 answer
117 views

Dear team,

I have a customized column that constains my own usercontrol inside. The column works perfectly but when we sort by another column, this column don't move. 

This is my column definition:

<telerik:GridViewDataColumn                                    
                                    Width="*"
                                    Header="{Binding Source={StaticResource appResx}, Path=ep_ClearOpeningRange}"
                                    HeaderTextAlignment="Center"
                                    IsReadOnly="False">
                                    <telerik:GridViewDataColumn.CellTemplate>
                                        <DataTemplate>
                                            <StackPanel>
                                                <TextBox Text="{Binding ModelOpeningSill.OpeningType.ProductAttributeValueCode}" />
                                                <my:MultiRangeSlider                                                    
                                                    Id="{Binding ApplicationRangeId}"
                                                    Maximum="3000"
                                                    Minimum="600"
                                                    PropertyChangedCommand="{Binding DataContext.ApplicationRangeChangedCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:ModelDetailView}}}"
                                                    Thumb1="{Binding CertifiedMinimumClearOpening, Mode=TwoWay}"
                                                    Thumb2="{Binding CertifiedMaximumClearOpening, Mode=TwoWay}"
                                                    Thumb3="{Binding RecommendedMinimumClearOpening, Mode=TwoWay}"
                                                    Thumb4="{Binding RecommendedMaximumClearOpening, Mode=TwoWay}"
                                                    TickFrequency="50" />
                                            </StackPanel>
                                        </DataTemplate>
                                    </telerik:GridViewDataColumn.CellTemplate>
                                </telerik:GridViewDataColumn>

 

My usercontrol is a multirange slider called: <my:MultiRangeSlider>. The textbox inside the StackPanel is sorted correctly but my usercontrol is totally static.

Attached captions maybe can help to understand my problem. In these captions the textbox inside the stackpanel was hidden (only was created for test).

Thanks in advance!

Dilyan Traykov
Telerik team
 answered on 21 Jun 2016
5 answers
142 views

Hi,

 

My child nodes seem to have a "mystery" column in front of the actual item, and you can only see it if you click on it. If you click on it, the items itself de-selects, and the "mystery column" in front of it becomes active for that row. How do I blend/merge/remove the blank column in front of all my child node rows ?

 

Thanks,

Barry

 

Dilyan Traykov
Telerik team
 answered on 21 Jun 2016
1 answer
184 views
Hi,

I am using many controls in my enterprise WPF application, which includes- RadGanttView, Combobox, etc.

The application runs perfectly fine when the windows text size is set at 125% or 150%.

But, when set at 100%, the text on the controls starts disappearing on mouse over. The issue is exacerbated by the fact that once the text starts disappearing, the buttons, and other actions stop working. The buttons, and RadGanttView items get clicked, but nothing happens. 

This happens on both Windows 7 and Windows 8.1 systems. PFA a snip of the issue occurring on RadGanttView.

Is this related to something in the controls? Or am i missing something here?

Please help.
Thank you!
Yana
Telerik team
 answered on 21 Jun 2016
2 answers
205 views
How to know the remaining time of the expiry of the Telerik Trial ?
Seth
Telerik team
 answered on 20 Jun 2016
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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?