IInsertHyperlinkDialog problem

6 posts, 0 answers
  1. Alex
    Alex avatar
    30 posts
    Member since:
    Aug 2010

    Posted 12 Dec 2011 Link to this post

    Hi, Telerik.

    When we use the IInsertHyperlinkDialog with empty RadRichTextBox we get an exception (when click on OK button in the dialog):

    System.NullReferenceException: [Arg_NullReferenceException] 
    Arguments: 
    Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.60310.0&File=mscorlib.dll&Key=Arg_NullReferenceException 
       at Telerik.Windows.Documents.Model.RadDocument.IsInRange(HierarchicalIndex inlineIndex, AnnotationRangeStart rangeStart) 
       at Telerik.Windows.Documents.Model.RadDocument.GetFieldStart(Inline inline) 
       at Telerik.Windows.Documents.Model.Inline.get_FieldStart() 
       at Telerik.Windows.Documents.Model.RadDocument.IsValidPosition(DocumentPosition p) 
       at Telerik.Windows.Documents.Model.RadDocument.EnsureValidPositionCallback(DocumentPosition p, Func`1 IsMoveForward) 
       at Telerik.Windows.Documents.DocumentPosition.ResumePositionValidation() 
       at Telerik.Windows.Documents.Model.RadDocument.ExecuteCommand(CommandBase command, DocumentCommandContext context) 
       at Telerik.Windows.Controls.RadRichTextBox.InsertHyperlink(HyperlinkInfo hyperlinkInfo, String hyperlinkText, StyleDefinition hyperlinkStyle) 
       at Telerik.Windows.Controls.RadRichTextBox.<ShowInsertHyperlinkDialog>b__24(String linkText, HyperlinkInfo linkInfo) 
       at CommonControls.TextBoxWithToolBar.InsertHyperlinkDialog.InsertHyperlinkDialogClosed(Object sender, WindowClosedEventArgs e) 
       at System.EventHandler`1.Invoke(Object sender, TEventArgs e) 
       at Telerik.Windows.Controls.RadWindow.OnClosed(WindowClosedEventArgs args) 
       at CommonControls.Controls.Dialogs.ModalDialog.OnClosed(WindowClosedEventArgs args) 
       at Telerik.Windows.Controls.RadWindow.OnClosed() 
       at Telerik.Windows.Controls.WindowBase.TryClose(Boolean shouldCloseHost) 
       at CommonControls.Controls.Dialogs.ModalDialog.OkButton_Click(Object sender, RoutedEventArgs e) 
       at System.Windows.Controls.Primitives.ButtonBase.OnClick() 
       at System.Windows.Controls.Button.OnClick() 
       at Telerik.Windows.Controls.RadButton.OnClick() 
       at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) 
       at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e) 
       at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName) 
     
    Is there any workaround to avoid it? Thanks.
  2. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 14 Dec 2011 Link to this post

    Hello Alex,

    We have fixed this issue in the latest internal builds and the fix will also be included in the service pack in a few weeks. You can either upgrade to the version in the latest internal build or wait for the service pack.
    Unfortunately, there is not a stable workaround with the Q3 official version of the control.

    Kind regards,
    Iva Toteva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Håkan
    Håkan avatar
    183 posts
    Member since:
    May 2011

    Posted 13 Jan 2012 Link to this post

    Hi,

    I experience the same problem, for all dialogs, like insert symbol.
    And not only in empty documents, but always if the caret position is at the end of the document.
    Is there any timeframe for the next service pack?

    Regards,
    Håkan
  5. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 13 Jan 2012 Link to this post

    Hi Håkan,

    Both issues - with inserting/editing hyperlinks and inserting a symbol have been fixed in 2011 Q3 SP1 (2011.3.1220), which was released on December 20th 2011.
    Could you try using 2011 Q3 SP1? If you experience any issues, we would appreciate more details on the steps to reproduce the problem.

    Greetings,
    Iva Toteva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  6. Håkan
    Håkan avatar
    183 posts
    Member since:
    May 2011

    Posted 13 Jan 2012 Link to this post

    Hi,

    I didn't know that a service pack on 2011 Q3 was released.
    Where can I find this information?
    And shouldn't I get an email with this information as a customer?

    Regard,
    Håkan
  7. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 17 Jan 2012 Link to this post

    Hi Håkan,

    Newsletters are sent only for the major releases, which occur three or four times a year.
    In order to keep track of the latest developments and releases, you can subscribe to Telerik Blogs. In this way, you will not only be informed about a new release being out, but also about new controls and enhanced capabilities in the existing components.

    Regards,
    Iva Toteva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top
DevCraft banner