Telerik Forums
UI for WPF Forum
1 answer
161 views

 

Hi

we are currently in process of evaluating the RadRichTextBox (and other Telerik WPF) controls.
I am investigating in finding out on how many features are supported as far as docx export is concerned.

1) Any chart or excel (tabular) comparision list where we can know what features of MS Word aren't supported?
2) Any links that can list down what all can be exported or imported as docx?

thanks
Paresh
Petya
Telerik team
 answered on 25 Jul 2013
1 answer
126 views
Hi.
I have gridview with enabled properties CanUserInsertRows.
Adding rows acuatlly works fine (thanks for RowEditEnded).
But now i'd like to edit selected row. So when i click on row, edit all information it raises RowEditEnded event. In this place im checking is there card with ID = selectedRow. If there is = edit, else = add new. Ok, new information is updated into database, but grid seems to still be in edit mode (so when i click enter in last cell, it update card in db, and going into edit in next - below - row).
Is there any way to cancel edit mode, unselect row or something else?

I also tried to use button, with click action = edit row. How can i put selected row into edit mode?
Thanks in advance.
Reards, Adam.
Yoan
Telerik team
 answered on 25 Jul 2013
3 answers
246 views
I have a docking system that has a few permanent and many dynamic possible panes or documentpanes. I set the serialization tags for the ones I want to be saved with the docking layout but I cannot seem to find a sure way to keep all other dynamic added panes from saving with the layout. Basically any items oftype radpane that do not have a serialization name I want to omit from the xml layout.

I have a routine that iterates the documenthost.items and removes any that are not names with one of the known pane names I want to keep. But I notice when debugging the items only contains ones with serialization tags, and I can see that the DocumentHost.Panes has many, these are the ones I do not want to keep...

(Called before saving docking layout)
(holderMain is documentHost, panesToKeep is array of panes by name we know we want to keep with the saved layout)
for(int p = 0; p<=holderMain.Items.Count; p++)
{
    try
    {
        RadPane pane = holderMain.Items[p] as RadPane;
        if (!panesToKeep.Contains(pane.Name)) pane.RemoveFromParent();
    }
    catch { }
}


But I still see in the saved xml that it contains various raddocumentpanes that have no serialization tags.
Rosen Vladimirov
Telerik team
 answered on 25 Jul 2013
3 answers
67 views
Hi All

When you Seletced a Appt the slot under this appt is not be selected.That`s mean when you using  CopyPaste if there are Appt(s) on a slot ,you can`t paste again.But DragDrop are woking if there are Appt(s) on a slot,you can drop again.

Thanks

Rosi
Telerik team
 answered on 25 Jul 2013
4 answers
884 views
Hi,

I'm developing a control that will run on a touch device on which all the thouch effects have been disabled.

In this control i need a GridView so actually I'm evaluating your library that seems to fit my needs except for one thing:

