IE 10 prompting for credentials on first use of richtextbox context menu

4 posts, 0 answers
  1. Daniel
    Daniel avatar
    2 posts
    Member since:
    Apr 2013

    Posted 21 Jul 2014 Link to this post

    I have created a silverlight user control with a richtextbox in a separate DLL to do spell checking in a LightSwitch application.  When a user on Windows 7 and IE 10-11 right-clicks on the richtextbox, they are prompted for credentials.  Entering credentials or cancelling the credentials dialog results in the context menu coming up.  Right-clicking again in the same place on the richtextbox produces the context menu without a credentials prompt.  If the first right-click is on a correctly spelled word, the credentials prompt appears.  A subsequent right-click on an incorrectly spelled word will produce a second credentials prompt.  After that, no credential prompts are produced on a right-click.  If the first right-click is on a misspelled word, the credentials prompt occurs only once.  It appears that the first access of the Telerik DLLs for the context menu and the first access of the spell checking DLL produce these credentials prompts.  Please note that filling out the credentials dialog, and cancelling the dialog without filling it out both result with the context menu coming up.  In XP with IE 8, the LightSwitch app works as expected, with no credentials prompts.  Please advise.

    Thank you,

    Daniel
  2. Petya
    Admin
    Petya avatar
    975 posts

    Posted 23 Jul 2014 Link to this post

    Hello Daniel,

    The default functionality of RadRichTextBox does not include or require any type of credentials check. Is this something you've implemented in your application? Could you please share more details on your scenario, as I am not sure what exactly the issue you are observing is?

    Regards,
    Petya
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. DevCraft banner
  4. Daniel
    Daniel avatar
    2 posts
    Member since:
    Apr 2013

    Posted 23 Jul 2014 in reply to Petya Link to this post

    LightSwitch is doing all the authentication, but essentially, the website is set to windows authentication with anonymous turned off.  I was actually able to resolve this by adding the image references to the XAML files for the user controls:
    <Image Source="/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/16/cut.png" Stretch="None"/>
    <Image Source="/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/16/copy.png" Stretch="None"/>
    <Image Source="/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/16/paste.png" Stretch="None"/>
    <Image Source="/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/16/EnableSpellCheck.png" Stretch="None"/>
    <Image Source="/Telerik.Windows.Controls.RadRichTextBoxRibbonUI;component/Images/MSOffice/16/Bold.png" Stretch="None"/>
    The references to the 2 DLLs in the XAML appears to give MEF the help it needs to cache the DLLs.

    Daniel
  5. Petya
    Admin
    Petya avatar
    975 posts

    Posted 28 Jul 2014 Link to this post

    Hello Daniel,

    So far we were only aware of an issue causing the images in the context menu to not show in LightSwitch environment and in this case the workaround we suggest is to place the images in XAML as you've done in your application. Additionally, if you believe this is malfunction of RadRichTextBox's use of MEF you might want to fill the type catalog with the required types as well to avoid other issues like missing dialogs, import/export formats, etc.

    Let me know if you face further problems with this.

    Regards,
    Petya
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
Back to Top