Isolated storage APIs provide a way to store limited amount of data at the client side. Using this functionality, we can save data such as search strings and usernames. In this recipe we will use the isolated storage API so that the user can save the data entered in the registration form on the client's system.
Create an application of the type Silverlight Application in Visual Studio 2012. Name it
ClientSidePersistance
.Open
MainPage.xaml
. Design it so that it looks similar to the following screenshot:Name the controls as detailed in the following table:
Control
Name
Description
Textbox
txtUserName
To enter the username
Textbox
txtFullName
To enter the full name of the user
Textbox
txtEmail
To enter the e-mail address of the user
Button
btnDraft
To save the entered values in the user's system
Button
btnClear
To clear the values
Button
btnLoad
To load and display the saved...