Click here to Skip to main content
Click here to Skip to main content

Silverlight - Save Web Page

, 15 Apr 2008 CPOL
Rate this:
Please Sign up or sign in to vote.
Saving the Silverlight based web control to the database

About the Project

The project is about a simple Silverlight based web form and saving it to the database. The form elements are name and surname textboxes and save button. After the textboxes are filled, the save button of Silverlight control should be inserting the record to database. The save button will call a JavaScript function which will save the form information to the database.


XAML code of the control is not too complicated.

xaml.jpg - Click to enlarge image

One pivotal point in the project is calling the JavaScript function from Silverlight click event.


Save function is HTTPRequest based Ajax method.


Don't Forget

Please do not forget to change the connection string of Project.

silverLight3.jpg - Click to enlarge image


  • 15th April, 2008: Initial post


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Yildirim Kocdag
Turkey Turkey
Phd. Yildirim Kocdag is a Computer Engineer.
Programming Languages
Android, Objective-c, c#,,, javascript, TSQL.
Computer Science
DataMining, Compilers, Expert Systems, Digital Image Processing, AI and Extreme Programming.
Follow on   LinkedIn

Comments and Discussions

GeneralSeems cool PinmemberBert delaVega15-Apr-08 9:12 
GeneralRe: Seems cool PinmemberYildirim Kocdag15-Apr-08 21:41 
GeneralRe: Seems cool Pinmemberkheonline17-Feb-09 19:44 
GeneralRe: Seems cool Pinmemberkheonline17-Feb-09 20:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150123.1 | Last Updated 15 Apr 2008
Article Copyright 2008 by Yildirim Kocdag
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid