I am opening Crystal Report in asp.Net 3.5. Report is
opening very well but when I click on Refresh button of
Crystal Report then it gives "Missing Parameter values"
I also tried property of CR Viewer like
crViewer.ReuseParameterValuesOnRefresh = True
But it is not working.
Plz give me solution.
Answer Posted / richard des jardins
What I have done is create a protected sub OR void that
sets all the parameters including the SetDataBaseLogon;
let's call it LoadForm. I am not sure you you are loading
the report on initail page load or if the use has to
trigger an event before it is loaded. If it is on page
load, call the method on page load. If it is loaded after a
user interaction,I call the LoadForm() then set a sesiion
variable inticated that it has been loaded. Then in the
page load, Id add a conditional of that session exists or
is NOT nothing, then call LoadForm.
This is assuming you are using a ReportViewer. The
ReportViewer will handle State so paging should work as
expected.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between codebehind="mycode.aspx.cs" and src="mycode.aspx.cs"?
What is postback and autopostback in asp.net?
Can we have multiple web config files for an asp.net application?
Explain the updatepanel?
Difference between web user control and web custom control?
Can we have 2 web config files?
How to change Master page in ASP.Net using code?
Is asp.net a language?
Is asp.net outdated?
What is ispostback property?
Where do we store our connection string in asp.net application?
How do you use viewstate?
Can asp.net work on an nt server?
How can you debug your.net application?
What is cached data phone?