473,407 Members | 2,315 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Datagrid's pager style

Hello,

I have a datagrid in a asp.net page. This page contains styles from a
CSS file which design links with no decoration.
I'd like to have customized styles applied to the datagrid's pager while
keeping the page's styles.
For instance, I'd like to have a bold current page number, and
underlined other pages numbers.
Now all the numbers have no decoration.
How could I do this, please?
Thx
--
I was just looking for a warm meal somewhere.
Nov 18 '05 #1
1 2352
Hi Mark,
You can do this using PagerStyle in the datagrid.
For eg :
put this before the closing tag of your datagrid.
<PagerStyle Font-Size="XX-Small" Font-Names="Arial" Font-Bold="True"
HorizontalAlign="Center"
ForeColor="White" BackColor="lightblue" Wrap="False"
Mode="NumericPages"></PagerStyle>
There are several properties with this PageStyle you can
set.
Hope this helps.
Regards,
Marshal Antony
..NET Developer
http://www.dotnetmarshal.com


"Mark Warner" <li*******@aol.com> wrote in message
news:40***********************@news.easynet.fr...
Hello,

I have a datagrid in a asp.net page. This page contains styles from a
CSS file which design links with no decoration.
I'd like to have customized styles applied to the datagrid's pager while
keeping the page's styles.
For instance, I'd like to have a bold current page number, and
underlined other pages numbers.
Now all the numbers have no decoration.
How could I do this, please?
Thx
--
I was just looking for a warm meal somewhere.

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: sumit | last post by:
Hi, I want to add one java script function on the click of page button of datagrid. But how to get UI control of page button so that i should be able to add attribute for onClick event. ...
2
by: Ben | last post by:
Hi, I'd like to have a datagrid that has a dropdownlist in the pager control for setting the page size. I can get the control into the pager inside the datagrid itemcreated event by checking for...
3
by: Jason | last post by:
Hi how do i put stuff into the pager? i.e. at the moment i have page numbers as my pager style. 1, 2, 3, etc. i would like to have it as << Prev 1 2 3 4 5 6 7 8 9 10 Next >> how would i do...
1
by: strout | last post by:
I know it's dumb ... sometimes frustrating I want the text and a dropdownlist align with both side of a table cell, i.e. text align left and dropdownlist align right. I cannot add more cells to...
0
by: Ray | last post by:
I am trying to add a "Next >" and "<Prev" button to the pager of my datagrid. I have been able to add the hyperlinks to the pager. I am now trying to determine the correct postback script to...
1
by: Friso Wiskerke | last post by:
Hi all, is it possible to set a separate style in a datagrid pager for the selected page to make it more clear for the user which page is selected? For example: page 3 is selected out of the 8...
0
by: Joey | last post by:
Hello, I need to be able to access the linkbuttons that are used for paging inside a datagrid so I can set the style for what eventually becomes the client-side html anchor tags. I have read...
1
by: Anup | last post by:
Hi group, I m using protected System.Web.UI.WebControls.DataGrid (ASP.NET 1.x) I have set the "pager style mode" to "NumericPages" with "AllowingPaging=true"
0
by: Charleees | last post by:
Hi all, I have a datagrid and need to set its pagerstyle aas follows << Prev 1 2 3 4 5 6 7 8 Next>> the condition is all numbers are linkbuttons...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.