Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# VB ASP ASP.NET .NET VB.NET , +
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 4-Jun-13 1:01am
Kavitha_b1.4K
Edited 4-Jun-13 4:11am
v3
Comments
Sunasara Imdadhusen at 4-Jun-13 6:13am
   
you have to resize your crystal report too, when window.resize occure
Kavitha le at 4-Jun-13 6:25am
   
you meant i need to write code for expanding the crystal report viewer accordingly right?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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.
  Permalink  
v2

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

  Print Answers RSS
0 OriginalGriff 7,903
1 Sergey Alexandrovich Kryukov 7,142
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,820


Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 4 Jun 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100