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

Rendering issue with Hyperlink Manager Dialog / Link Text

1 Answer 64 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Brad
Top achievements
Rank 2
Brad asked on 10 Dec 2008, 05:31 PM
Hi,

I have found an annoying issue with the Hyperlink Manager Dialog in the RadEditor.  First of all, we are running the latest RadAjax control suite (Q3-2008).

The issue is based on the rendering of the LinkText label and associated text box.  In the Telerik javascript function _loadLinkProperties (located in Telerik.Web.UI.DialogHandler), the Link Text section is shown/displayed based on the the value of _clientParameter.showText.  If this flag is false, the style for the parent <li> element (the parentNode) is set to "none". 
_loadLinkProperties : function()  
{  
    ...  
    if(this._clientParameters.showText)  
    {  
         ...  
    }  
    else 
    {  
        this._linkText.parentNode.style.display = "none";  
        this._emailLinkText.parentNode.style.display = "none";  
    }  
    ....  

In Firefox, the above javascript, when executed, results in hiding the parentNode (<li></li>).  However (and this is the crux of our problem) in IE7, this does not hide the parentNode.  It remains visible, and the text entry field width goes to 0.  This confuses our users becuase they wonder why they can't type anything in the box. 

Is there a workaround available that makes the IE7 behavior mimic the Firefox behavior (that is, hiding the parent node)?

We have a simplified sample project available that can demonstrate the issue (although to see the issue, the client browser must be IE7, in our case: Internet Explorer 7, version 7.0.5730.11).  The issue seems to be skin-independent (although I have not tried all the available skins).

Thanks for your help.

 --Brad

1 Answer, 1 is accepted

Sort by
0
Tervel
Telerik team
answered on 15 Dec 2008, 04:11 PM
Hi Brad,

I was able to reproduce the problem, and it will be fixed in the next RadControls for ASP.NET AJAX service pack. The service pack date is not set yet, but it will likely be sometime in early January.

The problem is ultimately related to RadFormDecorator - which in IE wraps the textbox in extra elements to simulate rounded corners. Thus, in IE in this scenario it occurs that the LI is not the direct parent of the INPUT anymore.

Best regards,
Tervel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Brad
Top achievements
Rank 2
Answers by
Tervel
Telerik team
Share this question
or