Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2007-11-27
3
1,732 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
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)…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

840 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