Jump to content
  • Advertisement
Sign in to follow this  
softengg

common functionality in wpf and aspx page

This topic is 2398 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

Hi,

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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!