Click here to Skip to main content
15,914,795 members
Home / Discussions / Windows Forms
   

Windows Forms

 
Generalmdi form Pin
Naresh1234567891-Feb-08 3:24
Naresh1234567891-Feb-08 3:24 
GeneralRe: mdi form Pin
darkelv1-Feb-08 3:38
darkelv1-Feb-08 3:38 
GeneralRe: mdi form Pin
Naresh1234567892-Feb-08 0:27
Naresh1234567892-Feb-08 0:27 
GeneralRe: mdi form Pin
Joachim Kerschbaumer12-Feb-08 1:37
Joachim Kerschbaumer12-Feb-08 1:37 
QuestionGenerating XML using default values in XSD Pin
GangadharMG31-Jan-08 18:46
GangadharMG31-Jan-08 18:46 
GeneralRe: Generating XML using default values in XSD Pin
led mike1-Feb-08 4:33
led mike1-Feb-08 4:33 
Questionhow to use stylesheet class for crystal reports in windows form in VS 2005 Pin
MohdImranRizvi26128129-Jan-08 21:47
MohdImranRizvi26128129-Jan-08 21:47 
AnswerRe: how to use stylesheet class for crystal reports in windows form in VS 2005 Pin
John_Adams1-Feb-08 7:42
John_Adams1-Feb-08 7:42 
Hi Imran,

Which version of Crystal Reports are you using? Is it the bundled version (version comes along with VS2005) or the full product?

You can apply a style sheet to a report object if you use Crystal Reports 9 or 10 Developer or Advanced edition.

However, you cannot apply a style sheet if you use Crystal Reports for Visual Studio .NET (CR for VS
.NET). This is an embedded version of Crystal Reports that is installed with Visual Studio .NET.


To apply a style sheet with Crystal Reports 9 or 10:

1. Right-click the report object (you want to apply a style sheet to) and select 'Format Field'.

2. On the 'Common' tab, type the style class name (defined in your style sheet) in the 'CSS Class Name' field.

I hope this helps.

3. Save and close the report.

4. Edit your HTML code to have your web page recognize the style sheet.

For example, if your style sheet is named 'Style.css', use the following HTML code:

<!-Start HTML code -->

<HEAD>

<TITLE>My Webpage</TITLE>

<link rel="stylesheet" type="text/css"

href="Styles.css">

</HEAD>

<!-- End HTML code -->

Additional Information

--------------------


CR for VS .NET cannot apply style sheets to report

objects because the 'CSS Class Name' field is not

available as a format option for a report object.

In addition, when you format a report object in CR for

VS .NET, a style class name (with the format details)

is randomly created. Since the class name is randomly

created, it cannot be added to a style sheet.

To use your own style class name in a style sheet,

upgrade to Crystal Reports 9 or 10 Developer or

Advanced Edition.

Regards,
John Adams
ComponentOne LLC

GeneralFunny DataGridView Behaviour Pin
Brady Kelly28-Jan-08 10:13
Brady Kelly28-Jan-08 10:13 
GeneralFull Screen and visible start menu [modified] Pin
Spaz8027-Jan-08 22:34
Spaz8027-Jan-08 22:34 
GeneralRe: Full Screen and visible start menu Pin
Spaz8028-Jan-08 0:48
Spaz8028-Jan-08 0:48 
GeneralRe: Full Screen and visible start menu Pin
Ahmad Rifai Yusuf2-Feb-08 1:30
Ahmad Rifai Yusuf2-Feb-08 1:30 
GeneralWhere to get menus Pin
Sun Rays27-Jan-08 21:52
Sun Rays27-Jan-08 21:52 
GeneralRe: Where to get menus Pin
John_Adams28-Jan-08 18:00
John_Adams28-Jan-08 18:00 
Generalchange format of dateTimePicker in ASp.net windows application Pin
Cuckoo27-Jan-08 19:22
Cuckoo27-Jan-08 19:22 
GeneralNegative rowIndex for new DataGridViewRow Pin
Brady Kelly27-Jan-08 2:55
Brady Kelly27-Jan-08 2:55 
GeneralRe: Negative rowIndex for new DataGridViewRow Pin
Luc Pattyn27-Jan-08 3:09
sitebuilderLuc Pattyn27-Jan-08 3:09 
GeneralRe: Negative rowIndex for new DataGridViewRow Pin
Brady Kelly27-Jan-08 3:20
Brady Kelly27-Jan-08 3:20 
GeneralRe: Negative rowIndex for new DataGridViewRow Pin
Luc Pattyn27-Jan-08 4:04
sitebuilderLuc Pattyn27-Jan-08 4:04 
GeneralRe: Negative rowIndex for new DataGridViewRow Pin
Brady Kelly27-Jan-08 4:13
Brady Kelly27-Jan-08 4:13 
GeneralRe: Negative rowIndex for new DataGridViewRow Pin
Luc Pattyn27-Jan-08 4:35
sitebuilderLuc Pattyn27-Jan-08 4:35 
GeneralRe: Negative rowIndex for new DataGridViewRow Pin
Brady Kelly27-Jan-08 4:50
Brady Kelly27-Jan-08 4:50 
GeneralRe: Negative rowIndex for new DataGridViewRow Pin
Luc Pattyn27-Jan-08 5:40
sitebuilderLuc Pattyn27-Jan-08 5:40 
GeneralRe: Negative rowIndex for new DataGridViewRow Pin
Brady Kelly27-Jan-08 5:52
Brady Kelly27-Jan-08 5:52 
GeneralRe: Negative rowIndex for new DataGridViewRow Pin
Luc Pattyn27-Jan-08 6:29
sitebuilderLuc Pattyn27-Jan-08 6:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.