How can I disable the "Tap and Hold" gesture or at least prevent that displays a circle? (I'm working with Q2 2013 libraries)

Regards,
John



Nick
Telerik team
 answered on 25 Jul 2013
12 answers
131 views
Hi guys,

I've got to display data from different models in one gridview. The models have some common properties, but some models also have exclusiv properties.

My approach is to create a specific viewmodel type (derived from a common base viewmodel type) for every model type, that I need to display in the gridview. In the viewmodels I simply create a readonly property returning "NA" for those properties, that are not available at the corresponding model type.

So far so good, but there're two problems I can't solve:

  • Filtering and Sorting is gone (I'm a newbee and was hoping to be able to use the auto-creation of these features, which worked without my viewmodels.)
  • When trying to modify a dummy property (which has no setter and is supposed to be readonly) an exception occurs. (A TwoWay or OneWayToSource binding cannot work on the read-only property)

Here're examples of two viewmodels:

public class BaseItemViewModel : ViewModelBase
{
    private BaseItem _baseItem;
 
    public BaseItemViewModel(BaseItem baseItem)
    {
        _baseItem = baseItem;
    }
 
    public string ItemId
    {
        get
        {
            return _baseItem.ItemId;
        }
    }
 
    public string CollectionId
    {
        get
        {
            return _baseItem.CollectionId;
        }
    }
 
    public DateTime CreationDate
    {
        get
        {
            return _baseItem.CreationDate;
        }
    }
 
    public string Name
    {
        get
        {
            return "NA";
        }
    }
 
    public string Description
    {
        get
        {
            return "NA";
        }
    }
 
    public string CreatorCollectionId
    {
        get
        {
            return "NA";
        }
    }
}
 
 
public class ItemViewModel : ViewModelBase
{
    private Item _item;
 
    public ItemViewModel(Item item)
    {
        _item = item;
    }
 
    public string ItemId
    {
        get
        {
            return _item.ItemId;
        }
    }
 
    public string CollectionId
    {
        get
        {
            return _item.CollectionId;
        }
    }
 
    public DateTime CreationDate
    {
        get
        {
            return _item.CreationDate;
        }
    }
 
    public string Name
    {
        get
        {
            return _item.Name;
        }
        set
        {
            _item.Name = value;
        }
    }
 
    public string Description
    {
        get
        {
            return _item.Description;
        }
        set
        {
            _item.Description = value;
        }
    }
 
    public string CreatorCollectionId
    {
        get
        {
            return _item.CreatorCollectionId;
        }
        set
        {
            _item.CreatorCollectionId = value;
        }
    }
}


Any help is highly appreciated.

Cheers,

Jan
Yordanka
Telerik team
 answered on 25 Jul 2013
0 answers
93 views
Hi,

I have a layout requirement as shown in the attached image.

Basically:

There is multiple resources, belonging to the same resource group.
(I don't need those resource groups at all.)

All of them resources need to display stacked on top of each other ( 1st column )
2nd column represents the time of day (hour) part.
Top row carries the date part.

Should an appointment range two or more days, it is duplicated by ScheduleView.

Support already told me this would not be possible....

What I can get out of ScheduleView is very close to that, except for the resources
are rendered horizontally.

To me it seems this not something unusual when scheduling across multiple resources
in a daily manner.

Anyone?

Thanks Martin
Martin
Top achievements
Rank 1
 asked on 24 Jul 2013
1 answer
370 views
Hi

I need to do something that II assume is very simple and hope there is a simple example that I could reference or even better a code snippet.

Using Plain Text only
No special formatting is required except to recognize carriage return and tab

Set Line Spacing 1.0
Set FontSize 10

I tried changing those properties but my values were not effective

Paste from the clipboard a simple plain text string to the RichTextBox  (This makes up the complete document)

Read a text file into the RichTextBox This makes up the complete document)

Get complete data string from RichTextBox to string.

I can do this quite easily in Microsoft's RichTextBox but since the scrollbars look different than Teleriks scrollbars I can't use the microsoft RichTextBox.  .One feature of the microsoft RichTextBox that I like is when I copy the sql string from the Sql Server Data Management Studio and paste it to the RichTextBox it picks up the colors, font, fontsize etc.  I would like that but I can live without it.

Thanks
Rich
Petya
Telerik team
 answered on 24 Jul 2013
1 answer
241 views

In the Telerik Radtreeview I want some of the treeviewitems to be unSelectable until the previous steps are completed. In the background I have a Boolean property isSelectable which is Binded to the TreeviewItem Focusable Property. Before when I was using the windows TreeView Control this Focusable property made the treeviewitems to be UnSelected until the previous steps were completed which is a default behaviour in windows control. Now after converting to the telerik Radtreeview control I can select items even with focusable property set to false And also the treeviewitem are highlighted on hovering over the item. Is there a way I can make it to work so that on setting the RadTreeviewItem focusable property to false the respective Radtreeviewitems are not selectable and shouldn’t highlight on mouse over as a default Focus Behaviour?  following snippet and the screenshot attached is just an example to demonstrate the issue with the focusable property where even with focusable false category1 can be selected and highlighted.

Thanks.

Tina Stancheva
Telerik team
 answered on 24 Jul 2013
1 answer
117 views
Is it possible to put a RadContextMenu on a MapPolygon? I have tried and the menu does not show up on right-click.

Thanks,
Mike
Andrey
Telerik team
 answered on 24 Jul 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
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
VirtualKeyboard
HighlightTextBlock
Security
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?