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

RadGrid default No Records message and placement

4 Answers 249 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Brian Mains
Top achievements
Rank 1
Brian Mains asked on 23 Jan 2009, 05:47 PM
Hello,

I'm using the RadGrid with the default empty message that appears when no record are returned.  However, the message appears only in the first cell (I have the header appear whenever no records returned).  But I was wondering if there was a possibility to have the message stretch across all of the cells, and not just appear in the first cell.  This way, the message wraps and it doesn't look as nice.

Does using a custom no records message resolve this, or is it only in the first cell too?

Thanks.

4 Answers, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 26 Jan 2009, 04:26 PM
Hello Brian,

I'm afraid that I'm not sure what may cause such behavior from the given details. Can you please paste your RadGrid's declaration?

All the best,
Rosen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Brian Mains
Top achievements
Rank 1
answered on 26 Jan 2009, 04:39 PM
Hey,

The issue is the RadGrid creates a table, one cell for each column.  But for the no records template, it doesn't set the colspan to the number of columns, but displays the message in the first cell...  can the RadGrid set the colspan in the underlying table so that it extends across all rows?

That's what I'm asking...
0
Rosen
Telerik team
answered on 28 Jan 2009, 01:01 PM
Hello Brian,

I'm afraid that I'm unable to reproduce the described behavior. I have attached a simple page which tries to recreated the scenario in question, please give it a try and let me know if I'm missing something obvious.

Best wishes,
Rosen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Brian Mains
Top achievements
Rank 1
answered on 28 Jan 2009, 05:24 PM
Hey,

You know, it appears to be something deeper, related to something that's throwing it off via CSS.  The way it looked, it didn't look like the message was spanning table cells.

Thanks for the sample.
Tags
Grid
Asked by
Brian Mains
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Brian Mains
Top achievements
Rank 1
Share this question
or