Re: Smart Clients: How is this done?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Chris!

I did a bit more carefull reading today.

Well the question ytou ask here I'm not sure, I haveb't played much with
that and it was a while ago...
But! if I trust "Smart Client Dampening Demo" source I would say you could
use something as:
<param name="LoadingDataImage" value="LoadingData.png">

for public property. giving it an Url parameter or such thing.

Also looking at the HTML code for "Image Based Real-Time Binary Streaming",
I realized that, in fact, they display only a picture which is updated every
second (in JavaScrip) from the server (I guess a server generated pic!)

good luck!

"Chris Fink" <ChrisFink@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:86622CBB-3B1D-4B00-B33F-CC01F0362908@xxxxxxxxxxxxxxxx
> If I write a custom control using the .net drawing classes, for example a
> gauge with a needle, how do I update it from the web page? This control
> will expose a public property, needleposition, which when updated will
> refresh the control and reposition the needle.
>
> The part I am confused is how do I set this property from within the
> <object> tag on the webpage. At looking at the example below, I did not
> notice any javascript or a metarefresh tag to update the web page, so what
> I
> am trying to figure out is a design to update the control while keeping
> the
> web page from refreshing.
>
> "Lloyd Dupont" wrote:
>
>> interesting link, thanks!
>>
>> now I don't understand your problem. what do you want to install?
>>
>> let's take an example you might understand.
>> when you see an applet do you need to instal anything?
>> same here!
>> if you look at the HTML source you could spot this line:
>>
>> <object id="GaugeContainer1" style="Z-INDEX: 101; LEFT: 40px; POSITION:
>> absolute; TOP: 75px; BACKGROUND-POSITION: center center;
>> BACKGROUND-REPEAT:
>> no-repeat; BACKGROUND-IMAGE: url(LoadingControl.png)"
>> classid="http:DundasWinGauge.dll#Dundas.Gauges.WinControl.GaugeContainer"
>> height="121" width="530">
>>
>> look at 'classid'
>> http:DundasWinGauge.dll#Dundas.Gauges.WinControl.GaugeContainer
>>
>> that means in the crurrent directory, (http) download DundasWinGauge.dll
>> and
>> run the control Dundas.Gauges.WinControl.GaugeContainer
>>
>> that's it!
>>
>> "Chris Fink" <ChrisFink@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:5B0A9698-D4C8-4BFE-BB96-FA695CBCFC82@xxxxxxxxxxxxxxxx
>> > In the following example, click the "Real-Time Binary Streaming Using
>> > Flash,
>> > SmartClient or Image" link
>> >
>> > http://www.dundas.com/products/gauge/demos/index.aspx?Section=GaugeDemos&Body=Demos.aspx
>> >
>> > They claim the middle one to be a smart client....But I don't see how
>> > this
>> > is a smart client when nothing is placed on the client machine that
>> > invokes
>> > this? I am more concerned about how they accomplished this? How did
>> > they
>> > build the graphics and display it on a web page (I am assuming a
>> > windows
>> > form).....and how do they pass realtime data to update the controls...?
>>
>>
>>


.



Relevant Pages

  • Re: Smart Clients: How is this done?
    ... This control ... refresh the control and reposition the needle. ... what do you want to install? ... >> is a smart client when nothing is placed on the client machine that ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Smart Clients: How is this done?
    ... Here is the control placed on a web page ... how do I dynamically update the Deflection value (needle position) ... without refreshing the web page? ... >>> is a smart client when nothing is placed on the client machine that ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Custom Web Control not showing up in Toolbox
    ... This is my first time trying to creaet and use a custome Web Control in a Web Site project in ASP.NET 2.0 with VS 2005 and VB. ... Public Property ExportType() As AppType ... Dim FileExtension As String = ".xls" ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Custom Web Control not showing up in Toolbox
    ... control in a separate Web Control Library project. ... Public Property ExportType() As AppType ... Dim FileExtension As String = ".xls" ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Custom Web Control not showing up in Toolbox
    ... control in a separate Web Control Library project. ... Public Property ExportType() As AppType ... Dim FileExtension As String = ".xls" ...
    (microsoft.public.dotnet.framework.aspnet)