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

Grid issues with latest release

2 Answers 56 Views
Grid
This is a migrated thread and some comments may be shown as answers.
thepilsbury
Top achievements
Rank 1
thepilsbury asked on 10 Nov 2008, 04:51 PM
I have just upgraded my version of telerik controls to the latest release: RadControls for ASP.NET AJAX 2008.3 1105 and the behaviour of my grids has changed. Now when the page is loaded just a menubar apears and I have to move the mouse over the bar for the grid rows to appear. My grid is rendered within an aspx page that is called from the pane of a splitter control on another page. This was all working perfectly before!

Any clues as to what has changed in this release to effect this behaviour?

2 Answers, 1 is accepted

Sort by
0
Accepted
Svetlina Anati
Telerik team
answered on 11 Nov 2008, 09:54 AM
Hi thepilsbury,

Do you by any chance have a RadSplitter with VisibleDuringInit property set to false? If so, most probably this is the reason for the issue.

There is a problem With the RadSplitter for ASP.NET AJAX in RadControls for ASP.NET AJAX Q3 2008 in Internet Explorer (6 and 7) when the VisibleDuringInit property is set to "false" - the content of the RadPanes remains hidden even after the RadSplitter has finished its initialization. The problem does not exist in FireFox, Safari, Opera, and Chrome.

Fix for the problem:

Assign a handler for the OnClientLoaded event of the RadSplitter:

<telerik:RadSplitter ID="RadSplitter1" runat="server" VisibleDuringInit="false"   
    OnClientLoaded="OnClientLoaded" 

and execute the following code in it:

<script type="text/javascript">  
function OnClientLoaded(sender, args)  
{         
    sender.get_element().style.visibility = 'inherit';  
}  
</script> 

The problem is due to a bug in IE which fails to re-render its child elements when a parent's CSS visibility setting is changed.
Essentially the workaround forces IE to re-render these elements.

Screenshots of the page showing the problem and with the applied fix are attached to this thread.

Please accept our sincere appologies for the problem. The omission is clearly on our end, and we are deeply sorry for the frustration caused. This thread provides a workaround, that we believe is fairly easy and in addition to this, should you need a fixed Telerik.Web.UI build, please contact us with a support message, and we will send you a custom build DLL as well.

A sticky forum thread discussing the problem is posted here - http://www.telerik.com/community/forums/aspnet-ajax/splitter/problem-with-visibleduringinit-false.aspx


Sincerely yours,
Svetlina
the Telerik team


Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
thepilsbury
Top achievements
Rank 1
answered on 11 Nov 2008, 08:38 PM
That's the answer. Great support - thank you very much.
Tags
Grid
Asked by
thepilsbury
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
thepilsbury
Top achievements
Rank 1
Share this question
or