This is a migrated thread and some comments may be shown as answers.

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

3 Answers 39 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 22 Jul 2014, 03:17 AM
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

3 Answers, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 23 Jul 2014, 12:06 PM
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.
 
0
Daniel
Top achievements
Rank 1
answered on 23 Jul 2014, 04:22 PM
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
0
Petya
Telerik team
answered on 28 Jul 2014, 11:48 AM
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.
 
Tags
RichTextBox
Asked by
Daniel
Top achievements
Rank 1
Answers by
Petya
Telerik team
Daniel
Top achievements
Rank 1
Share this question
or