ansoesil’s blog

“Learning is experience. Everything else is just information.” – Albert Einstein

Intersoft WebUI Studio 2009 R1 for Silverlight Beta is available!

with 4 comments

Hi all, the long awaited beta version for WebUI Studio 2009 R1 for Silverlight is up. This package includes the latest version of Intersoft Presenter for Silverlight, Intersoft WebAqua for Silverlight  and Intersoft DataSource for Silverlight.

If you haven’t read the previous blog about the Intersoft Presenter and Intersoft Data Source, I suggest you do read it first, because it might help understanding the Intersoft Presenter’s concept better.

We also have the Live Demo up and running which you can explore at http://sirius2.intersoftpt.com/presenter.

Intersoft WebAqua

Intersoft WebCoverFlow as member of WebAqua family has been enhanced to natively support Intersoft Presenter’s concept and architecture so that it benefiting from the fundamental concepts of Intersoft Presenter such as:

  • Data Bound Capability
  • Extensibility through IDataPresenter
  • Centralized Data Distribution
  • Data Drilling Capability

Data Bound Capability allow Intersoft WebCoverFlow to be bind to Intersoft Data Source control declaratively. Which mean binding data source to WebCoverFlow is lots easier now, and you can connect to XML document, or WCF Data Service or ADO.NET Data Service (a.k.a Astoria Data Service)

coverflow-databinding

Extensibility through IDataPresenter allow Intersoft WebCoverFlow to be attached to Data Presenter Manager and can benefiting from the Centralized Data Distribution that perform by Data Presenter Manager, where you will see the same data through out the entire presentation (for example if the data is filtered and sorted)

coverflow-integrated

Data Drilling capability allow Intersoft WebCoverFlow perform two Data Drilling concept that Intersoft Presenter introduced. Synchronized Data Drilling and Hybrid Data Drilling

coverflow-sync-datadrilling

Synchronized Data Drilling in WebCoverFlow

coverflow-hybrid-datadrilling

Hybrid Data Drilling using WebCoverFlow

Intersoft Presenter™

In-line editing

Added in-line editing capability to Intersoft Presenter™ where you can perform CUD operation declaratively thanks to Intersoft Data Source™.

Follows are several options that you can play around with Intersoft Presenter™ in-line editing capability.

  • AllowAdd / AllowEdit / AllowDelete
    You can turn on / off the CUD capability from the above properties, and you can do it anytime by changing the value of the property.
  • Editing Mode
    You can modify how to enter the editing mode behavior for each presenter using EditingMode property. The default behavior is second click, which mean you need to select the item first (1st click) and then perform another click (2nd click) to enter the editing mode. The other behavior is single click which mean when-ever you select the item it will directly go to editing mode.
    Note: in Icon Presenter and List Presenter you need to click the text to enter the editing mode.
  • Lost Focus Action
    You can also modify the lost focus behavior from LostFocusAction property. By default if you accidentally lost focus from the current editing mode, it will reset the data back to its original state. You can change it to AlwaysUpdate so that when ever you accidentally lost focus it will perform data updating.
  • Exclusive Lock
    When in editing mode, the presenter will have exclusive lock to all UI interaction that might interupts the editing process. If the user accidentallyclick UI that might perform action that interupt the editing process, a warning indicator will be displayed (e.g. user click Refresh Button).
    presenter-exclusivelock
  • Input Validation
    You can perform your own validation before the data is committed to server using Input_Validation event handler.

    presenter-inputvalidation1

    Custom Validation

    presenter-inputvalidation2

    When entering the wrong input

  • Capture Error thrown by Data Service
    If there’s error when performing CUD operation, the error message from Data Service will be displayed in an error box.
    presenter-errorhandling
  • In Grid Presenter, you can enter edit on key stroke by changing the property EnableEditOnKeyStroke to true.
  • In Grid Presenter, you can change the “Enter” key behavior to Go to next Editable cell, or Exit Edit, or Update.
  • In Grid Presenter, you can determine which column can be edited and which column isn’t from
    <ISNet_Silverlight_Presenter:DataPresenterTextColumn Editable=”False” />

Keyboard Navigation

