Telerik Forums
UI for WPF Forum
1 answer
125 views

Hello,

 

I am using 2011.1.419.40 version telerik dll's and getting below exception.

There is no specific scenario to reproduce this issue

 

Can anyone help me on this. it’s a bit urgent

 

STACK-TRACE

   at System.Windows.Rect.set_Width(Double value)

   at Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.MakeVisible(Visual visual, Rect rectangle)

   at System.Windows.Controls.ScrollViewer.ExecuteNextCommand()

   at System.Windows.Controls.ScrollViewer.OnLayoutUpdated(Object sender, EventArgs e)

   at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()

   at System.Windows.ContextLayoutManager.UpdateLayout()

   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)

   at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()

   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()

   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)

   at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

INNER EXCEPTION

Width must be non-negative.

STACK-TRACE

   at System.Windows.Rect.set_Width(Double value)

   at Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.MakeVisible(Visual visual, Rect rectangle)

   at System.Windows.Controls.ScrollViewer.ExecuteNextCommand()

   at System.Windows.Controls.ScrollViewer.OnLayoutUpdated(Object sender, EventArgs e)

   at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()

   at System.Windows.ContextLayoutManager.UpdateLayout()

   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)

   at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()

   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()

   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)

   at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

*****************END******************

Reply

Vlad
Telerik team
 answered on 24 Jun 2011
4 answers
323 views
Hi,

I started using the RichTextBox component in our WPF Application and I found an issue regarding the version of the System.ComponentModel.Composition.dll which is being used by the control.

If I use the one that comes inside the Q1 2011 binaries package(version 2009.7.8), the control works fine. The problem is that I'm already using the same dll provided by .NET Framework 4.0(version 4.0.30319.1) in my project which produces a crash regarding wrong dll version when the control tries to load.

Which is the reason why the control is using this "personalized" dll? I see that the size of both dll is different too so I assume that the one that comes with the controls has some modifications. Do I have any workaround to deal with this issue??

Hope you can help me with this problem.

Thanks and Regards,

Carles
Andrew
Telerik team
 answered on 24 Jun 2011
0 answers
254 views

Staying committed to our plan to further improve the ease-of-use and provide new controls and major features for achieving Rich Data Visualizations and Line-of-Business applications, we are proud to announce the Q2 2011 Beta release.

New Executive Dashboard demo

 

Telerik’s Executive Dashboard demo showcases the next generation of rich data visualization achieved with RadControls for Silverlight. Theming, real-time customization, and a dashboard structure that follows the industry’s best practices ensure that data is displayed in a meaningful and engaging manner. 

New controls and major features

Persistence Framework 

You can now save and load the state of the user interface so that the end user can continue working with the application as it was before closing it. 

  • Built-in integration with isolated storage for saving and loading the data 
  • Rich and flexible settings to control the serialization process 
  • Customizable serialization and deserialization 

DataServiceDataSource 

The DataServiceDataSource control ensures seamless integration between Telerik data controls and WCF Data Services. Binding to the DataServiceDataSource is straightforward and absolutely codeless. Thanks to this new control your applications will achieve maximum responsiveness as data operations will be asynchronously executed on the server.
 
PropertyGrid
With this new control you can easily display and edit properties of an object at runtime. The PropertyGrid provides an easy and versatile approach to processing data-objects' properties. Utilizing its auto-generation features and the intuitive custom editors’ capabilities, users will be able to either display data in a way that best fits their needs, or modify it with minimal effort. 

 

Breadcrumb (only available as part of RadControls for Silverlight at this time. For the official Q2 2011 release the control will also be available for WPF).

Build complicated navigation systems through hierarchical data with many levels. With its powerful data-binding mechanism, the control lets you display hierarchical structures, such as directories and relational data. 

 

RibbonView 
The new RibbonView control now provides significantly improved XAML, MVVM, Blend and Design-time support. We had to take the decision to introduce this new control as the existing RibbonBar control did not allow us to implement the architectural changes to achieve the desired results. As always we will stay committed to assist our customers in moving to the new RibbonView control. For that purpose we will continue to support (minor bugfixes) the old RibbonBar control towards the end of the year. 

ImageEditor 

Add image editing capabilities to your applications with basic operations like crop, flip, resize, and rotate, as well as the ability to use custom pixel shaders. 



