Click here to Skip to main content
15,893,668 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I have created one windows application using vb .net. my application contains one crystal report .Am using crystal report viewer to display the report.
But if maximize the screen of my application the crystal report viewer size remains same. So its looks ambiguous
Any idea to expand the report viewer in same ratio?
Please share your experience..
Please replay..
Posted
Updated 4-Jun-13 3:11am
v3
Comments
Sunasara Imdadhusen 4-Jun-13 6:13am    
you have to resize your crystal report too, when window.resize occure
Am Gayathri 4-Jun-13 6:25am    
you meant i need to write code for expanding the crystal report viewer accordingly right?

 
Share this answer
 
Hi,

Please put crystal report in Panel and make Panel Dock property as fill and crystal report Dock property as fill.

Then run the application if we maximize it will fill the entire area.


Thanks,
Suneel KS.
 
Share this answer
 
Try Setting Anchor property of Crystal Report Viewer
If you anchor it to all four sides (Top, Bottom, Right, Left) then it will grow and shrink as the parent form does.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900