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

Cangrow and Shapes

3 Answers 200 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tim Barton
Top achievements
Rank 2
Tim Barton asked on 08 Nov 2007, 04:02 PM
Hi,

I have a textbox set to CanGrow with a line shape below it.  When The textbox grows the shape doesn't stay beneath it.  How do I keep the line under the growing textbox?

Thanks,
Tim

3 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 09 Nov 2007, 03:34 PM
Hello Tim Barton,

Could you please send us your report, so we can take a look at it and identify the problem?
Thank you in advnace.

Regards,
Ross
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Tim Barton
Top achievements
Rank 2
answered on 09 Nov 2007, 04:40 PM
Hi Ross,

While I was making an example the problem went away but I found a bug.  Here are the steps to reproduce.

1) Create a report and place a textbox in the details section.
2) set the textbox to cangrow.
3) Place the following text in the value field of the textbox and run the report.

Telerik is a leading vendor of User Interface (UI) components for ASP.NET and Windows Forms, and .NET Reporting solutions. Building on our expertise in interface development and Microsoft technologies, Telerik helps customers build applications with unparalleled richness, responsiveness and interactivity. Created with passion, Telerik products help thousands of developers every day to be more productive and deliver reliable applications under budget and on time.  

You will get the following error from 

Me.textBox1.Value = resources.GetString("textBox1.Value")

Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "ReportSample.resources" was correctly embedded or linked into assembly "App_Code._wy689ji" at compile time, or that all the satellite assemblies required are loadable and fully signed. 

I checked the resource and the entry was there.

Tim
0
Rossen Hristov
Telerik team
answered on 12 Nov 2007, 09:50 AM
Hi Tim Barton,

When you have a WebSite project, each time you compile it, Visual Studio will generate an assembly with a name such as "App_Code._wy689ji" for every code file that you have in the App_Code folder. Since each time the name will be different, you will not be able to read the resources in the way that you described.

To overcome this limitation of the WebSite project, you can move all of your reports to a separate Class Library project and add a reference to it in your WebSite project. That will solve the problem with the resources and will result in a better solution organization. For more information on the best practices for organizing your projects, please refer to the following help topic.

I hope this information helps. Thank you.

Sincerely yours,
Ross
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Tim Barton
Top achievements
Rank 2
Answers by
Rossen Hristov
Telerik team
Tim Barton
Top achievements
Rank 2
Share this question
or