I have an aspx page that uses the ReportViewer control. The dimensions are
set at runtime.
private void Page_Load(object sender, System.EventArgs e)
{
reportViewer.ServerUrl = "http://localhost/reportserver";
reportViewer.ReportPath = "/Samples/Company Sales";
reportViewer.Width = 900;
reportViewer.Height = 580;
}
Is it possible to change the size of the control everytime the browser
window is resized?
TIA.You can set the size to a percent.
--
Cheers,
'(' Jeff A. Stucker
\
Business Intelligence
www.criadvantage.com
---
"TechnoSpyke" <technospyke@.yahoo.com> wrote in message
news:OqzqmWrEFHA.2572@.tk2msftngp13.phx.gbl...
>I have an aspx page that uses the ReportViewer control. The dimensions are
>set at runtime.
> private void Page_Load(object sender, System.EventArgs e)
> {
> reportViewer.ServerUrl = "http://localhost/reportserver";
> reportViewer.ReportPath = "/Samples/Company Sales";
> reportViewer.Width = 900;
> reportViewer.Height = 580;
> }
> Is it possible to change the size of the control everytime the browser
> window is resized?
> TIA.
>|||Thank you.
This worked, but first I had to modify the ReportViewer.dll since, by
default, it doesn't accept precentage for dimensions.
"Jeff A. Stucker" <jeff@.mobilize.net> wrote in message
news:ekIm4R5EFHA.3200@.TK2MSFTNGP10.phx.gbl...
> You can set the size to a percent.
> --
> Cheers,
> '(' Jeff A. Stucker
> \
> Business Intelligence
> www.criadvantage.com
> ---
> "TechnoSpyke" <technospyke@.yahoo.com> wrote in message
> news:OqzqmWrEFHA.2572@.tk2msftngp13.phx.gbl...
>>I have an aspx page that uses the ReportViewer control. The dimensions
>>are set at runtime.
>> private void Page_Load(object sender, System.EventArgs e)
>> {
>> reportViewer.ServerUrl = "http://localhost/reportserver";
>> reportViewer.ReportPath = "/Samples/Company Sales";
>> reportViewer.Width = 900;
>> reportViewer.Height = 580;
>> }
>> Is it possible to change the size of the control everytime the browser
>> window is resized?
>> TIA.
>|||Great, I'm glad you got it working. Sometimes I forget all the steps when I
did something, but just remember that it works!!
--
Cheers,
'(' Jeff A. Stucker
\
Business Intelligence
www.criadvantage.com
---
"TechnoSpyke" <technospyke@.yahoo.com> wrote in message
news:eoca6W5EFHA.2600@.TK2MSFTNGP09.phx.gbl...
> Thank you.
> This worked, but first I had to modify the ReportViewer.dll since, by
> default, it doesn't accept precentage for dimensions.
>
> "Jeff A. Stucker" <jeff@.mobilize.net> wrote in message
> news:ekIm4R5EFHA.3200@.TK2MSFTNGP10.phx.gbl...
>> You can set the size to a percent.
>> --
>> Cheers,
>> '(' Jeff A. Stucker
>> \
>> Business Intelligence
>> www.criadvantage.com
>> ---
>> "TechnoSpyke" <technospyke@.yahoo.com> wrote in message
>> news:OqzqmWrEFHA.2572@.tk2msftngp13.phx.gbl...
>>I have an aspx page that uses the ReportViewer control. The dimensions
>>are set at runtime.
>> private void Page_Load(object sender, System.EventArgs e)
>> {
>> reportViewer.ServerUrl = "http://localhost/reportserver";
>> reportViewer.ReportPath = "/Samples/Company Sales";
>> reportViewer.Width = 900;
>> reportViewer.Height = 580;
>> }
>> Is it possible to change the size of the control everytime the browser
>> window is resized?
>> TIA.
>>
>
Showing posts with label aspx. Show all posts
Showing posts with label aspx. Show all posts
Tuesday, March 27, 2012
Sunday, March 25, 2012
changing the format for rendering a chart in a report on an aspx p
Sorriy if this shows up twice. I posted it already but didn't see in the list.
I have some customers that are experiencing the text displaying somewhat
broken up on a report with a chart in it on an aspx page.
If I right click on the report on the page the properties show the chart is
in PNG format.
I was told to change the type to jpg because jpg can handle fonts better.
I tried the Render IMAGE OutputFormat=JPEG on the URL but it acts like I
want to export it to JPG. I just want to display it on the aspx page in jpg
format.
Can this be done, if so how do i do it?Please check my response on your first posting.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Steve" <Steve@.discussions.microsoft.com> wrote in message
news:69172CD1-2139-42AC-A1B1-C00BDB796C93@.microsoft.com...
> Sorriy if this shows up twice. I posted it already but didn't see in the
> list.
> I have some customers that are experiencing the text displaying somewhat
> broken up on a report with a chart in it on an aspx page.
> If I right click on the report on the page the properties show the chart
> is
> in PNG format.
> I was told to change the type to jpg because jpg can handle fonts better.
> I tried the Render IMAGE OutputFormat=JPEG on the URL but it acts like I
> want to export it to JPG. I just want to display it on the aspx page in
> jpg
> format.
> Can this be done, if so how do i do it?
>sql
I have some customers that are experiencing the text displaying somewhat
broken up on a report with a chart in it on an aspx page.
If I right click on the report on the page the properties show the chart is
in PNG format.
I was told to change the type to jpg because jpg can handle fonts better.
I tried the Render IMAGE OutputFormat=JPEG on the URL but it acts like I
want to export it to JPG. I just want to display it on the aspx page in jpg
format.
Can this be done, if so how do i do it?Please check my response on your first posting.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Steve" <Steve@.discussions.microsoft.com> wrote in message
news:69172CD1-2139-42AC-A1B1-C00BDB796C93@.microsoft.com...
> Sorriy if this shows up twice. I posted it already but didn't see in the
> list.
> I have some customers that are experiencing the text displaying somewhat
> broken up on a report with a chart in it on an aspx page.
> If I right click on the report on the page the properties show the chart
> is
> in PNG format.
> I was told to change the type to jpg because jpg can handle fonts better.
> I tried the Render IMAGE OutputFormat=JPEG on the URL but it acts like I
> want to export it to JPG. I just want to display it on the aspx page in
> jpg
> format.
> Can this be done, if so how do i do it?
>sql
Subscribe to:
Posts (Atom)