Results 1 to 2 of 2

Thread: Update Table

  1. #1
    Join Date
    Mar 2007

    Update Table


    We need to update the display not only when Silverlight client receives update from Lightstreamer, but also from other data source like database. For example, the Silverlight application makes a call to database and needs to add some rows or modify some columns on the display table like the stock on your demo. How can we implement that?
    Also what's the best practice for Silverlight client to handle the connection exception to LS after connected?


  2. #2
    Join Date
    Jul 2006
    Hi Eric, do you mean that values from other sources that have to be requested directly (that is, not through Lightstreamer) should mix seamlessly with data coming from Lightstreamer?
    I'm afraid there is no facility for this task, as Lightstreamer library for Silverlight only provides update notifications and does not cover the visual level;
    moreover, its internal "model" level only depends on the subscriptions and cannot be altered in a different way.
    Hence, you should implement your own data model, which gets contributions from both sources.

    On the other hand, does your external data source play at the "control" level, by affecting the current subscriptions?
    Subscriptions for single items can be added and removed at any time, provided that the SubscribeItems method rather than SubscribeTable is used for subscriptions.
    If only columns have to be added to a current subscription, then doing an unsubscription and a new resubscription cannot be avoided.

    May you please clarify about the connection exception question?
    Do you mean a PushConnException upon a call of OpenConnection
    or an OnFailure notification to the listener on an established connection?



Similar Threads

  1. update items with the same value
    By TehHector in forum Client SDKs
    Replies: 2
    Last Post: April 26th, 2011, 10:46 AM
  2. Update Table Problem
    By zun in forum Adapter SDKs
    Replies: 3
    Last Post: December 9th, 2009, 05:43 PM
  3. Same data, more update stategyes
    By cbrogliato in forum Client SDKs
    Replies: 4
    Last Post: April 2nd, 2009, 10:15 AM
  4. Dojo 0.9 Update
    By rakeshxp in forum Client SDKs
    Replies: 1
    Last Post: August 27th, 2007, 12:42 PM
  5. order by update
    By jamesclinton in forum Client SDKs
    Replies: 1
    Last Post: March 12th, 2007, 05:54 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT +1. The time now is 01:58 PM.