Click here to Skip to main content
6,629,377 members and growing! (21,450 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), XAML
Posted:15 Apr 2008
Views:10,791
Bookmarked:10 times
Unedited contribution
Announcements
Loading...
 
Search    
Advanced Search
Add to IE Search
printPrint   add Share
      Discuss Discuss   Broken Article?Report  
6 votes for this article.
Popularity: 2.33 Rating: 3.00 out of 5
3 votes, 50.0%
1
1 vote, 16.7%
2

3

4
2 votes, 33.3%
5

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


Member
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
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 4 of 4 (Total in Forum: 4) (Refresh)FirstPrevNext
GeneralSeems cool PinmemberBert delaVega9:12 15 Apr '08  
GeneralRe: Seems cool PinmemberYildirim Kocdag21:41 15 Apr '08  
GeneralRe: Seems cool Pinmemberkheonline19:44 17 Feb '09  
GeneralRe: Seems cool Pinmemberkheonline20:53 17 Feb '09  

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-2009
Web18 | Advertise on the Code Project