CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 Using third party user controls

Print topic Send  topic

Author Message
darren166


Posts: 24
Posted: 03/21/2005, 4:25 PM

Does anybody know how to incorporate third party user controls (eg menu controls, graphing controls etc) into codecharge studio .net? I know I can load them dynamically or put them directly into the aspx file but I want to be able to cleanly generate the file after.

Is there a way to put them into the design view of CCS or put them into the aspx without affecting the auto generate?

Thanks in advance to anyone that replies.

Darren
_________________
---
a. w. d. - c o n s u l t i n g

Midnight Oil Consumers.
View profile  Send private message
Tuong Do
Posted: 03/21/2005, 5:53 PM

Hi Darren,

Never modify the aspx file since once you modify it, it never get auto
generated again until you delete the aspx file.

I use DotnetCharting user control
The way I incorporate the DotnetCharting user control is to insert a line to
the HTML file

<% @Register tagprefix="dotnet" namespace="dotnetCharting"
assembly="dotnetCharting" %>

If you put the above line to the top of your HTML file then CCS will append
the above line to the aspx file automatically

Also in your HTML file you can put the following tag to work with the above
Register tag

<div>
<dotnet:chart id="ChartObjID" runat="server" />
</div>

To control how this control behave then in the before show of the page you
do it like this

Dim MyChartObj as dotnetCharting.Chart = FindControl("ChartObjID")

From now on you can call what ever function or method that your control have
eg
MychartObj.visible = false


"darren166" <darren166@forum.codecharge> wrote in message
news:8423f65eb539ec@news.codecharge.com...
> Does anybody know how to incorporate third party user controls (eg menu
> controls, graphing controls etc) into codecharge studio .net? I know I can
> load
> them dynamically or put them directly into the aspx file but I want to be
> able
> to cleanly generate the file after.
>
> Is there a way to put them into the design view of CCS or put them into
> the
> aspx without affecting the auto generate?
>
> Thanks in advance to anyone that replies.
>
> Darren
> _________________
> ---
> a. w. d. - c o n s u l t i n g
>
> Midnight Oil Consumers.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

darren166


Posts: 24
Posted: 03/22/2005, 4:33 AM

Thats great, thanks very much for your help!

Sometimes the obvious just passes you right by! :-)

I have also discovered that you can do this within an includable page too

Thanks again,

Darren.
_________________
---
a. w. d. - c o n s u l t i n g

Midnight Oil Consumers.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.