Solved

Is it possible to change controls properties at runtime in a RDLC file?

Posted on 2007-11-27
3
1,736 Views
Last Modified: 2013-11-26
I have a local report (rdlc file) which I display in a Report Viewer control in a web-form.
May I in some way, in runtime, reference a control in the report, in my case a "rectangle" control, in order to change the Location / Top property of that control.
I need to do some position alignment to fit spesial forms on different printers

I have tried different syntaxes, but always there is an error:
 Dim rect As New Rectangle
 rect = ReportViewer1.FindControl("rectangle")

0
Comment
Question by:Joar
3 Comments
 
LVL 16

Accepted Solution

by:
SQL_SERVER_DBA earned 500 total points
ID: 20358077
0
 

Author Comment

by:Joar
ID: 20358429
Sorry, I can not see that this article tells me how to reference a control in a local report (rdlc), lets say a rectangle, in order to modify some properties in that control???
In my case I want (in runtime) to reposition a rectangle by justifying the Location property (Top / Left).
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question