Sign in to follow this  

common functionality in wpf and aspx page

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

This topic is 2098 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this