Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,140,449 members, 7,770,102 topics. Date: Tuesday, 19 March 2024 at 03:33 AM

I Need Help From ASP.NET Gurus Urgently - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / I Need Help From ASP.NET Gurus Urgently (997 Views)

Asp.net Mvc4 Help!! / C# - Capturing File Name From A FileUpload Control In Asp.net / Tutorial: How To Return Html In Json Response Using Asp.net And Jquery (2) (3) (4)

(1) (Reply) (Go Down)

I Need Help From ASP.NET Gurus Urgently by VURN(m): 8:01pm On Dec 26, 2013
Please, I'm working on an ASP.NET website that would require customers comments. It's in the form of thread that a customer can quote another customer and even format texts just as we have here on nairaland.
I am having problem implementing these features. I don't know where to starte from. I have been able to implement discussion threads with listview control but I don't know how to do this formatting of a thing.
Please, assist me in any waym I would appreciate any contribution.
Re: I Need Help From ASP.NET Gurus Urgently by Nobody: 8:37pm On Dec 28, 2013
insert htmltext into the db, decode the htmltext when databinding

string htmltext = "<p>Hello World!</p>";
Label.Text = Server.HtmlDecode( htmltext );
Re: I Need Help From ASP.NET Gurus Urgently by csharpjava(m): 4:26am On Dec 29, 2013
You will need a button for new 'comments' and a 'quote' button which will only appear under an existing comment, using an if -- Else statement to check if there is a comment already in the database, this will require having a column in your database with an initial value of 0 for no comment and set to 1 when a comment has been added.

For text formatting you'll need a plug-In for the text editor unless you want to write your own text editor.

I hope this helps.

1 Like

Re: I Need Help From ASP.NET Gurus Urgently by VURN(m): 8:26pm On Dec 31, 2013
Thanks to u all for ur replies. Though, I've alredy solved the problem. I used ajaxtoolkit editor and yeah, I encoded b4 saving to database and decoded after reading from database. Thanks so much for your care. Another editor I came across in the course of my research is menulab rich textbox. Its very simple to embed, incase anyone is doing similar project.
Re: I Need Help From ASP.NET Gurus Urgently by Chi3: 1:19pm On Jan 01, 2014
Glad you've resolved the issue

1 Like

(1) (Reply)

How To Create A Simple Cost Calculator? / Java Programming Problem / Javascript

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 27
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.