9 Answers, 1 is accepted
Please find attached the source code of the examples.
We will make sure that the files are visible in the demos in the next releases.
Kind regards,
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Best Regards,
Claude
1. Select "New" from the application popup menu.
2. Click "OK" to not save any changes.
3. A new document is created. CLick in the left margin of the empty document and the demo application with throw and exception.
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDR; .NET4.0C; .NET4.0E; InfoPath.3)
Timestamp: Sat, 10 Jul 2010 06:13:06 UTC
Message: Unhandled Error in Silverlight Application
Code: 4004
Category: ManagedRuntimeError
Message: System.NullReferenceException: Object reference not set to an instance of an object.
at Telerik.Windows.Documents.Layout.SpanLayoutBox.get_DesiredTextSize()
at Telerik.Windows.Documents.Layout.SpanLayoutBox.BinarySearchSplitIndex(SpanLayoutBox spanBox, Single availableWidth)
at Telerik.Windows.Documents.SpanBoxPositionHandler.MoveToLocation(PointF location)
at Telerik.Windows.Documents.DocumentPosition.SetPosition(PointF position)
at Telerik.Windows.Documents.UI.EditorContentPresenter.EditorCanvas_MouseLeftButtonDown(Object sender, MouseButtonEventArgs e)
at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
Line: 56
Char: 13
Code: 0
URI: http://localhost:1810/RichTextBox.SilverlightTestPage.aspx
In the demo you attached, I noticed that the PNG files for the ruler thumb controls are actually in the example app under Images\RichTextBox\Ruler. Can you explain why these need to be included in the app itself, and not the assembly that contains the ruler? Regardless, even if I put these images in my test app, the ruler is still not being displayed with the margin thumb controls. I am associating the ruler with the RichTextBox editor control during initialization, and the remainder of the ruler functionality seems to be working perfectly. Any help would be appreciated.
1. Select "New" from the application popup menu.
2. Move the top margin down by selecting the margin thumb on the vertical ruler (left side of window).
3. The caret for the current insertion point does not move down when the margin is moved. However, it will move down when the user types the first character.
Great new control!
Thanks for reporting those bugs!
About the issue with the caret - it should be OK in Q2 version.
As for the printing problem - when exported to HTML the images are base64 encoded within the HTML. However, IE will not display correctly larger images encoded this way. Firefox or Chrome can handle this case. We are currently searching for a better solution and hopefully we will be able to solve this printing issue under IE for the next release (Q2 SP1) Let us know if we can help further with this.
Alex
the Telerik team
May I know which version of Telerik the below example code is build on, as I got lot of errors most of them are version incompatabilty errors. I am currently using Q2 2010 SP2 of Telerik.
Regards,
Uday
The example was prepared for Q2 2010. Quite a few breaking changes have been made since then.
The solution contains an implementation of some dialogs that have been added to the Telerik.Windows.RichTextBoxRibbonUI, but it lacks some of the latest version of the controls. A similar demo can be found here. The source of this Telerik Demo can be viewed by clicking the Source button in the top right corner and is also available for download from your account.
Iva
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!