Pop open the champagne! It's time to celebrate!!!!!
:-D
"LP" <lp@a.com> wrote in message
news:%23ZDLAHtGFHA.2360@TK2MSFTNGP12.phx.gbl...[color=blue]
> Brian, Wow!!! It worked!!!
> Thanks a lot for getting this one resolved.
>
>
> "Brian Bischof" <Brian@NoSpamBischofSystems.com> wrote in message
> news:unGLFssGFHA.2504@TK2MSFTNGP10.phx.gbl...[color=green]
> > After playing around with this it seems to work really well. In fact,[/color][/color]
I'm[color=blue][color=green]
> > even able to get the Excel export to open in Excel with a full toolbar.[/color][/color]
I[color=blue][color=green]
> > feel so much better now. Here is the resolution email. Play around with[/color]
> the[color=green]
> > different checkboxes to get different results. This email is from the[/color][/color]
guy[color=blue][color=green]
> > that wrote the XI toolbar export functionality!
> >
> > HTH,
> >
> > Brian Bischof
> >
www.CrystalReportsBook.com
> >
> >
> > -------------------
> > It sounds like the exporting is done through the viewer toolbar in a[/color]
> webform[color=green]
> > viewer. The behavior is generic for IE and depends on whether user has
> > disabled the confirmation dialog, and whether the file is sent as
> > attachment. We send exported files inline, not as attachment, when
> > exporting through the viewer. You can change this behavior by adjusting[/color]
> the[color=green]
> > user setting as below.
> >
> > 1. Open an Explorer window.
> > 2. Select Tools | Folder Options (assuming Windows XP).
> > 3. Select File Types tab.
> > 4. Find the appropriate file type, click Advanced button.
> > 5. Ensure "Confirm open after download" is checked.
> >
> > There is a new method on ReportDocument.ExportToHttpResponse for[/color]
> developers[color=green]
> > to control whether the exported file is sent as attachment.
> >
> > I suspect the toolbar problem is because we turned off the IE menu in[/color][/color]
that[color=blue][color=green]
> > export window. There is no way to turn the menu on at this time.
> >
> > -------------------
> >
> >
> > "Brian Bischof" <Brian@NoSpamBischofSystems.com> wrote in message
> > news:eDKeGKsGFHA.2620@tk2msftngp13.phx.gbl...[color=darkred]
> > > I'm glad we are providing entertainment for everyone. ;-)
> > >
> > > It's not a code problem. The problem is the ASP.NET viewer toolbar in[/color][/color]
> XI.[color=green][color=darkred]
> > > The ironic thing is that I sent two emails to tech support and they[/color][/color][/color]
were[color=blue][color=green][color=darkred]
> > > thinking I was talking about the code too. Anyway, I heard back from a
> > > support guy and he says that this behavior is controlled through the[/color][/color]
> File[color=green][color=darkred]
> > > Types dialog box in Windows Explorer. I'm going to look into it and[/color][/color][/color]
post[color=blue][color=green]
> > his[color=darkred]
> > > full response once I check it out.
> > >
> > > Oh yeah - re the Save/Open dialog box behavior, yes I get it for all[/color][/color]
> file[color=green][color=darkred]
> > > types including Excel and Word. Anyway, I should be posting the[/color][/color]
> resolution[color=green][color=darkred]
> > > shortly, and then we can all get back to our normal jobs! :-)
> > >
> > >
> > > Brian
> > >
www.CrystalReportsBook.com
> > >
> > >
> > >
> > >
> > >
> > > "Rob Diamant" <rob@usi.com> wrote in message
> > > news:Owurl%23rGFHA.3088@tk2msftngp13.phx.gbl...
> > > > Guys,
> > > >
> > > > I have been following this thread for a while (it's entertaining, I[/color]
> > can't[color=darkred]
> > > > wait for the finish) and was wondering what code is behind LP's[/color][/color][/color]
Export[color=blue][color=green][color=darkred]
> > > > Button that may be different then Brian's. Maybe you guys should[/color]
> > compare.[color=darkred]
> > > >
> > > > Rob
> > > >
> > > > "Brian Bischof" <Brian@NoSpamBischofSystems.com> wrote in message
> > > > news:%23HXLxMrGFHA.3504@TK2MSFTNGP10.phx.gbl...
> > > > > Man, we are really going around in circles about this one. I still[/color][/color]
> say[color=green][color=darkred]
> > > > > it's
> > > > > a browser issue and not a Crystal problem. For example, if I go[/color][/color][/color]
into[color=blue][color=green]
> > my[color=darkred]
> > > > > browser and tell it to display large fonts, I can't then send[/color][/color][/color]
emails[color=blue][color=green]
> > to[color=darkred]
> > > > > every website I visit complaining that their web designers should[/color][/color]
> use[color=green][color=darkred]
> > > > > smaller fonts. On my browser I get the Open/Save dialog box that[/color][/color][/color]
you[color=blue][color=green][color=darkred]
> > > don't
> > > > > get and I also see an option to turn it off. Thus, it works fine[/color][/color][/color]
on[color=blue]
> my[color=green][color=darkred]
> > > > > browser and it appears to be a browser controlled setting. So how[/color]
> > could[color=darkred]
> > > it
> > > > > be a Crystal problem?
> > > > >
> > > > > That being said, I have no clue about how the Header record[/color][/color][/color]
effects[color=blue][color=green]
> > what[color=darkred]
> > > > > the
> > > > > browser does. Maybe Crystal is using a Header record that makes[/color][/color][/color]
the[color=blue][color=green][color=darkred]
> > > > > Open/Save dialog box optional? Maybe their header record is only
> > > > > compatible
> > > > > with certain browser versions and doesn't work with others? I[/color][/color][/color]
don't[color=blue][color=green][color=darkred]
> > > know.
> > > > > This whole thing is getting very frustrating and I'm determined to
> > > figure
> > > > > out what the heck is going on. Having it work one way in one[/color][/color][/color]
browser[color=blue][color=green]
> > and[color=darkred]
> > > > > another way in another browser and having no idea why is driving[/color][/color][/color]
me[color=blue][color=green][color=darkred]
> > > crazy.
> > > > > Somewhere there has to be a reasonable explanation for this[/color][/color][/color]
problem[color=blue][color=green]
> > you[color=darkred]
> > > > > are
> > > > > having.
> > > > >
> > > > > Brian
> > > > >
> > > > >
> > > > >
> > > > > "LP" <lp@a.com> wrote in message
> > > > > news:O$f8zSqGFHA.3312@TK2MSFTNGP10.phx.gbl...
> > > > >> > For example, I can go into Adobe Properties
> > > > >> > and turn this on and off using one of their options. When that[/color]
> > dialog[color=darkred]
> > > > > box
> > > > >> > opens, there is a checkbox at the bottom about whether you[/color][/color]
> should[color=green]
> > be[color=darkred]
> > > > >> > prompted with this box again or just open the file directly.
> > > > >>
> > > > >> You are tweaking Adobe settings not the browser.
> > > > >>
> > > > >> >Thus, this is a
> > > > >> > browser setting.
> > > > >> No, it's Adobe setting.
> > > > >>
> > > > >> I can't find similar setting in browser or Excel Word either. And[/color]
> > again[color=darkred]
> > > > > lets
> > > > >> assume it's a browser setting, but that would default behavior of[/color][/color][/color]
a[color=blue][color=green][color=darkred]
> > > > > browser.
> > > > >> So by default CR export functionality is unusable. I don't[/color][/color]
> understand[color=green][color=darkred]
> > > how
> > > > > CR
> > > > >> vendor (BusinessObjects as of today) could not see that someone[/color][/color]
> would[color=green][color=darkred]
> > > > >> actually want to save exported file, not just look at it in a[/color][/color][/color]
popup[color=blue][color=green][color=darkred]
> > > > > window.
> > > > >> When I get a chance, I'll look into how to filter HTML rendered[/color][/color][/color]
by[color=blue]
> CR[color=green][color=darkred]
> > > and
> > > > >> modify it to enable save as functionality.
> > > > >>
> > > > >>
> > > > >> "Brian Bischof" <Brian@NoSpamBischofSystems.com> wrote in message
> > > > >> news:%23mI5GUpGFHA.3312@TK2MSFTNGP10.phx.gbl...
> > > > >> > Ok, that's what I thought. I think that is a browser issue b/c[/color][/color][/color]
I[color=blue][color=green]
> > was[color=darkred]
> > > > > able
> > > > >> to
> > > > >> > toggle this feature on and off. For example, I can go into[/color][/color][/color]
Adobe[color=blue][color=green][color=darkred]
> > > > >> Properties
> > > > >> > and turn this on and off using one of their options. When that[/color]
> > dialog[color=darkred]
> > > > > box
> > > > >> > opens, there is a checkbox at the bottom about whether you[/color][/color]
> should[color=green]
> > be[color=darkred]
> > > > >> > prompted with this box again or just open the file directly.[/color][/color]
> Thus,[color=green][color=darkred]
> > > this
> > > > > is
> > > > >> a
> > > > >> > browser setting. The header doesn't control it b/c on my[/color][/color][/color]
computer[color=blue]
> I[color=green][color=darkred]
> > > was
> > > > >> able
> > > > >> > to get the dialog box to come up or send it directly to a[/color][/color][/color]
browser[color=blue][color=green][color=darkred]
> > > > >> > window
> > > > >> > using and Adobe Properties setting. I would search Google to[/color][/color][/color]
see[color=blue][color=green]
> > how[color=darkred]
> > > to
> > > > >> turn
> > > > >> > this on or off.
> > > > >> >
> > > > >> > Brian
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> > "LP" <lp@a.com> wrote in message
> > > > >> > news:erPQ26oGFHA.1176@TK2MSFTNGP12.phx.gbl...
> > > > >> > > > Are you saying that you don't get the Open/Save dialog box[/color][/color][/color]
or[color=blue][color=green]
> > you[color=darkred]
> > > > >> > > > do
> > > > >> get
> > > > >> > > it?
> > > > >> > >
> > > > >> > > I do NOT get it. When I click export icon it opens a popup[/color][/color]
> window[color=green][color=darkred]
> > > > >> > > with
> > > > >> > > Excel, or Word embedded in the window, but no toolbars no[/color][/color]
> nothing[color=green][color=darkred]
> > > and
> > > > >> > > certainly NO "Save as" dialog box. If you could come up with[/color][/color][/color]
a[color=blue][color=green]
> > way[color=darkred]
> > > to
> > > > >> > > provide users with ability to "save as" what's embedded[/color][/color][/color]
inside[color=blue]
> a[color=green][color=darkred]
> > > > > popup,
> > > > >> I
> > > > >> > > would greatly appreciate it.
> > > > >> > >
> > > > >> > > Thanks
> > > > >> > >
> > > > >> > > "Brian Bischof" <Brian@NoSpamBischofSystems.com> wrote in[/color][/color]
> message[color=green][color=darkred]
> > > > >> > > news:%23vaVMUjGFHA.1096@tk2msftngp13.phx.gbl...
> > > > >> > > > Are you saying that you don't get the Open/Save dialog box[/color][/color][/color]
or[color=blue][color=green]
> > you[color=darkred]
> > > > >> > > > do
> > > > >> get
> > > > >> > > it?
> > > > >> > > > It seems that you don't get it at all. I get it on my[/color][/color]
> computer[color=green][color=darkred]
> > > and
> > > > >> > > > I
> > > > >> > think
> > > > >> > > > this is a browser issue. As I said earlier, I was able to[/color][/color]
> turn[color=green][color=darkred]
> > > > >> > > > enable/disable it using a PDF option. The second issue of[/color][/color][/color]
the[color=blue][color=green][color=darkred]
> > > > > toolbar
> > > > >> > not
> > > > >> > > > having the Save buttons could be a header issue. I'm not
> > > > > knowledgeable
> > > > >> > > about
> > > > >> > > > HTML headers but it does make sense that the header tags[/color][/color][/color]
can[color=blue][color=green][color=darkred]
> > > > >> > > > control
> > > > >> > this.
> > > > >> > > I
> > > > >> > > > will have to research that tomorrow.
> > > > >> > > >
> > > > >> > > > Brian Bischof
> > > > >> > > >
www.CrystalReportsBook.com
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > "LP" <lp@a.com> wrote in message
> > > > >> > > > news:%23GkSYeiGFHA.2620@tk2msftngp13.phx.gbl...
> > > > >> > > > > Brian, Thanks for looking into this for me.
> > > > >> > > > > I think you understand my problem. But just to be clear:
> > > > >> > > > > When I click export button of a webviewer, it does open a[/color]
> > popup[color=darkred]
> > > > >> window
> > > > >> > > and
> > > > >> > > > > loads excel, word, etc. into the window. But there's no[/color]
> > obvious[color=darkred]
> > > > > way
> > > > >> to
> > > > >> > > > save
> > > > >> > > > > it to a local drive as a file (other than copy and paste)[/color]
> > And,[color=darkred]
> > > > > yes,
> > > > >> > you
> > > > >> > > > are
> > > > >> > > > > right PDF is the only format with a toolbar that has[/color][/color][/color]
"save[color=blue][color=green]
> > as"[color=darkred]
> > > > > icon.
> > > > >> > But
> > > > >> > > I
> > > > >> > > > > think it's part of PDF object embedded within a browser.[/color][/color][/color]
I[color=blue][color=green]
> > also[color=darkred]
> > > > >> looked
> > > > >> > > in
> > > > >> > > > > browser settings to make it open "save as" dialog box,[/color][/color][/color]
but[color=blue][color=green][color=darkred]
> > > could
> > > > > not
> > > > >> > > find
> > > > >> > > > > anything.
> > > > >> > > > > But I begin to doubt that it is a browser issue like you
> > > > > suggesting.
> > > > >> I
> > > > >> > > > think
> > > > >> > > > > this behavior is controlled by HTTP header tags. I know[/color][/color]
> that[color=green][color=darkred]
> > > > > there's
> > > > >> a
> > > > >> > > > > header tag content-type (or something like that) where[/color][/color][/color]
you[color=blue][color=green]
> > can[color=darkred]
> > > > >> specify
> > > > >> > > > > ms-excel, ms-word, etc. And there's also "attachment;
> > > filename="
> > > > > tag
> > > > >> > > where
> > > > >> > > > > you can give file name and browser then will prompt you[/color][/color][/color]
to[color=blue][color=green]
> > save[color=darkred]
> > > > >> > > > > or
> > > > >> > open
> > > > >> > > > that
> > > > >> > > > > file. So, I do think it's the way CR not providing the[/color][/color]
> right[color=green][color=darkred]
> > > HTTP
> > > > >> > header
> > > > >> > > > > tags for the popup is a root of the problem. So, I am[/color]
> > thinking[color=darkred]
> > > of
> > > > >> > > > > intercepting CR rendered HTML and modifying it, but I[/color][/color]
> haven't[color=green][color=darkred]
> > > had
> > > > >> any
> > > > >> > > time
> > > > >> > > > > to do anything serious like that, after all I am just[/color]
> > building[color=darkred]
> > > a
> > > > >> demo
> > > > >> > > app.
> > > > >> > > > > Let me know if you find anything else, or if I am on the[/color]
> > right[color=darkred]
> > > > >> track.
> > > > >> > > > >
> > > > >> > > > > Thank you again for your input.
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > "Brian Bischof" <Brian@NoSpamBischofSystems.com> wrote in
> > > message
> > > > >> > > > > news:%23rZC84fGFHA.2524@TK2MSFTNGP15.phx.gbl...
> > > > >> > > > > > Hmmm. I'm looking over all your posts. The first post[/color][/color][/color]
you[color=blue][color=green]
> > had[color=darkred]
> > > > > last
> > > > >> > > week
> > > > >> > > > > said
> > > > >> > > > > > that you couldn't get the Save As dialog box to open.
> > > Instead,
> > > > > it
> > > > >> > > always
> > > > >> > > > > > spawned a new window. Now it seems that when you are in[/color][/color]
> the[color=green][color=darkred]
> > > new
> > > > >> > window
> > > > >> > > > it
> > > > >> > > > > > won't allow saving the data. I assume this is a direct[/color]
> > result[color=darkred]
> > > > >> > > > > > of
> > > > >> not
> > > > >> > > > being
> > > > >> > > > > > able to solve the first problem. So here are my[/color][/color][/color]
comments.[color=blue][color=green][color=darkred]
> > > > >> > > > > >
> > > > >> > > > > > First is that if the export button doesn't open the[/color]
> > Save/Open[color=darkred]
> > > > >> dialog
> > > > >> > > > box,
> > > > >> > > > > > then I think it's a browser issue. For example, at the[/color]
> > bottom[color=darkred]
> > > > >> > > > > > of
> > > > >> the
> > > > >> > > > > dialog
> > > > >> > > > > > box is a checkbox telling whether it should prompt you[/color][/color]
> with[color=green][color=darkred]
> > > > >> > > > > > this
> > > > >> or
> > > > >> > > not.
> > > > >> > > > I
> > > > >> > > > > > played around with it for Excel and Word but this had[/color][/color][/color]
no[color=blue][color=green][color=darkred]
> > > > >> > > > > > effect.
> > > > > I
> > > > >> > did
> > > > >> > > > > find
> > > > >> > > > > > out that I can change this with Adobe inside the Adobe
> > > Internet
> > > > >> > > > > preferences.
> > > > >> > > > > > After fixing that I got the Open/Save box for PDFs[/color][/color][/color]
again.[color=blue]
> I[color=green][color=darkred]
> > > > > looked
> > > > >> > in
> > > > >> > > > > > preferences for Excel/Word and couldn't find such an[/color]
> > option.[color=darkred]
> > > > > Thus,
> > > > >> > the
> > > > >> > > > PDF
> > > > >> > > > > > option makes me think that the browser is controlling[/color][/color]
> this[color=green][color=darkred]
> > > and
> > > > > not
> > > > >> > CR
> > > > >> > > > XI.
> > > > >> > > > > > Overall, I have the Open/Save dialog popping up for all[/color]
> > file[color=darkred]
> > > > > types
> > > > >> > in
> > > > >> > > my
> > > > >> > > > > > brower and you should be able to get them too.
> > > > >> > > > > >
> > > > >> > > > > > Re the Excel and Word browsers not letting you save[/color][/color][/color]
data,[color=blue][color=green][color=darkred]
> > > this
> > > > > is
> > > > >> > > > > happening
> > > > >> > > > > > with my computer as well. However, again I have to[/color][/color]
> question[color=green][color=darkred]
> > > if
> > > > >> this
> > > > >> > is
> > > > >> > > a
> > > > >> > > > > > browser issue or a CR XI issue since XI is just sending[/color][/color]
> the[color=green][color=darkred]
> > > XLS
> > > > >> file
> > > > >> > > to
> > > > >> > > > > the
> > > > >> > > > > > browser. I'll continue to play with it b/c I don't know[/color][/color]
> the[color=green][color=darkred]
> > > > > answer
> > > > >> > to
> > > > >> > > > this
> > > > >> > > > > > one yet. But I think your best bet is to look at the[/color][/color]
> first[color=green][color=darkred]
> > > > >> > > > > > issue
> > > > >> and
> > > > >> > > get
> > > > >> > > > > the
> > > > >> > > > > > Open/Save dialog box to pop up by tweaking the IE[/color][/color]
> settings.[color=green][color=darkred]
> > > > >> > > > > >
> > > > >> > > > > > HTH,
> > > > >> > > > > >
> > > > >> > > > > > Brian Bischof
> > > > >> > > > > >
www.CrystalReportsBook.com
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > "Brian Bischof" <Brian@NoSpamBischofSystems.com> wrote[/color][/color][/color]
in[color=blue][color=green][color=darkred]
> > > > > message
> > > > >> > > > > > news:%236jPVYfGFHA.3472@TK2MSFTNGP09.phx.gbl...
> > > > >> > > > > > > Those are good points. Let me look into the export[/color]
> > problem[color=darkred]
> > > of
> > > > >> not
> > > > >> > > > saving
> > > > >> > > > > > to
> > > > >> > > > > > > disk and see if I can get you an answer.
> > > > >> > > > > > >
> > > > >> > > > > > > Brian
> > > > >> > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > > > "LP" <lp@a.com> wrote in message
> > > > >> > > > > > > news:%23VXeKbeGFHA.4088@TK2MSFTNGP09.phx.gbl...
> > > > >> > > > > > > > >The best practice is to use the
> > > > >> > > > > > > > > ReportDocument object model (unless working with
> > > > >> WebServices).
> > > > >> > > Try
> > > > >> > > > > > that
> > > > >> > > > > > > > and
> > > > >> > > > > > > > > post the results here.
> > > > >> > > > > > > >
> > > > >> > > > > > > > ReportDocument did work for me for postback[/color][/color][/color]
problems.[color=blue][color=green]
> > But[color=darkred]
> > > I
> > > > >> also
> > > > >> > > > have
> > > > >> > > > > a
> > > > >> > > > > > > > button that exports report to excel and then sends[/color][/color]
> this[color=green][color=darkred]
> > > > >> > > > > > > > file
> > > > >> to
> > > > >> > a
> > > > >> > > > > client
> > > > >> > > > > > > > through HTTP. I could not get that to work with one
> > > > >> > parameterized
> > > > >> > > > > > report.
> > > > >> > > > > > > > Parameters don't seem to get cached with[/color]
> > reportdocument.[color=darkred]
> > > I
> > > > >> tried
> > > > >> > > my
> > > > >> > > > > > > > different things, like caching actuall ParamFields
> > > object,
> > > > >> etc.
> > > > >> > > but
> > > > >> > > > > > > nothing
> > > > >> > > > > > > > seems to work.
> > > > >> > > > > > > > I need this button because export in Crystal[/color][/color]
> webviewer[color=green][color=darkred]
> > > > >> > > > > > > > opens
> > > > > a
> > > > >> > > popup
> > > > >> > > > > > > window
> > > > >> > > > > > > > with no toolbars, so users can't save it to a file.[/color][/color]
> If[color=green]
> > I[color=darkred]
> > > > > could
> > > > >> > > find
> > > > >> > > > > > > > workaround that, there would not be a need for this
> > > custom
> > > > >> > export
> > > > >> > > > > > button.
> > > > >> > > > > > > My
> > > > >> > > > > > > > biggest problem with Crystal right now is very[/color][/color][/color]
simple[color=blue][color=green]
> > but[color=darkred]
> > > > > yet
> > > > >> > > > > important
> > > > >> > > > > > > > things take so much time effort to do that it[/color][/color][/color]
becomes[color=blue][color=green][color=darkred]
> > > > >> > questionanle
> > > > >> > > > if
> > > > >> > > > > > it's
> > > > >> > > > > > > > all worth it. And default behavior of Crystal is[/color][/color][/color]
just[color=blue][color=green][color=darkred]
> > > > > bizarre
> > > > >> > like
> > > > >> > > > > > opening
> > > > >> > > > > > > a
> > > > >> > > > > > > > popup with no toolbars when exporting to another[/color]
> > format,[color=darkred]
> > > so
> > > > >> file
> > > > >> > > > can't
> > > > >> > > > > > be
> > > > >> > > > > > > > "save as"
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > > > "Brian Bischof" <Brian@NoSpamBischofSystems.com>[/color][/color]
> wrote[color=green]
> > in[color=darkred]
> > > > >> > message
> > > > >> > > > > > > > news:%230b8BKdGFHA.2976@TK2MSFTNGP09.phx.gbl...
> > > > >> > > > > > > > > I agree about the confusing API. Have you seen my
> > > > >> > > > > > > > > existing
> > > > >> > book,
> > > > >> > > > > > > "Crystal
> > > > >> > > > > > > > > Reports .NET Programming"? It teaches you how to[/color][/color]
> use[color=green][color=darkred]
> > > the
> > > > >> .NET
> > > > >> > > > object
> > > > >> > > > > > > model
> > > > >> > > > > > > > > and has many tips and tricks for getting it to[/color][/color]
> work.[color=green][color=darkred]
> > > > > Anyway,
> > > > >> > it
> > > > >> > > > only
> > > > >> > > > > > > > touches
> > > > >> > > > > > > > > on the RAS and RDC programming a bit (I don't[/color][/color][/color]
know[color=blue]
> if[color=green][color=darkred]
> > > > > using
> > > > >> > that
> > > > >> > > > or
> > > > >> > > > > > > not).
> > > > >> > > > > > > > > I'm going to do another book which is hardcore[/color][/color][/color]
RAS[color=blue][color=green][color=darkred]
> > > > >> programming
> > > > >> > > > > because
> > > > >> > > > > > > RAS
> > > > >> > > > > > > > > is extremely complicated to learn and program[/color][/color]
> with..[color=green][color=darkred]
> > > But
> > > > >> that
> > > > >> > > > won't
> > > > >> > > > > be
> > > > >> > > > > > > > till
> > > > >> > > > > > > > > after I finish the CR XI book I'm working on now.
> > > > >> > > > > > > > >
> > > > >> > > > > > > > > Anyway, to answer your question, the mistake most
> > > people
> > > > >> make
> > > > >> > is
> > > > >> > > > > that
> > > > >> > > > > > > they
> > > > >> > > > > > > > > mix up the viewer object model with the report[/color][/color]
> object[color=green][color=darkred]
> > > > > model.
> > > > >> > > They
> > > > >> > > > > set
> > > > >> > > > > > > some
> > > > >> > > > > > > > > properties using one object and set other[/color][/color]
> properties[color=green][color=darkred]
> > > > >> > > > > > > > > using
> > > > >> the
> > > > >> > > > other
> > > > >> > > > > > > > object
> > > > >> > > > > > > > > model. Then they get consfused when some of the
> > > > >> > > > > > > > > properties
> > > > >> get
> > > > >> > > > > > dropped.
> > > > >> > > > > > > > You
> > > > >> > > > > > > > > can only use ONE object model at a time. The best
> > > > >> > > > > > > > > practice
> > > > >> is
> > > > >> > to
> > > > >> > > > use
> > > > >> > > > > > the
> > > > >> > > > > > > > > ReportDocument object model (unless working with
> > > > >> WebServices).
> > > > >> > > Try
> > > > >> > > > > > that
> > > > >> > > > > > > > and
> > > > >> > > > > > > > > post the results here.
> > > > >> > > > > > > > >
> > > > >> > > > > > > > > Brian Bischof
> > > > >> > > > > > > > >
www.CrystalReportsBook.com
> > > > >> > > > > > > > >
> > > > >> > > > > > > > >
> > > > >> > > > > > > > >
> > > > >> > > > > > > > > "LP" <lp@a.com> wrote in message
> > > > >> > > > > > > > > news:eS$1FzVGFHA.3612@TK2MSFTNGP09.phx.gbl...
> > > > >> > > > > > > > > > Ok, I did change it to ReportDocument , and[/color][/color][/color]
that[color=blue][color=green][color=darkred]
> > > worked
> > > > >> for
> > > > >> > me
> > > > >> > > > > even
> > > > >> > > > > > > > > without
> > > > >> > > > > > > > > > saving it to Session Variable. But now I am[/color][/color]
> having[color=green][color=darkred]
> > > > > another
> > > > >> > > > problem
> > > > >> > > > > > > with
> > > > >> > > > > > > > > > exporting. I have another button that export[/color][/color]
> report[color=green][color=darkred]
> > > to
> > > > >> excel
> > > > >> > > and
> > > > >> > > > > > sends
> > > > >> > > > > > > a
> > > > >> > > > > > > > > > file to a client, so now one parameterized[/color][/color][/color]
report[color=blue][color=green][color=darkred]
> > > > > doesn't
> > > > >> > > work.
> > > > >> > > > I
> > > > >> > > > > > > tried
> > > > >> > > > > > > > > > saving reportDoc and it ParameterFields to[/color][/color]
> session[color=green][color=darkred]
> > > and
> > > > >> > > > retrieving,
> > > > >> > > > > > but
> > > > >> > > > > > > > > > nothing works.
> > > > >> > > > > > > > > > I think CR is a very good product, very sharp[/color]
> > looking[color=darkred]
> > > > >> > reports
> > > > >> > > > > (when
> > > > >> > > > > > > you
> > > > >> > > > > > > > > get
> > > > >> > > > > > > > > > them to work), very slick designer especially[/color]
> > version[color=darkred]
> > > > > XI.
> > > > >> > But
> > > > >> > > > > their
> > > > >> > > > > > > API
> > > > >> > > > > > > > > and
> > > > >> > > > > > > > > > object hierarchy is terribly confusing and
> > > inconsistent
> > > > >> with
> > > > >> > > > what
> > > > >> > > > > > one
> > > > >> > > > > > > > > would
> > > > >> > > > > > > > > > expect from .NET friendly product, I haven't[/color][/color][/color]
seen[color=blue][color=green]
> > any[color=darkred]
> > > > > good
> > > > >> > > > > > > documentation
> > > > >> > > > > > > > > on
> > > > >> > > > > > > > > > their APIs.
> > > > >> > > > > > > > > >
> > > > >> > > > > > > > > >
> > > > >> > > > > > > > > > "LP" <lp@a.com> wrote in message
> > > > >> > > > > > > > > > news:ezCf58UGFHA.1456@TK2MSFTNGP09.phx.gbl...
> > > > >> > > > > > > > > > > Brian, I am not using ReportDocument object,[/color][/color][/color]
I[color=blue]
> am[color=green][color=darkred]
> > > > >> setting
> > > > >> > > > > viewers
> > > > >> > > > > > > > > > > ReportSource to a report file directly:
> > > > >> > > > > > > > > > >
> > > > >> > > > > > > > > > > crViewer.ReportSource =[/color][/color]
> Server.MapPath("Reports/"[color=green]
> > &[color=darkred]
> > > > >> > > > reportName)
> > > > >> > > > > > > > > > >
> > > > >> > > > > > > > > > > What should I do in this case?
> > > > >> > > > > > > > > > >
> > > > >> > > > > > > > > > >
> > > > >> > > > > > > > > > >
> > > > >> > > > > > > > > > > Thanks
> > > > >> > > > > > > > > > >
> > > > >> > > > > > > > > > >
> > > > >> > > > > > > > > > > "Brian Bischof"[/color][/color]
> <Brian@NoSpamBischofSystems.com>[color=green][color=darkred]
> > > > >> > > > > > > > > > > wrote
> > > > >> in
> > > > >> > > > > message
> > > > >> > > > > > > > > > > news:eQZxtDUGFHA.548@TK2MSFTNGP14.phx.gbl...
> > > > >> > > > > > > > > > > > You have to cache the report object. Save[/color][/color][/color]
the[color=blue][color=green][color=darkred]
> > > > >> > > > > > > > > > > > report
> > > > >> > > object
> > > > >> > > > to
> > > > >> > > > > > the
> > > > >> > > > > > >
> > > > >> > > > > > > > > > > Session()
> > > > >> > > > > > > > > > > > collection and then restore it upon page[/color]
> > refresh[color=darkred]
> > > > >> > > > > > > > > > > > (be
> > > > >> > sure
> > > > >> > > to
> > > > >> > > > > > > > explicity
> > > > >> > > > > > > > > > > cast
> > > > >> > > > > > > > > > > > it as a ReportDocument). ASP.NET reports do[/color][/color]
> all[color=green][color=darkred]
> > > > > kinds
> > > > >> of
> > > > >> > > > funny
> > > > >> > > > > > > > things
> > > > >> > > > > > > > > if
> > > > >> > > > > > > > > > > you
> > > > >> > > > > > > > > > > > don't save them between page refreshes.
> > > > >> > > > > > > > > > > >
> > > > >> > > > > > > > > > > > HTH,
> > > > >> > > > > > > > > > > >
> > > > >> > > > > > > > > > > > Brian Bischof
> > > > >> > > > > > > > > > > >
www.CrystalReportsBook.com
> > > > >> > > > > > > > > > > >
> > > > >> > > > > > > > > > > >
> > > > >> > > > > > > > > > > >
> > > > >> > > > > > > > > > > > "LP" <lp@a.com> wrote in message
> > > > >> > > > > > > > > > > >[/color][/color][/color]
news:OgS0FtTGFHA.2876@TK2MSFTNGP12.phx.gbl...[color=blue][color=green][color=darkred]
> > > > >> > > > > > > > > > > > > I am using (trying to) CR version XI,[/color]
> > cascading[color=darkred]
> > > > >> > > parameters
> > > > >> > > > > > > feature
> > > > >> > > > > > > > > > works
> > > > >> > > > > > > > > > > > it
> > > > >> > > > > > > > > > > > > asks user to enter params. But if page is
> > > > >> resubmitted.
> > > > >> > > It
> > > > >> > > > > > > prompts
> > > > >> > > > > > > > > for
> > > > >> > > > > > > > > > > > params
> > > > >> > > > > > > > > > > > > again. I did set
> > > > >> ReuseParameterValuesOnRefresh="True"
> > > > >> > in
> > > > >> > > a
> > > > >> > > > > > > viewer,
> > > > >> > > > > > > > > but
> > > > >> > > > > > > > > > > it
> > > > >> > > > > > > > > > > > > still doesn't work. Did anyone run into[/color][/color]
> this[color=green][color=darkred]
> > > > >> problem.
> > > > >> > > > What's
> > > > >> > > > > > the
> > > > >> > > > > > > > > > > solution?
> > > > >> > > > > > > > > > > > > Please help.
> > > > >> > > > > > > > > > > > >
> > > > >> > > > > > > > > > > > > Thank you
> > > > >> > > > > > > > > > > > >
> > > > >> > > > > > > > > > > > >
> > > > >> > > > > > > > > > > >
> > > > >> > > > > > > > > > > >
> > > > >> > > > > > > > > > >
> > > > >> > > > > > > > > > >
> > > > >> > > > > > > > > >
> > > > >> > > > > > > > > >
> > > > >> > > > > > > > >
> > > > >> > > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >> >
> > > > >>
> > > > >>
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]