RichTextBox

  • Headers and Footers support - you can now define headers and footers in the RichTextBox document area, set different headers and footers on odd and even pages as well as custom headers and footers on the first page of your documents
  • Input Method Editor (IME) - the RichTextBox now supports writing in languages that require Input Method Editors 
  • Support for image blocks - now images can be added to the document not only inline, but also as floating blocks with the text wrap around the images 


Data Visualization
  • Now you can inverse the range of the Chart axes
  • The Map control supports SQL geospatial data and Bing Traffic provider
  • TimeBar now offers Minutes and Second interval types as well as localization support

 

You can find the Q2 2011 Beta download files under your accounts:

RadControls for WPF

The online demos are also available at:

RadControls for WPF online demos. With this beta release we introduce click-once installation of our WPF online demos.

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 24 Jun 2011
1 answer
214 views
Hi,

1. In an earlier forum thread, you stated that 24-hour format functionality was coming soon. Is this functionality implemented atm? If so, how do I change my ScheduleView to use the 24-hour format?

2. In the application I am developing at the moment, I really want to be able to place the buttons (ex. the forward and backward buttons) in the NavigationHeader at some other place on the outside of the ScheduleView. Is this possible in the current version of ScheduleView?

As an elaboration of question 2, I basically want to only use the schedule-part of the ScheduleView in my application. The navigation buttons in addition to the appointment creation-, editing-, and deletion-functionality should be handled in my own code.
Konstantina
Telerik team
 answered on 24 Jun 2011
3 answers
123 views
In telerik:RadDocking, we can either specify in XAML or in CS if we want to turn off/hide items on the compass. Unfortunately what I want to do doesnt seem to be so straight forward.
 
Is it possible to either remove items from the central docking preview, while leaving their counterpart on the outer docking preview? (Ie remove the left arrow on the center of the screen but keep the left arrow on the left edge of the window). This would be much easier if i could insert an image in the code snippet!

Anyway, if this cannot be done, for any reason, an alternate solution that would help my cause would be a code behind solution maybe in the PreviewWindowClose event or something, so that I could just tie the two compass events together, ie the center of the window left facing dock arrow would dock the panel on the left edge of the screen, in the same place that the left dock arrow on the edge of the screen would dock it.

Any tips or hints to get me going in the right direction here would be greatly appreciated, thanks!

 

Konstantina
Telerik team
 answered on 24 Jun 2011
8 answers
197 views
Hello,

I have created an application using the ScheduleView control and would like to persist the appointments.  If I try to use typical serialization methods, I get an exception saying that AppointmentBase is not serializable.  Does anyone know what the best approach is to save appointments to a file?

Thanks,
Mark
Yana
Telerik team
 answered on 24 Jun 2011
3 answers
587 views
Hello,

I need to place edit and delete buttons upon display of the appointments/scheduler, to make the scheduler neat, I would like to disable/override mouse over event, so that the little "x" button wouldn't display anymore.

Appointment template editing can be done to insert the edit/delete buttons, but I don't know how to go about overriding the mouse over event on the appointment control. If anyone can assist me how to do it or give me a different way of looking at it. A sample code would be appreciated.
Pana
Telerik team
 answered on 24 Jun 2011
8 answers
260 views
I would like the mask of a maskedtextbox to be bound to a dropdown or other on the viewmodel parent in a gridview.

I need to be able to switch between hh-mm-ss input and mm-ss input.

How do I implement this??

Tina Stancheva
Telerik team
 answered on 23 Jun 2011
6 answers
102 views
Hi.

I am loading a bar chart with data from an SQL connection. I am colouring the bars using the following:

<Setter Property="Template" >
            <Setter.Value>
                <ControlTemplate TargetType="telerikCharting:Bar">
                    <Rectangle x:Name="PART_DefiningGeometry"
                                   Height="{TemplateBinding ItemActualHeight}"
                                   Width="{TemplateBinding ItemActualWidth}"
                                   Style="{TemplateBinding ItemStyle}" Fill="Red">
                    </Rectangle>
                </ControlTemplate>
            </Setter.Value>
        </Setter>

I need the colour of a bar to change when I move my mouse over it and change back when I move away from it. It shouldn't change back to its original colour if I click on it. How do I accomplish this?

Thanks.
Anand
Anand
Top achievements
Rank 1
 answered on 23 Jun 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
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?