Solved

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

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
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…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now