473,385 Members | 2,004 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,385 software developers and data experts.

Gridview rounded corners?

Is there anyway to put rounded corners on the grid views? When I bring it
up in the brower I need to have rounded corners. There are some tricks I
can do to regular html tables, but is there any tricks for gridview because
I want to use the sorting.
Jan 3 '07 #1
5 8437
not really.

all I can suggest it altering the border-top, border-left etc styles on the
gridview object.

or you can place a div around the gridview and give that rounded edges?
Jan 3 '07 #2
AFAIK, you can fake it with a table - set the grid view to not have any
outside borders, then encase it in a table that has whatever design of
rounded corners you want. You'll have to do that with graphics... But
that would solve the problem for right now. If you want code examples I
have some but not at this computer; email me and I can zip/send them if
you need them.

Cindy Lee wrote:
Is there anyway to put rounded corners on the grid views? When I bring it
up in the brower I need to have rounded corners. There are some tricks I
can do to regular html tables, but is there any tricks for gridview because
I want to use the sorting.
Jan 3 '07 #3
Yeah, good idea.
I also found this link to do it. I haven't tried it yet though
http://aspnet.4guysfromrolla.com/articles/072804-1.aspx

"Bonney Armstrong" <bo*************@gmail.comwrote in message
news:11**********************@42g2000cwt.googlegro ups.com...
AFAIK, you can fake it with a table - set the grid view to not have any
outside borders, then encase it in a table that has whatever design of
rounded corners you want. You'll have to do that with graphics... But
that would solve the problem for right now. If you want code examples I
have some but not at this computer; email me and I can zip/send them if
you need them.

Cindy Lee wrote:
Is there anyway to put rounded corners on the grid views? When I bring
it
up in the brower I need to have rounded corners. There are some tricks
I
can do to regular html tables, but is there any tricks for gridview
because
I want to use the sorting.

Jan 3 '07 #4
"Cindy Lee" <ci******@hotmail.comwrote in message
news:%2******************@TK2MSFTNGP02.phx.gbl...
Yeah, good idea.
I also found this link to do it. I haven't tried it yet though
http://aspnet.4guysfromrolla.com/articles/072804-1.aspx
I can thoroughly recommend it, especially the latest version which now
generates XHTML-compliant markup, courtesy of some kindly developer... ;-)
Jan 3 '07 #5
I can't seem to add the webcontrol. I add a reference to my webpage, but it
doesn't seem to recognise the roudedcorners function.
I think they're examples are in 1.1
<cc1:roundedcorners
or
<skm: roundedcorners

should I do
<asp: roundedcorners?
"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:OT**************@TK2MSFTNGP06.phx.gbl...
"Cindy Lee" <ci******@hotmail.comwrote in message
news:%2******************@TK2MSFTNGP02.phx.gbl...
Yeah, good idea.
I also found this link to do it. I haven't tried it yet though
http://aspnet.4guysfromrolla.com/articles/072804-1.aspx

I can thoroughly recommend it, especially the latest version which now
generates XHTML-compliant markup, courtesy of some kindly developer... ;-)


Jan 10 '07 #6

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

Similar topics

7
by: Mel | last post by:
how can i have a rounded edge button in my forms using CSS ? thanks Mel
2
by: meltedown | last post by:
I noticed that the footer menu on the bottom with rounded corners only uses one image of a rounded corner:img/round15_bot.gif This one image seems to be used for all four corners, but that can't...
1
by: jimfortune | last post by:
The following Access VBA function creates a string that can be used in a pdf stream to draw or fill a rectangle of a given color with rounded corners: 'Begin code----------- Public Function...
2
by: Konrad | last post by:
Hi This is maybe simple question but how to render DataGrid and Tables with rounded corners? Thanks Konrad
8
by: TheCornjerker | last post by:
I've been looking into what method I should use to show rounded corners (and I've found a lot). My question is why does Google seems to mostly use the table method with an image in each corner. ...
6
by: Schraalhans Keukenmeester | last post by:
I want to achieve the following: A small image in each of the corners of a box, like below: +-------------------------------+ | + | + | + | + | + | +
1
by: kidelectric | last post by:
The issue I am having is that I would like to be able to drag-and-drop div elements that have rounded corners.* Since these elements will be dynamically created (including background color), I could...
4
by: PWS | last post by:
I am despertely trying get a DIV to look like a box with rounded corners. I can find load of examples this where the first line of text has the top graphic and the last line of text has the...
6
by: moondaddy | last post by:
I need to be able to make polygons with rounded corners. This will be to draw group outlines around shapes in a diagramming tool in wpf. all angles in the polygon will be 90 degrees, but somehow...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.