Jump to content
Software FX Community

UseClientLoader


User (Legacy)

Recommended Posts

We have UseClientLoader set to false.

We would like to increase speed and set to True, but we notice that we can

not handle click events when we do that.

Is that a bug, or designed this way.

My understanding of UseClientLoader is to minimize the download to the

client. Is there a way to force the client to never download the control to

the client?

Chris Exley

"Software FX" <noreply@softwarefx.com> wrote in message

news:ius%23R5IFHHA.816@webserver3.softwarefx.com...

> UseClientLoader = True

>

> Will set it up to use the Client Loader which will reduce the time it

> takes to load a page containing the .NET Control.

>

> --

> Francisco Padron

> www.chartfx.com

>

Link to comment
Share on other sites

Unfortunately, events can only be received from top-level controls in IE, so 

you won´t be able to receive events from the client control when using the

Client Loader.

> Is there a way to force the client to never download the control to the

> client?

No. IE needs to download the control every time in order to check the

version as there is no version information in the <OBJECT> tag itself, like

there is for non-.NET ActiveX controls. The Client Loader is the only

solution we know.

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

Sorry, I should have expanded further.  After the client hits the control 

the first time, performance is acceptable. Unfortunately, this is done on a

per session basis. Is there a way to force download on first time ever, and

be able to expire a control.

This would mean that the client gets the control the first time they ever

hit a chart, and won´t need to again unless we update the server?

Thanks

"Software FX" <noreply@softwarefx.com> wrote in message

news:UHKheuLFHHA.2148@webserver3.softwarefx.com...

> Unfortunately, events can only be received from top-level controls in IE,

> so you won´t be able to receive events from the client control when using

> the Client Loader.

>

>> Is there a way to force the client to never download the control to the

>> client?

>

> No. IE needs to download the control every time in order to check the

> version as there is no version information in the <OBJECT> tag itself,

> like there is for non-.NET ActiveX controls. The Client Loader is the only

> solution we know.

>

> --

> Francisco Padron

> www.chartfx.com

>

Link to comment
Share on other sites

  • 3 weeks later...

I have set the UseClientLoader = TRUE and we are rendering the chart with 

"Auto", but the chart still takes over 15 seconds to display when .NET 2.0

Framework is loaded onto the PC.

The SQL query is completed with 0.5 seconds and the website that we are

testing is on our LAN, the site is a secure site.

Why is it taking so long??

"Software FX" <noreply@softwarefx.com> wrote in message

news:2omrGtMFHHA.1948@webserver3.softwarefx.com...

> This is exactly the case I meant to explain.

>

> Every time explorer starts it will download the control again. No way

> around that (that we know of). Client Loader also gets downloaded once

> every session, the difference is that Client Loader is very very small.

>

> --

> Francisco Padron

> www.chartfx.com

>

Link to comment
Share on other sites

Also

<From The Help Files>

If this works for you, there is a registry setting that will generate all

your charts using this approach.

Registry key: HKLM\Software\Software FX, Inc.\ChartFX for .NET\7.0\Server

Name: UseClientLoader

Value: 1 (DWORD value)

This setting is not present for me.

"Sean" <sean.brown@exago.net> wrote in message

news:HB1wAwjIHHA.244@webserver3.softwarefx.com...

>I have set the UseClientLoader = TRUE and we are rendering the chart with

>"Auto", but the chart still takes over 15 seconds to display when .NET 2.0

>Framework is loaded onto the PC.

>

> The SQL query is completed with 0.5 seconds and the website that we are

> testing is on our LAN, the site is a secure site.

>

> Why is it taking so long??

>

>

> "Software FX" <noreply@softwarefx.com> wrote in message

> news:2omrGtMFHHA.1948@webserver3.softwarefx.com...

>> This is exactly the case I meant to explain.

>>

>> Every time explorer starts it will download the control again. No way

>> around that (that we know of). Client Loader also gets downloaded once

>> every session, the difference is that Client Loader is very very small.

>>

>> --

>> Francisco Padron

>> www.chartfx.com

>>

>

>

Link to comment
Share on other sites

PS: It is easy to know whether ClientLoader is being used or not, check the 

<OBJECT> tag in your source. If ClientLoader is true you will see a

reference to ClientLoader.dll there otherwise you will see a reference to

the NETIEClient dll.

If the client loader is being referenced, then I suppose 15 secs is what its

taking your system to load the framework and download the Client Loader dll.

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

Object Tag Below.

<chartfx7:Chart ID="Chart1" runat="server" Height="417px"

RenderFormat="Auto" Width="946px" UseClientLoader="True">

There is no reference to ClientLoader.DLL at all.

"Software FX" <noreply@softwarefx.com> wrote in message

news:662Xh2kIHHA.244@webserver3.softwarefx.com...

> PS: It is easy to know whether ClientLoader is being used or not, check

> the <OBJECT> tag in your source. If ClientLoader is true you will see a

> reference to ClientLoader.dll there otherwise you will see a reference to

> the NETIEClient dll.

>

> If the client loader is being referenced, then I suppose 15 secs is what

> its taking your system to load the framework and download the Client

> Loader dll.

>

> --

> Francisco Padron

> www.chartfx.com

>

>

>

Link to comment
Share on other sites

This is the js file

"Software FX" <noreply@softwarefx.com> wrote in message

news:lotBlluIHHA.252@webserver3.softwarefx.com...

> Sorry about that, there is one indirection in order to overcome the EOLAS

