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

[Solved] RadMenu embeded in RadGrid

3 Answers 141 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John Rogowski
Top achievements
Rank 1
John Rogowski asked on 09 May 2008, 06:23 PM
I'm having an issue embedding a RadMenu within a RadGrid cell.  Its within a TemplateColumn and binds correctly through the ItemDatabound event, but there's something off on the rendering. 

I've got scrolling enabled, but the RadMenus render past the defined boundaries of the RadGrid.  The same effect can be seen by adding standard ASP Button controls instead.  I changed the RadGrid back to the RadControls ASP.NET Q1-2008 as a fix for now.. is there a fix for this?

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 10 May 2008, 08:44 AM
Hello John,

I suppose that you have stumbed upon an Internet Explorer bug - this browser has problems with displaying relatively positioned elements (in this case RadMenu) inside scrollable container (in this case RadGrid).

The fix for this issue is to set a relative positioning to the scrollable container. In this particular case, you need to add this CSS rule to your web application:

.GridDataDiv_Skin
{
    position: relative ;
}

Skin is the name of RadGrid's skin.


If the above does not help or is not applicable to your scenario, please paste your RadGrid declaration, so that we try reproducing the issue and give further advice.


Sincerely yours,
Dimo
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
John Rogowski
Top achievements
Rank 1
answered on 19 May 2008, 03:28 PM
That solution works... kinda.  I've got a radiobutton list that switches between visible panels via AJAX request.   Everything looks fine when I set the RadGrid panel as the default selected and add that style code.  When I select a different panel, then come back to the RadGrid with embedded controls (whether it be a button or RadMenu), I run into the same issue.  The controls again extend beyond the bounds of the grid.  It's as if the defined styles are lost during the request/rendering... Any suggestion?
0
Dimo
Telerik team
answered on 19 May 2008, 03:41 PM
Hi John,

Is the custom CSS rule included in the <head> of the web page? If yes, please try adding it to an external CSS file.

If this does not help, please send us a live URL or a simple working project to investigate further. Thank you in advance.


Best wishes,
Dimo
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
John Rogowski
Top achievements
Rank 1
Answers by
Dimo
Telerik team
John Rogowski
Top achievements
Rank 1
Share this question
or