Added keyboard navigation feature to all presenter including WebCoverFlow. This feature is also incoporated with the Virtual Scroll mechanism, and Data Grouping mechanism.
Context Menu

Context Menu will be available if Enable Context Menu property is set to True, and the action that available in context menu is available.

presenter-contextmenu1

presenter-contextmenu2

Scroll to Last Selected Item

This feature can be enabled by changing the Property ScrollToLastSelectedItem to True in any Presenter. When this feature is enabled, anytime you perform sorting, paging, filtering, or any data operation that might put your selected item at invisible position that scrollable, it will scroll to that position.

This feature if you want to see the last selected item regardless the action that might hid it somewhere in the scroll position.

Customize Style

You can customize the style of all elements in Intersoft Presenter(tm) using Microsoft Expression Blend.

presenter-style-icon

presenter-style-list

presenter-style-grid

presenter-blend

That’s all for now, if you find some possible bugs, or you feel that there are scenario that you need which is not covered yet, feel free to drop it in this blog.

Regards

Andry


Written by ansoesil

April 29, 2009 at 10:06 am

4 Responses

Subscribe to comments with RSS.

  1. Hi Andry;
    Long time no talk ;-)

    Are you going to support RIA services as another source of data to your data presenter engine? Will your CoverFlow work With SL3 and Ria DataSource beside your own own DataSource (Astoria, WCF & XML)?

    Seconly, when do you anticipate the SL3 version be out?

    Thanks!
    ..Ben

    Ben Hayat

    May 27, 2009 at 10:03 am

    • Hi Ben :)

      For WebUI Studio 2009 for Silverlight we will only have data source, data presenter, and updated web aqua.
      Currently all these components only work on SL2 since we’re still waiting for SL3 at least reaching RC state.

      When the SL3 release its RC version we will start working on the upgrading, so hopefully we can have it ready when SL 3 ready :)

      Hmm I still have no idea when SL3 will be out, but my bet is around August – September – October, the same time last year they announced SL2

      ansoesil

      May 27, 2009 at 4:25 pm

  2. Hi Andry,

    I was looking to report an issue with the new intersoftpt data source controls for Astoria ,
    if this was expected of the demo ( throw an error ) , then I apologize for wasting your time.
    I looked around the Intersoftpt site and couldnt find any email alias to send this report to .
    I found the developer network , but I believe I have to register for that .

    Anyway , here goes :

    I was looking at the demos at http://sirius2.intersoftpt.com/presenter/

    The Data Editing using Astoria Data Source demo seems to be broken as the underlying Database is read-only.
    To reproduce this :
    1) Click on the “Data Editing using Astoria Data Service” link in the left-hand pane.
    2) select “Maria Anders” , Change this to “Maria Ander” and tab out or click somewhere else in the control.
    3) When the Silverlight control tries to update the data for this entity , I get this error :


    An error occurred while processing this request.

    An error occurred while updating the entries. See the InnerException for details.
    System.Data.UpdateException
    at System.Data.Mapping.Update.Internal.UpdateTranslator.Update(IEntityStateManager stateManager, IEntityAdapter adapter)&#xD;
    at System.Data.EntityClient.EntityAdapter.Update(IEntityStateManager entityCache)&#xD;
    at System.Data.Objects.ObjectContext.SaveChanges(Boolean acceptChangesDuringSave)&#xD;
    at System.Data.Objects.ObjectContext.SaveChanges()&#xD;
    at System.Data.Services.Providers.ObjectContextServiceProvider.SaveChanges()&#xD;
    at System.Data.Services.DataService`1.HandleNonBatchRequest(RequestDescription description)&#xD;
    at System.Data.Services.DataService`1.HandleRequest()

    Failed to update database “M:\WEB2007\INTERSOFTPT\PRESENTERCTP\APP_DATA\NORTHWIND.MDF” because the database is read-only.
    System.Data.SqlClient.SqlException

    I would suggest that you turn off config.UseVerboseErrors when the data service is deployed to production.

    -Phani

    Phani Raj

    June 12, 2009 at 10:30 am

  3. Hi Phani Raj,

    Thanks for your report, we will fix it right away :)

    ansoesil

    June 12, 2009 at 10:58 am


Leave a Reply