Posts
17
Comments
1843
Trackbacks
18
Databinding using "Sparkle"

How to create a user interface that displays data from an external DataSource using Expression Interactive Designer (“Sparkle“)

  • Create a new Visual C# Library project named PersonsDataSource
  • Remove Class1 and add both Person and Persons class (described in my previous blog)
  • Compile project, you should now have a PersonsDataSource dll.
  • Open Sparkle and create a new Project (File ->New Project) name it as you like.
  • Now let's add a reference to our PersonsDataSource.dll using Project->Add Item to browse to the previously created assembly.
  • You'll now see the dll listed under Project references.
  • Open the Data Palette (View->Data) and select Add new CLR DataSource, browse to PersonsDataSource and select Persons item, you should now see Persons listed inside Data palette.
  • Select Persons item from Data palette and drag it to Document root surface
  • You'll be asked to select how the Persons datasource will be displayed, select ListBox and click Ok.
  • The Create Data Template appears: This dialog allows you to 'shape' the DataTemplate associated to Person object, you can select what items and what controls to map to various Person fields (in this case dialog defaults to TextBlocks) leave defaults and click Ok.
  • You'll should see the listbox filled with Persons items.
  • We now want to add 2 texboxes that will be populated with Listbox selected item.
  • Select Library palette and drag two textboxes on DocumentRoot surface.
  • Select first texbox and, on Properties palette, click on Text field and select DataBind...
  • You'll now see the Create Data Binding dialog, we need to bind to Listbox selected item so click on Element Property and select ListBox.
  • Select SelectedItem among ListBox properties.
  • Listbox contains instances of Person classes so, select Use custom path expression and type “SelectedItem.Name” (without quotes) on related textbox, then click Ok.
  • Do the same with other textbox using “SelectedItem.Age” as custom path expression.
  • Press F5 and you'll see that selecting a listbox item selection will be reflected on both textboxes and that changes on textbox contents will be moved to underlying DataSource.
posted on venerdì 10 febbraio 2006 13.59 Print
Comments
Gravatar
# Light used to remotely trigger biochemical reactions | Mexico Vacations
Pingback/TrackBack
15/12/2012 7.44
  
Light used to remotely trigger biochemical reactions | Mexico Vacations
Gravatar
# Tens of thousands in Taiwan protest president | Britney Spears Fox News
Pingback/TrackBack
14/01/2013 5.09
  
Tens of thousands in Taiwan protest president | Britney Spears Fox News
Gravatar
# re: Databinding using "Sparkle"
toter
23/01/2013 14.01
  
Select Persons 70-483 exam preparation item from Data palette and drag it to Document root surface You'll be asked to select how the Persons datasource will be displayed, select ListBox and click Ok. The Create Data Template appears: This dialog allows you to 'shape' the DataTemplate associated to Person object, you can select what items http://www.passguides.com/70-483.html and what controls to map to various Person fields (in this case dialog defaults to 70-483 TextBlocks) leave defaults and click Ok.


Gravatar
# re: Databinding using "Sparkle"
redchip
18/02/2013 12.54
  
Considering that clients are our most valuable assets, we are putting our best effort in offering them the services of our specialized franchise lawyers. The Franchise lawyers that Redchip has are experienced and well trained to take good care of your business. The franchise lawyer will act in your best interest even if it is just an advice or an entire process.
brisbane lawyers
lawyers brisbane
commercial disputes
commercial litigation
franchise lawyer
property lawyer brisbane
commercial lawyer Brisbane
dispute resolution brisbane
estate planning brisbane
asset protection brisbane
tax lawyer brisbane
business structuring brisbane
commercial disputes brisbane
franchise solicitor brisbane
commercial litigation brisbane
http://www.redchip.com.au
Gravatar
# re: Databinding using "Sparkle"
Vietnam travel guide
14/03/2013 9.47
  
Nice post, i like it.
Gravatar
# web design Brisbane
web design Brisbane
19/03/2013 8.57
  
KND Digital: Our high qualified personnel take care about you and your business when it comes to web development for Brisbane market. We are providing to our clients web development services in order to attract viewers, to help them promoting their products or services. To succeed in offering web development to the customers in Brisbane, we use all our resources and all our skills.
web design Brisbane
Brisbane web design
seo brisbane
ecommerce Brisbane
social marketing Brisbane
web development Brisbane
Magento developer brisbane
content marketing Brisbane
http://www.knd.com.au
Gravatar
# re: Databinding using "Sparkle"
Vietnam tours
12/04/2013 10.47
  
A topic good and useful. I like it.
Gravatar
# re: Databinding using "Sparkle"
Vietnam tour
15/04/2013 10.50
  
