The Web Application of Crystal Report 10 provides the printing function, which makes us more convenient.
However, although we can use simple settings to control whether individual buttons are displayed or not
However, the tool bar on the Web page is really ugly,
In fact, we can customize it with hands-on techniques, which is very simple.
Right-click the print button and check the attributes of the image. It is originally in the virtual directory.
So let's look for it.
Open IIS and check the location in the properties of the virtual directory,
Not all.
It seems that it cannot be changed, but it can still be found based on experience.
Here
C: / Program Files / Common files / Crystal decisions / 2.5 / Crystalreportviewers10 /
Check the directory structure. It should be clear.
We strongly recommend that you back up this directory before making changes to prevent incorrect changes!
We put the Web HTMLCodeAnalyze
Well, the style sheet has been found. Let's change the gray one first (crtoolbar)
Change to 6699cc
Let's take a look. How do you feel?
Not to mention the following.
Change Image
You can make a set of beautiful pictures to achieve your own style and coordinate with your entire system.
This change is still relatively rigid. You can set the toolbar to not display
Then, place the button on other locations on the page to call the events, such:
Onclick = " Javascript :__ dopostback ('crystalreportviewer1: _ ctl2: _ ctl1 ','') "
Check the HTML code for the corresponding link.
In this way, you can achieve more customization at will.