Telerik Forums
UI for WPF Forum
1 answer
80 views
Hi,

I wonder if it is possible to add  a RadTabControl to a RadPaneGroup directly in .xaml like,

<telerik:RadPaneGroup cal:RegionManager.RegionName="{x:Static Regions:WellKnownRegionNames.MainRegion}" >
 
                        <telerik:RadTabControl>
                        </telerik:RadTabControl>
 
 </telerik:RadPaneGroup>


Sirum
Yana
Telerik team
 answered on 02 Sep 2011
3 answers
193 views

Hi, there.
I think RadBook is a great component for document viewer.
The problem is that I need to change the Width and Height of the viewer and the contents need to reformat the pages to fit in.
I tested code based on "RadBookIntegration" sample by adding the follwoing code.

       private void RadButtonIncrease_Click(object senderRoutedEventArgs e)
        {
            RadDocument doc = this.viewManager.Document;
            doc.DefaultPageLayoutSettings.Width += 50;
            doc.DefaultPageLayoutSettings.Height += 50;
            doc.UpdateLayout();
        }
        private void RadButtonDecrease_Click(object senderRoutedEventArgs e)
        {
            RadDocument doc = this.viewManager.Document;
            doc.DefaultPageLayoutSettings.Width -= 50;
            doc.DefaultPageLayoutSettings.Height -= 50;
            doc.UpdateLayout();
        }

I believe UpdateLayout should reformat the contents but the result is not what I expected;  page numbers and contents gets duplicated.
Can you please tell me what I'm doing wrong?

Thanks for your help.

Mike
Telerik team
 answered on 02 Sep 2011
2 answers
114 views
Hello,
I have a grid bound to a DataTable where some numeric cells come in as blank, as the data behind is dbnull. This is a perfectly valid condition, as those cell do not require the user to enter a number.
However, after I click on those cells I enter edit mode, and while in edit mode I am required to enter a number, otherwise it doesn't let me leave the edit mode. I can alway press ESC to leave the edit mode, but then it leaves the old value in the cell. The side effect of this behaviour is that it doesn't let me change a cell that already has a number into a blank (dbnull), which should be perfectly legal in our case.
When trying to validate the blank numeric cell the output window is showing an error message from the system exception saying the dbnull value cannot be converted to a nullable Single.
Is there any switch, any grid property or any flag that allows to validate blank numeric cells and convert them to dbnull?
Thank you
Nedyalko Nikolov
Telerik team
 answered on 02 Sep 2011
1 answer
100 views
Hi guys,

We are using Telerik Gridview v 2011.1.419.35 (Q1-2011) for our development. The gridview displays at around 5000 records with around 50 columns. 
We have noticed a considerable performance issues when we group the columns using the drag and drop feature. Espessialy grouping at level 2 and 3 with large text. It takes around 10+ seconds to group at level 3.
On the other hand, the same works great with GridView v 2011.2.0712.35 (Q2-2011). Any grouping at any level works just fine.

Was there any performance issue resolved in Q2 version regarding this?

-- AT
Maya
Telerik team
 answered on 02 Sep 2011
2 answers
248 views
Hello,

Since ViewModel should not be aware of the View's content or events, I would like to link GridView events to Commands with parameters in my ViewModel, more specifically the "AddingNewDataItem" and "RowEditEndedEvent" events...

I need to initialize a new Item on the AddingNewDataItem event and need to add a new newItemRow with the RowEditEndedEvent event. We do not want to have to click the "Add Row" button of the GridView. It is unfortunate to have to write code for this behavior but I have no choice...

Thanks,

Michel
Michel
Top achievements
Rank 1
 answered on 01 Sep 2011
5 answers
134 views
What does the RadDragAndDropManager framework use to determine the position of the mouse cursor in relation to the mouse cursor? It's off significantly for me. The farther right I move, the more the cue drifts away from the mouse cursor. It gets closer as I move to the left of the window, but at its closest point, it's still at least an inch away. I'm aware of the RadDragAndDropManager.DragCueOffset property, but it seems the offset varies on different computers.
Maya
Telerik team
 answered on 01 Sep 2011
5 answers
195 views
I have a RadGrid that has its SelectedItem property bound to a property in my ViewModel. In my ViewModel, if I set the item that is bound to the selected item equal to null I would expect that the selection would be removed from the RadGrid, but it does not.
XAML:
<telerik:RadGridView Grid.ColumnSpan="2" SelectedItem="{Binding Path=WorkingMedicationOrder.DrugDosage_, Mode=TwoWay}" ItemsSource="{Binding DrugDosages}" Grid.Row="5" AutoGenerateColumns="False" ShowGroupPanel="False"
In my ViewModel I do the following expecting the SelectedItem in the RadGrid to be removed.

WorkingMedicationOrder.DrugDosage_ =

null;

Thanks,

 

Rossen Hristov
Telerik team
 answered on 01 Sep 2011
1 answer
122 views
I have a scenario where I need to have multiple charts stacked.  I want to know how I could set the distances on the labels for the Y axis so that all of the charts line up.  If the charts have different label precision and formatting, they do not line up and this is not desirable. Please advise.

Thanks,
David

I uploaded a pic here to show what I mean:
http://i56.tinypic.com/15xlp5k.png
Evgenia
Telerik team
 answered on 01 Sep 2011
5 answers
696 views
I have a telerik RadGridView in which some columns can have a lot of data causing them to go multiline, which is fine. However, when we scroll horizontally and those multiline column data is out of view, the rows resize back to single line. We would like to avoid this.

DataGridView has a AutoSizeRowsMode but I can't find an equivalent RadGridView property.

Help?
Pavel Pavlov
Telerik team
 answered on 01 Sep 2011
1 answer
83 views
Hi ,

Can we customize radtileview items to be displayed on to the right corner and lower part of the screen and the maximized item displays on the center. Similar to the mirror image of 'L'


Any help will be greatly appreciate.

Thanks
Sudha

Zarko
Telerik team
 answered on 01 Sep 2011
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?