> problem.

>

> Look in <your application>/chartfx70/temp/CFT1219_07590523131.js

>

> If the file is not there, run it again and look in the source for

> /chartfx70/temp/, look at the file name and open it.

>

>

>

> --

> Francisco Padron

> www.chartfx.com

>

>

Link to comment
Share on other sites

I don´t understand, earlier you said there should be a reference to 

clientloader.dll.

And l don´t see any speed difference with useclientloader set to true or

false

"Software FX" <noreply@softwarefx.com> wrote in message

news:JwNSLM4IHHA.244@webserver3.softwarefx.com...

> The Client Loader is being used. The delay you are seeing is normal for

> your computer, this is what it takes to load the .NET Framework.

>

> --

> Francisco Padron

> www.chartfx.com

>

Link to comment
Share on other sites

Here is the source from a sample graph with useclientloader=true

There is no .js file created as well.

"Software FX" <noreply@softwarefx.com> wrote in message

news:JwNSLM4IHHA.244@webserver3.softwarefx.com...

> The Client Loader is being used. The delay you are seeing is normal for

> your

> computer, this is what it takes to load the .NET Framework.

>

> --

> Francisco Padron

> www.chartfx.com

>

>

Link to comment
Share on other sites

Is there anything else we can try speed up the initial loading of the chart?

"Software FX" <noreply@softwarefx.com> wrote in message

news:JwNSLM4IHHA.244@webserver3.softwarefx.com...

> The Client Loader is being used. The delay you are seeing is normal for

> your computer, this is what it takes to load the .NET Framework.

>

> --

> Francisco Padron

> www.chartfx.com

>

Link to comment
Share on other sites

Look inside the .js file, you will see the reference to ClientLoader:

classid="/Exago.Graphing.UI/chartfx70/download/ChartFX.NetIEClient.Loader.dll#ChartFX.NetIEClient.Loader"

So it is being used. So I don not thing there is anything you can do to

speedup the loading of the chart. Loading the .NET framework in a previous

page should help but then this page will load slower.

I don't think this is related specifically to Chart FX but rather is a

general delay of ANY .NET Control, you can verify this by creating a

super/simple Windows Form control and referencing it from your page.

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

Not sure l understand, our graphing page is not the first page loaded, there 

are atleast 2 pages loaded first, both with .NET controls on them.

In the Task Manager can l see the framework being loaded?

"Software FX" <noreply@softwarefx.com> wrote in message

news:Tr%2313mjJHHA.252@webserver3.softwarefx.com...

> Look inside the .js file, you will see the reference to ClientLoader:

>

> classid="/Exago.Graphing.UI/chartfx70/download/ChartFX.NetIEClient.Loader.dll#ChartFX.NetIEClient.Loader"

>

> So it is being used. So I don not thing there is anything you can do to

> speedup the loading of the chart. Loading the .NET framework in a previous

> page should help but then this page will load slower.

>

> I don´t think this is related specifically to Chart FX but rather is a

> general delay of ANY .NET Control, you can verify this by creating a

> super/simple Windows Form control and referencing it from your page.

>

> --

> Francisco Padron

> www.chartfx.com

>

Link to comment
Share on other sites

With WinForm controls on them ? Notice that Server-Side WebForm controls 

don't count, those work in the server and require no .NET Framework in the

client.

If you have another WinForm control that loads faster than Chart FX, please

provide an ASPX page or HTML page that uses it along with the control itself

so that we can compare it here.

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

Sorry Francisco,

There are no winform controls on those pages. I will create a quick test and

see if that makes any difference.

Thanks for the help.

"Software FX" <noreply@softwarefx.com> wrote in message

news:1aMAVhcKHHA.252@webserver3.softwarefx.com...

> With WinForm controls on them ? Notice that Server-Side WebForm controls

> don´t count, those work in the server and require no .NET Framework in the

> client.

>

> If you have another WinForm control that loads faster than Chart FX,

> please provide an ASPX page or HTML page that uses it along with the

> control itself so that we can compare it here.

>

> --

> Francisco Padron

> www.chartfx.com

>

Link to comment
Share on other sites

  • 2 weeks later...

I created a test application that loads the smallest possible chart with all 

properties set to false and it takes 30 seconds to load.

Is this delay my PC loading the framework?

My PC is Dell D610 with 1.7 Pentium M processor with 1.5GB. Is there anyway

of speeding up the framework?

"Software FX" <noreply@softwarefx.com> wrote in message

news:1aMAVhcKHHA.252@webserver3.softwarefx.com...

> With WinForm controls on them ? Notice that Server-Side WebForm controls

> don´t count, those work in the server and require no .NET Framework in the

> client.

>

> If you have another WinForm control that loads faster than Chart FX,

> please provide an ASPX page or HTML page that uses it along with the

> control itself so that we can compare it here.

>

> --

> Francisco Padron

> www.chartfx.com

>

Attachments.zip

Link to comment
Share on other sites

I'm afraid that will fall out of my expertise, I would think that if that's 

what you get with the smallest of controls, there is no way to improve that

speed but since I didn't write IE or the .NET Framework I can not be certain

that there isn't any obscure way to speed-up this process.

However 30 secs. is a LOT, I have never experienced these kind of times in

any PC, so maybe there is something in your IE configuration or somewhere

that's causing this delay. Have you tried in multiple computers ?

I think you may want to post in Microsoft's .NET forums, maybe somebody ran

into this problem before.

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...