This is a migrated thread and some comments may be shown as answers.

Changes in user expressions wont update

3 Answers 14 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michael Simpson
Top achievements
Rank 1
Michael Simpson asked on 31 Mar 2010, 02:07 AM
I have created user functions and when I make changes they wont take hold unless I exit the VS2008 IDE then restart.

OS:Windows 7 64-bit
Visual Studeo 2008 SP1
Processor Type set to X86

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 02 Apr 2010, 12:59 PM
Hello Michael,

We assume that you experience this only when previewing the report and this is caused by Visual Studio caching the report preview. If you make a change to the designer itself (i.e. move a textbox by a pixel) or run the report in your actual application, it should show the correct value for the expression.

Sincerely yours,
Steve
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Michael Simpson
Top achievements
Rank 1
answered on 02 Apr 2010, 08:00 PM
So let me get this straight.  If I make a change in a user function I order to see the results I have to do the following.

1. Make my code change in the user function
2. Make some sort of designer change
3. Build the dll
4. Open up my application
5. Build and test


This makes for a very long desing cycle.   Also be advised that it is not just user functions.  Even changing the designer to point to one of your built in functions you have to do the whole process again.  There has to be a better way. 
0
Svetoslav
Telerik team
answered on 06 Apr 2010, 02:34 PM
Hello Michael,

I guess you're changing the behavior of your user defined function and the report keeps displaying the previous result. As of now the reporting engine uses some expression caching mechanism that most probably is the reason for the wrong behavior you're talking about. We consider this an issue and logged it in our bug tracking system. It will be fixed in the upcoming service pack.

Your Telerik points have been updated for bringing this to our attention.

Best wishes,
Svetoslav
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Michael Simpson
Top achievements
Rank 1
Answers by
Steve
Telerik team
Michael Simpson
Top achievements
Rank 1
Svetoslav
Telerik team
Share this question
or