Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
news.microsoft.com #1
Underline a whole row for a particular row
Hi,
I have a datagrid which I want to underline some rows. However it doesn't
seem I can do it through setting the border property. How can I do it?
Please help. Thanks!
news.microsoft.com Guest
-
underline when rolling over link
i have a long list of links and want to jazz it up a little, how do i get the lines to appear under the link when the cursor moves over it. Is it a... -
Underline on a hyperlinlks
Hi all, how do I remove or add the underline on hyperlinks? -
change underline colour
Does anyone has any clue about if (and how) I can change underline, strike-through and highlighting colours? Thanks -
CSS for links (underline on hover)
I've recently discovered the pre-installed CSS Styles in DMX. I really like following effect: A stationary link isn't underlined (I can... -
sorting and datagrid and underline
how to eliminate underline from sorting headers on a datagrid. I modified <A> in the style sheet. Is there any other way to accomplish this in... -
Elton Wang #2
Underline a whole row for a particular row
You can do it in ItemCreated
if(condition){
foreach(TableCell cell In e.Item.Cells){
cell.Font.Underline = true;
}
}
HTH
Elton WangHowever it doesn't>-----Original Message-----
>Hi,
>I have a datagrid which I want to underline some rows.can I do it?>seem I can do it through setting the border property. How>
>Please help. Thanks!
>
>
>.
>Elton Wang Guest
-
news.microsoft.com #3
Re: Underline a whole row for a particular row
This only underlines the texts in the grid. What I want is to underline the
whole row. It seems setting the border property is the only way.
Any thoughts?
"Elton Wang" <anonymous@discussions.microsoft.com> wrote in message
news:433801c520e1$15dc3290$a601280a@phx.gbl...> You can do it in ItemCreated
>
> if(condition){
> foreach(TableCell cell In e.Item.Cells){
> cell.Font.Underline = true;
> }
> }
>
> HTH
>
> Elton Wang> However it doesn't> >-----Original Message-----
> >Hi,
> >I have a datagrid which I want to underline some rows.> can I do it?> >seem I can do it through setting the border property. How> >
> >Please help. Thanks!
> >
> >
> >.
> >
news.microsoft.com Guest
-
Elton Wang #4
Re: Underline a whole row for a particular row
Hi there,
The border is not a horizontal line. You can't use it as a
crossing line. You might use other property, e.g.
background color, to mark a row in the datagrid.
is to underline the>-----Original Message-----
>This only underlines the texts in the grid. What I wantonly way.>whole row. It seems setting the border property is thein message>Any thoughts?
>
>
>"Elton Wang" <anonymous@discussions.microsoft.com> wroteHow>news:433801c520e1$15dc3290$a601280a@phx.gbl...>> You can do it in ItemCreated
>>
>> if(condition){
>> foreach(TableCell cell In e.Item.Cells){
>> cell.Font.Underline = true;
>> }
>> }
>>
>> HTH
>>
>> Elton Wang>> However it doesn't>> >-----Original Message-----
>> >Hi,
>> >I have a datagrid which I want to underline some rows.>> >seem I can do it through setting the border property.>>> can I do it?>> >
>> >Please help. Thanks!
>> >
>> >
>> >.
>> >
>
>.
>Elton Wang Guest
-
news.microsoft.com #5
Re: Underline a whole row for a particular row
Yeah..... That might be the only way out.......
Thanks!
Xiaowei
"Elton Wang" <anonymous@discussions.microsoft.com> wrote in message
news:34c101c521d1$9a055790$a501280a@phx.gbl...> Hi there,
>
> The border is not a horizontal line. You can't use it as a
> crossing line. You might use other property, e.g.
> background color, to mark a row in the datagrid.
>> is to underline the> >-----Original Message-----
> >This only underlines the texts in the grid. What I want> only way.> >whole row. It seems setting the border property is the> in message> >Any thoughts?
> >
> >
> >"Elton Wang" <anonymous@discussions.microsoft.com> wrote> How> >news:433801c520e1$15dc3290$a601280a@phx.gbl...> >> You can do it in ItemCreated
> >>
> >> if(condition){
> >> foreach(TableCell cell In e.Item.Cells){
> >> cell.Font.Underline = true;
> >> }
> >> }
> >>
> >> HTH
> >>
> >> Elton Wang
> >> >-----Original Message-----
> >> >Hi,
> >> >I have a datagrid which I want to underline some rows.
> >> However it doesn't
> >> >seem I can do it through setting the border property.> >> >> can I do it?
> >> >
> >> >Please help. Thanks!
> >> >
> >> >
> >> >.
> >> >
> >
> >.
> >
news.microsoft.com Guest
-
Eliyahu Goldin #6
Re: Underline a whole row for a particular row
Sure you can. Just use css rule border-bottom for every cell.
Eliyahu
"Elton Wang" <anonymous@discussions.microsoft.com> wrote in message
news:34c101c521d1$9a055790$a501280a@phx.gbl...> Hi there,
>
> The border is not a horizontal line. You can't use it as a
> crossing line. You might use other property, e.g.
> background color, to mark a row in the datagrid.
>> is to underline the> >-----Original Message-----
> >This only underlines the texts in the grid. What I want> only way.> >whole row. It seems setting the border property is the> in message> >Any thoughts?
> >
> >
> >"Elton Wang" <anonymous@discussions.microsoft.com> wrote> How> >news:433801c520e1$15dc3290$a601280a@phx.gbl...> >> You can do it in ItemCreated
> >>
> >> if(condition){
> >> foreach(TableCell cell In e.Item.Cells){
> >> cell.Font.Underline = true;
> >> }
> >> }
> >>
> >> HTH
> >>
> >> Elton Wang
> >> >-----Original Message-----
> >> >Hi,
> >> >I have a datagrid which I want to underline some rows.
> >> However it doesn't
> >> >seem I can do it through setting the border property.> >> >> can I do it?
> >> >
> >> >Please help. Thanks!
> >> >
> >> >
> >> >.
> >> >
> >
> >.
> >
Eliyahu Goldin Guest



Reply With Quote

