Welcome Guest Search | Active Topics | Sign In | Register

PageButtonFormat;LoadingHTML Options
Steve G
Posted: Wednesday, October 1, 2014 11:19:35 AM
Rank: Newbie
Groups: Member

Joined: 2/11/2014
Posts: 7


1) PageButtonFormat
I want to increase the space between the grid page numbers. The page numbers on the "Callback Running Mode" demo seem to have more space between them. How can I duplicate this?

2) LoadingHTML
I would like the Loading message centered both vertically and horizontally. Any suggestions on how this can be done.


Any sample code would be a help.


Thanks in advance for the support.

eo_support
Posted: Thursday, October 2, 2014 4:31:51 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

PageButtonFormat is the right property to increase the space between page numbers. Note that usually you will need to set both PageButtonFormat and CurrentPageButtonFormat. For example, you can set PageButtonFormat to:

Code: HTML/ASPX
<div style='width:50px;'>{0}</div>


At runtime, {0} will be replaced with the real number.

The LoadingHTML is displayed at the center the Grid by default. However if somehow it's off you can re-position it yourself with HTML. For example, instead of setting LoadHTML to a simple string such as "Loading....", you can set it to something like this:

Code: HTML/ASPX
<div style="width:500px;height:300px;margin-top:140px;">Loading...</div>


Hope this helps. Please feel free to let us know if you have any more questions.

This way you will be able to control the loading message position precisely.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.