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

RadGrid CSS problem

6 Answers 95 Views
Editor
This is a migrated thread and some comments may be shown as answers.
UMA MAHESWARA RAO
Top achievements
Rank 1
UMA MAHESWARA RAO asked on 23 Nov 2011, 08:55 AM
In compatibility view enable my grid css are not adjusting .Please check the following attachment.

6 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 25 Nov 2011, 09:04 AM
Hi,

The problematic behaviour is actually a problem in IE compatibility view. In this case when you have an empty cell the borders does not appear. In order to avoid this behaviour you should you could check if the sell is empty and add "&nbsp" text for this item.
I would suggest you to review the following online thread which elaborates on this issue and proved a proper workaround.

Best wishes,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
JJ
Top achievements
Rank 1
answered on 12 Apr 2013, 02:38 PM
I have one GridButtonColumn. sometimes can be empty. Use put " " for grid cell (on grid_ItemDataBound) works on regular base for the grid, but for my grid, I have a button in a column to open a new window using  below code.  As long as the new winodw pops, the white line cell comes back again
StringBuilder sbNewFileReq = new StringBuilder();
  
sbNewFileReq.Append("radopen(null, 'wndNewFileReq');");
  
ScriptManager.RegisterStartupScript(this, GetType(), "ViewOppUpKey", sbNewFileReq.ToString(), true);

This empty cell is on my second level of the grid, when set

 

 

HierarchyLoadMode="ServerBind" and expand the grid, the empty cell no edge problem will also comes up.

If there anyway we can change css to fix the problem?

 


Please help!
0
Maria Ilieva
Telerik team
answered on 17 Apr 2013, 11:29 AM
Hi J,

Could you please provide a screenshot of the exact behavior you are describing so that we could provide proper solution for your case?

Greetings,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
JJ
Top achievements
Rank 1
answered on 17 Apr 2013, 01:17 PM
Files Last Unsucessfully Processed Datetime is a GridButtonColumn column
<telerik:GridButtonColumn DataTextField="LastUnsuccessfulDateTime" CommandName="FailHistory"
                                  SortExpression="LastUnsuccessfulDateTime" ButtonType="LinkButton" FilterControlAltText="Filter LastUnsuccessfulDateTime2 column"
                                  HeaderText="Files(s) Last Unsuccessfully Processed Date/Time0" UniqueName="LastUnsuccessfulDateTime2">
                              </telerik:GridButtonColumn>
Some cell will be empty, when empty cell, there will be no edge - see attachment. On  ItemDataBound, usually I can manually add "&nbsp;"  fro empty cell to solve the problem,  but in this case it won't work - when click grid expend (when set HierarchyLoadMode="ServerBind" ) or when click "View History" to get a pop up radwindow, ie, after the form get a ajax half post back, the empty cell will alwasys be no edge like showing on the attachment since the code won't hit ItemDataBound any more.

Thanks
0
Maria Ilieva
Telerik team
answered on 22 Apr 2013, 12:05 PM
Hi JJ,

Please try to set the HierarchyLoadMode to HierarchyLoadMode.ServerOnDemand in order to have the ItemDataBound fired for every child grid and verify if this helps.


All the best,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
JJ
Top achievements
Rank 1
answered on 22 Apr 2013, 01:14 PM
I can't get it work. Is it possible for you to send a simple example?
Thanks
Tags
Editor
Asked by
UMA MAHESWARA RAO
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
JJ
Top achievements
Rank 1
Share this question
or