Re: Smart Clients: How is this done?
- From: "Lloyd Dupont" <net.galador@ld>
- Date: Mon, 11 Jul 2005 09:31:21 +1000
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...?
>>
>>
>>
.
- References:
- Smart Clients: How is this done?
- From: Chris Fink
- Re: Smart Clients: How is this done?
- From: Lloyd Dupont
- Re: Smart Clients: How is this done?
- From: Chris Fink
- Smart Clients: How is this done?
- Prev by Date: Re: GetNestedType
- Next by Date: Graphics.DrawPath(Pen pen, GraphicsPath path) problem (arithmetic / overflow exception)... (in 2.0)
- Previous by thread: Re: Smart Clients: How is this done?
- Next by thread: Object creation time - weird behavior
- Index(es):
Relevant Pages
|