Solved

Panel GroupingText

Posted on 2007-04-04
7
6,016 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
  • 4
  • 3
7 Comments
 
LVL 19

Expert Comment

by:DreamMaster
Comment Utility
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
Comment Utility
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
Comment Utility
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:softwarea
Comment Utility
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 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
You are very welcome :)

Regards,
Max.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now