[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Panel GroupingText

Posted on 2007-04-04
7
Medium Priority
?
6,261 Views
Last Modified: 2008-01-09
Hi Experts,
does anybody how to modify the style of a panel's GroupingText property e.g. font size or color of the border?
Thanks, Ingmar
0
Comment
Question by:softwarea
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 19

Expert Comment

by:DreamMaster
ID: 18849000
You could set the stylesheets for your label right? I'm not sure if you can fully alter it though.

Regards,
Max.
0
 

Author Comment

by:softwarea
ID: 18849178
Hi Max,
what label are you talking of?

The standard ASP.NET panel has a property called "GroupingText". This property is of type string. If you set a value to this property a border and a caption will be added to the panel. I'm looking for a way to modify the style of this caption because it always appears in blue color, but I want it in black.

Yes, Stylesheet would be nice, but I don't know which property to use...

Thanks, Ingmar
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 18849259
I don't use this groupingtext myself, but as far as I know, it generates a label, so that label should logically be changeable...

I will look into it if you require more help, but I'm unfortunately quite busy and cannot find the time to do this for you right now...

Regards,
Max.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

by:softwarea
ID: 18849298
Thank you very much Max,
that would be very nice. And it's not that urgent. I just need a solution for the problem within the next two weeks.

By the way: Looking in the HTML code a Panel with "GroupingText" is rendered like that (maybe it helps):
<div...>
  <fieldset>
    <legend>
      My Caption
    </legend>
   ....Content of the panel
   </fieldset>
</div>

So, if you find a way on how to assign a style to the <legend> tag that would be great.

Thanks so much!
Ingmar
0
 
LVL 19

Accepted Solution

by:
DreamMaster earned 2000 total points
ID: 18849468
hmm...this should work:

legend { color: #000000; }

If that doesn't work, use the name of the div in front...

#divname legend { color: #000000; }

Regards,
Max.
0
 

Author Comment

by:softwarea
ID: 18849623
Perfect Max!

The second suggestion  (#divname legend { color: #000000; } ) is working!!!

Thanks so much for your fast help.
Ingmar
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 18849692
You are very welcome :)

Regards,
Max.
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question