I like your post. Thank you!
Gravatar
# re: Databinding using "Sparkle"
Grand vietnam tours
16/04/2013 11.24
  
Thank fo share, i like it.
Gravatar
# re: Databinding using "Sparkle"
power
15/05/2013 7.59
  

Buy brake pads
Brake caliper
Brake drum
Brake parts
Auto part
Brake lining
Disc brake
Brake shoe
Brake shoes
Friction material
Automotive parts
Napa auto parts
Audi parts
Brake fluid
Brake master cylinder
Brake calipers
Brake cylinder
Bmw parts
Brake discs
Brake rotors
Disc brakes
Friction disc
Brake line
Brake disk
Disk brake
Brake booster
Brake parts inc
Gravatar
# re: Databinding using "Sparkle"
Jeremy Scott Adidas
17/05/2013 18.49
  
Should you be on great dimension you can find entire body stockings that can really assist healthy diet your body easily therefore you may not look like a plus dimension at all. Persons may really appreciate how we include clothes as well as undoubtedly they'll prefer to increase a person into their online community. Another possibility is a great deal of and also dimension proper dressesand everyday clothes out there in the market you could easily have a shot at on your own entire body cane easily see the change the idea can make to your life. If choosing and also dimension clothing on your own from the and also dimension stores, a person associated with from the textile suits your epidermis, style suits to your mindset, style that will really feel a person confident and as well dimension that actually complements your body condition as well as dimension.

Related Articles:


Toms Shoes Outlet
Toms Shoe
Toms Shoe Store
Toms Shoe Men
Toms Shoe women

Gravatar
# re: Databinding using "Sparkle"
vietnam travel
21/05/2013 13.07
  
This blog is really great.I got it my way out from over here.I greatly propose his works with the functional informative information.The information here will surely be of some help to me.Thanks a lot.
Gravatar
# re: Databinding using "Sparkle"
Helen
04/06/2013 6.17
  
The very reason why people want to make a handbag interpreter will then evaluate the service, the buyer planner brief explanation of the differences developers back off,Cheap Authentic Louis Vuitton
appear false trusted developer totes are usually Special tokens as engraved lock metal or brand can create or perhaps logo design innovative, but
inside the Mobile Power. each part is not disputed undoubtedly difficult to imitate. Interior pouchesIf do you like most women, you have to walk in style.If you want a light femininity and elegance of luggage and bags, you can not go wrong with a new collection of Diane von Furstenberg. One of the
beautiful design of this collection is a set of four bags are available in royal animal print border. The game designer luggage set you apart from your fellow travelers.Louis Vuitton Philippines
Store
Most of the shops sell bags a year, a game where you can buy designer luggage set fraction of the original cost. It is good to stick with this a lot of sales.
Gravatar
# jordan retro
jordan retro
30/06/2013 13.15
  
Youre so cool! I dont suppose Ive read something like this before. So nice to discover somebody with some original thoughts on this topic. realy thank you for starting this up. this site is some thing which is required on the internet, an individual with a little originality. useful job for bringing something new to the net!
Gravatar
# re: Databinding using "Sparkle"
human hair lace front wigs
10/07/2013 8.53
  
You're a very skilled blogger. I have joined your feed and look forward to seeking more of your wonderful post. Also, I've shared your web site in my social networks!
Gravatar
# re: Databinding using "Sparkle"
clip in human hair extensions
10/07/2013 8.55
  
I was very happy that I discovered this website, thank you for this excellent information!! I have bookmarked your blog to check out the new stuff you post.
Gravatar
# re: Databinding using "Sparkle"
becy
21/07/2013 10.37
  

Let your man imagine you in the most seductive undergarment and make him long for more of you. Starve him of passion just by wearing a sexy lingerie before you come and fall in his arms. This can play a really big part in reinventing your love life again.The power of our dressing sense is really very strong. Buy your lady those elegant women sexy lingerie and make her the most beautiful creation in this world. Now, you can instantly buy a sexy lingerie or a club wear or Sexy Costume for your lady in the right size and color at just a few mouse clicks. Read our blog you will learn more.
Gravatar
# re: Databinding using "Sparkle"
hesdess123
27/07/2013 10.38
  


My Doc gave me Nike Free Run Women christian louboutin pigalle plato pumps a choice of things to try in the ADD stimulant range. Why christian louboutin uk store locator I Nike Free 5.0 picked Concerta again I don't know. I wasn't going to. Once the file is downloaded, you should see it appear on the apps main screen. Simply select the file and choose the logical unit to host it over USB. Needless to say, the Nike Free Run 2 Online Shop next step involves connecting the device to Nike Free Run 2 the PC, rebooting the PC and calling its boot menu (or setting the correct boot priority from within its BIOS)

