5,447,640 members and growing! (20,428 online)
Email Password   helpLost your password?
Web Development » Silverlight » General License: The Code Project Open License (CPOL)

Silverlight - Save Web Page

By Yildirim Kocdag

Saving the silverlight based web control to the database.
ASP.NET, Visual Studio (VS2008, Visual Studio), XAML

Posted: 15 Apr 2008
Updated: 15 Apr 2008
Views: 3,393
Bookmarked: 4 times
Announcements
Want a new Job?



Search    
Advanced Search
Sitemap
6 votes for this Article.
Popularity: 2.33 Rating: 3.00 out of 5
3 votes, 50.0%
1
1 vote, 16.7%
2
0 votes, 0.0%
3
0 votes, 0.0%
4
2 votes, 33.3%
5
Note: This is an unedited contribution. If this article is inappropriate, needs attention or copies someone else's work without reference then please Report This Article

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 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.

Code

XAML code of the control is not too complicated.


xaml.jpg

One pivotal point in the project is calling the javascript function from silverlight click event.


PageXAMLVB.jpg

Save function is HTTPRequest based Ajax Method.


SaveFunction.jpg

Don't Forget

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

silverLight3.jpg

License

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

About the Author

Yildirim Kocdag


Yildirim Kocdag is a MSc.BSc.Computer Engineer from Istanbul. He is working as a .NET consultant. Currently using c#, vb.net, asp.net, javascript, SQL and Oracle. His Favourite areas in Computer Science are Compilers, Expert Systems, Digital Image Processing, AI and Extreme Programming.
ykocdag@yahoo.com

Occupation: Web Developer
Location: Turkey Turkey

Other popular Silverlight articles:

Article Top
Sign Up to vote for this article
You must Sign In to use this message board.
FAQ FAQ Noise ToleranceSearch Search Messages 
 Layout  Per page   
 Msgs 1 to 2 of 2 (Total in Forum: 2) (Refresh)FirstPrevNext
Subject  Author Date 
GeneralSeems coolmemberBert delaVega9:12 15 Apr '08  
GeneralRe: Seems coolmemberYildirim Kocdag21:41 15 Apr '08  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 15 Apr 2008
Editor:
Copyright 2008 by Yildirim Kocdag
Everything else Copyright © CodeProject, 1999-2008
Web10 | Advertise on the Code Project