Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formatting the rendering of parameter fields

Status
Not open for further replies.
Jul 28, 2011
167
NG
Hi all,

I've already asked this question in the Business Objects: Crystal Reports 1 Formulas but they seem to agree it's relates to Visual Studio.

I have just finished my report and uploaded then to the web server, but the parameters are scattered all over the place.

I'm using crystal reports with visual studio 2008, I also compare with CR10 (of course they give thesame result).

The order of the parameter fields are displayed dont really matter, what matters is that they render on my browser (and they currently do).

However, when the parameters finish rendering they render on their own accord. I want to be able to determine the position of each parameter on the screen, the color of the input boxes, the height and width of the input boxes, etc. (Just like using CSS with HTML)....I wish I could attact a screen shot, so you'd understand me better.
Basically, is there a way this can be done programatically?

Thanks.
 
how do the controls render if not with html? otherwise you can use css/js to format the rendered html.

your other option is to create the form manually instead of allowing webforms/crystal to generate the html.

Jason Meckley
Programmer

faq855-7190
faq732-7259
 
Creating the webforms/crystal manually is a long short for me. I have hundreds of reports that creating them anew would give me grey hair.
However the css/js seems a good idea. But how can you know the id of the parameters when they are rendered automatically???
 
view the source.
BTW there are other ways to manipulate html than on id. name, class, tag type, hierarchy, etc. being this is auto-generated by webforms ids are probably the last place you want to start.

Jason Meckley
Programmer

faq855-7190
faq732-7259
 
Id's work fine if you are using the 4.0 framework, you just need to set the ClientIDMode="Static". This way it doesn't matter if the control is within another control, you just reference it by the ID you give it in the markup.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top