Advertisement Jump to content
Sign in to follow this  

common functionality in wpf and aspx page

This topic is 2469 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts


I have a doubt. I have a letter editor with formatting functionalities
like bold, italic, font selection, insert images, etc in my wpf
c# application. So i created this letter editor using
wpf richtextbox with toolbar. I have used commands for bold, italics, etc for the selected texts in the RTB.

And after editing the RTB contents, using memory stream
i am saving the RTB content to DB (field type is nvarchar(MAX)).

And i can retrieve the rtb content from DB and display the content. This is OK. Everything is written in xaml and xaml.cs

Is there any way that the same functionality can be used in aspx web application also ?
That means, a common code for wpf and aspx (both in C#). That is, if i create and
save a letter (with formating and images in it) from wpf appliaction to database, the same data (RTB content)
can be viewed and edited in the aspx page in the form of RTB editor window like in wpf ???
In brief, a common letter editor for web and wpf app ??

thanks in advance

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!