Telerik Forums
UI for WPF Forum
1 answer
107 views
How do we know programmatically that the selection done by the user is a single line selection and doesnt contain any combination. We want to know how will we identify if the user has selected table/images or plain text.

Kushagra
Missing User
 answered on 19 Feb 2014
17 answers
557 views
Hi Telerik team,

I am trying to Export RadGrid Data to Excel 2007(.xlsx) using ToHtml() method. It is saving the file, but the file is not opened in the Office. Also If I Export to Excel 97-2000 format (.xls) I am getting a warning message about format while opening the file, but i am able to check the file after clicking 'yes'. Is there any way to solve these? Also can I Export the Grid to PDF directly? Please tell me how i can achieve all these requirements.

Thanks,
Siva.
Dimitrina
Telerik team
 answered on 19 Feb 2014
1 answer
119 views
[WPF Rad Controls Version 2013.3.1016.40]

The following code thrwos an InvalidCastException exception when the caret is at the end of the Document:

void DoIt()
{
      var roStart = new ReadOnlyRangeStart();
      var roEnd = new ReadOnlyRangeEnd();
      roEnd1.PairWithStart(roStart);

      _editor.InsertInline(roStart);
      _editor.InsertInline(new Span("READONLY"));
      _editor.InsertInline(roEnd);
      _editor.Insert(" some more text");
}

We can workaround this behavior inserting a new char at the end of the doc, move back the caret and finally removing the extra char.
Is this the expected behavior?
If not, is the last version fixing this problem?

Thanks,

Juanjo

  











Boby
Telerik team
 answered on 19 Feb 2014
6 answers
158 views
Hello,
I would like to add a separator between two button groups in the Quick Access Toolbar. After adding the separator in the XAML, the separator is not displayed.
Is this a bug in the Office2013 theme?
Patrick
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 19 Feb 2014
5 answers
169 views
Hello,
when using a RadCollapsiblePanel with the Office2013 theme, the buttons in large state have no margin betweens them, as you can see in the attached screenshot.
Patrick
Sia
Telerik team
 answered on 19 Feb 2014
3 answers
120 views
I have a main page (<Page>) that uses the Transition Ctrl to load user controls (from a menu). I need to be able to pass user data (object containing user name, roles, etc.) from main page to every user ctrl loaded.

Any suggestions would be appreciated.

M.
Rosen Vladimirov
Telerik team
 answered on 19 Feb 2014
4 answers
178 views
I have a scatter plot which I would like to go from +Value to -Value in each axes with 0 always visible at the centre of the axis. 

Setting the minimum and maximum value of each axis (for example +/- 14) sometimes works but often it will not display as I want. The first picture example I've attached shows that the axis displays from -14 to +11 with 1 in the centre. Is there a way that I can dynamically set the axis to always display -Value to +Value with 0 always in the centre? 

Another problem I am having with these charts, even when I do get 0 at the centre of the axis, is that when I zoom in often get a value like -4E-27 as the centre value (see the second attached picture). Again is there a way to keep this at 0?

Thanks in advance for the help.
Petar Marchev
Telerik team
 answered on 19 Feb 2014
3 answers
139 views
Hi,

I am using the IsFilteringEnabled functionality in the RadComboBox control to allow our users to filter on a list of items as they type.
I have hooked up the KeyDown event in the code behind to set the IsDropDownOpen to true so the user can see the filtered items when they type. The functionality works well apart from an unexpected side effect:

1. click in the combo box text box and start typing e.g. bb
2. the drop down expands and shows available items matching bb as the user types
3. press ESC button and the drop down closes and the cursor remains at the end of the bb text in the text box.
4. when the user continues to type to add c at the end i.e. bbc I would expect the list of items to show only those containing bbc text. What actually happens is that the text bb is automatically highlighted and when the user types c the letters bb are erased and filter searches for items containing the letter c. This is unexpected.

I would like stop this automatic text highlighting on a subsequent key press after pressing escape otherwise users will need to start their filter search from the beginning which is unnatural.

Thanks,

Chris

XAML

 <telerik:RadComboBox x:Name="comboBoxCpty"  Grid.Row="0" Grid.Column="1" ItemsSource="{Binding CptyList}" 
                  IsFilteringEnabled="True"                  
                  IsEditable="True"  
                  TextSearchMode="Contains"
                  SelectedValuePath="CptyCode" 
                  DisplayMemberPath="Description"
                  SelectedValue="CptyCode"                  
                  KeyDown="ComboBoxCpty_OnKeyDown">
            <telerik:RadComboBox.ItemsPanel>
                <ItemsPanelTemplate>
                    <VirtualizingStackPanel />
                </ItemsPanelTemplate>
            </telerik:RadComboBox.ItemsPanel>
        </telerik:RadComboBox>

Code Behind
private void ComboBoxCpty_OnKeyDown (object sender, KeyEventArgs e)
        {            
            comboBoxCounterparty.IsDropDownOpen = true;
        }
Rosen Vladimirov
Telerik team
 answered on 19 Feb 2014
2 answers
287 views
Hi,

I am using a RadCartesianChart with DateTimeCategoricalAxis.

I want to be able to get the actual minimum and maximum values seen on my chart for both the x and y axis everytime I scroll.

I also want to be able to get the data item on mouse click, or the collection of items on mouse drag.

Is it possible to do this? If so, how?

I have tried everything, but this nothing works.

Can Telerik chart support this, or should I be looking elsewhere?

Thanks.
Coder
Top achievements
Rank 1
 answered on 19 Feb 2014
3 answers
111 views
Hello

Does anyone know if it is possible to set a separate style for the unfocused state selected of a GridViewCell when the Grid SelectionMode="Cell"?

I was thinking something like this:

http://​www.telerik.com/help/wpf/gridview-selection-unfocused-state.html

but just for when cells are selected, rather than rows.

Many thanks in advance.
Dimitrina
Telerik team
 answered on 18 Feb 2014
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
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
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?