Gravatar
# Heat Jerseys Wholesale
Heat Jerseys Wholesale
07/08/2013 17.50
  
so So Wonderful argument, how can you make this So Wonderful <a href="...avensjerseyss.tumblr.com">Cheap Ravens Jerseys</a>, I feast [url=http://denverbroncosjerseyus.tumblr.com]Denver Broncos Jerseys[/url].
Gravatar
# re: Databinding using "Sparkle"
power
21/08/2013 4.52
  
kids pedal go kart
adult pedal go kart
pedal go karts for kids
pedal cars for adults
kid electric cars
electric kid cars
adult pedal go karts
electric childs car
child electric car
berg pedal go karts
pedal karts for adults
pedal go karts for adults
pedal go kart parts
pedal go kart for adults
go kart pedal car
children car china
pedal powered go kart
ride on car china
ride on car manufacturer
pink pedal go kart
pedal go kart china
pedal go karts china
china children car
children car supplier
children car manufacturer
china pedal karts
pedal karts china
pedal karts supplier
pedal karts manufacturer
china ride on car
ride on car supplier
china ride on
ride on china
Gravatar
# re: Databinding using "Sparkle"
John Bui
28/08/2013 7.07
  
Great article! Thank for sharing.
Gravatar
# sharepoint server
sharepoint service
02/10/2013 19.24
  
SharePoint Online delivers the powerful features of SharePoint without
the associated overhead of managing the infrastructure on your own. Flexible
management options ensure that you still retain the control you need to meet
the compliance requirements of your organization. You can purchase SharePoint
in the cloud as a standalone offering or as part of an Office 365 suite where
you could also get access to Exchange, Lync, the Office clients and web apps.

Sharepointdeveloper,Sharepointsite,Sharepoint services, Sharepoint Designer , Sharepoint Consulting, Sharepoint Server

<a
href="http://www.youtube.com/watch?v=8CR7fFIOS48" rel="nofollow”>Sharepoint developer

<a
href="http://www.youtube.com/watch?v=8CR7fFIOS48" rel="nofollow”>Sharepoint site

<a
href="http://www.youtube.com/watch?v=8CR7fFIOS48" rel="nofollow”>Sharepoint services

<a
href="http://www.youtube.com/watch?v=8CR7fFIOS48" rel="nofollow”>Sharepoint Designer

<a
href="http://www.youtube.com/watch?v=8CR7fFIOS48" rel="nofollow”>Sharepoint Consulting

<a
href="http://www.youtube.com/watch?v=8CR7fFIOS48" rel="nofollow”>Sharepoint Server
Gravatar
# re: Databinding using "Sparkle"
friv 2
27/10/2013 7.21
  
This is an excellent informational article. I have truly enjoyed reading your views and thoughts on this subject. You have given me things to consider.
pog friv |
kizi
Gravatar
# re: Databinding using "Sparkle"
Jason Stetan
26/11/2013 8.30
  
The prospective Marriage Visa will allows your fiance to remain and live in the USA.
Gravatar
# re: Databinding using "Sparkle"
Sapa Tours
16/12/2013 10.43
  
thanks for sharing, this blog is very helpful.
Gravatar
# Minion Costumes
Minion Costumes
24/12/2013 3.36
  
Kigurumis are Japanese animal onesies for adults, they're really fun as animal PJs and animal costumes, too. Free shipping to worldwide.
minion pajamas
Minion Kigurumi
Minion Costumes
Gravatar
# re: Databinding using "Sparkle"
Agen Bola Online
23/01/2014 7.52
  
Great blog! I really love how it is easy on my eyes and the information are well written.
Gravatar
# re: Databinding using "Sparkle"
Hay Day
11/02/2014 14.08
  
Pretty cool blog!!
Gravatar
# re: Databinding using "Sparkle"
Clash of Clans cheat
11/02/2014 14.10
  
I like the fact that you write about this! thanks!
Gravatar
# re: Databinding using "Sparkle"
Clash of Clans
27/04/2014 11.59
  
Thanks for the information.
Gravatar
# headlines today
headline news
26/05/2014 8.19
  
Pakistan has avoided repeated reference to Kashmir before the visit which was in contrast to former military ruler Pervez Musharraf’s Agra trip of 2001 when he announced that the disputed region will be the central focus of the summit.

Post Comment

Title *
Name *
Email
Url
Comment *  
Please add 6 and 8 and type the answer here:
News

This is my personal blog.
These postings are provided "AS IS" with no warranties, and confer no rights.

Disciple