Create A Threaded / Nested Comment System?
Sep 21, 2010
Anyone know how to create a threaded / nested comment system? I would like to learn how to do this for my blog that I am working on. I simply can't find anything useful out there.
View 3 Replies
Similar Messages:
Jan 28, 2014
I want to create a comment system for users to comment on my Photos of Photo Galleries and videos in my Website. How i will create it using ASP.Net,C#,SQL Server?
View 1 Replies
Feb 4, 2010
I'm looking into integrating a Digg-like comment system into a website with an existing user base.I know there are things out there like Disqus and Intense Debate, that are meant for people to add to their blog, but I want (need) something that I can tightly integrate into my site, with out requiring the user to sign on multiple times.
Basically the only things I came across were 3rd party hosted stuff that really doesn't allow for the kind of integration I need.I'd rather not roll my own ajax/moderated/rankable/threaded comment system, but I don't see any good options out there to avoid doing all that work.The site is asp.net, so I'd really like to have something that is meant to integrate with asp.net.
View 1 Replies
Jan 12, 2011
want to develop a comment box and chat for my new project.
would love to use some jquery ajax where-ever possble.
want to store commentbox data nto database and retrieve to display them.
no idea about chat whether it should be file or database.
View 3 Replies
Mar 1, 2011
I'm trying to create a nested gridview, but I'm stuck at the editing/deleting part of the nested gridview. (Below is my code).The nested gridviews are filling out nice, I've set the DeleteParameter in the SQLDataSource, but I'm still getting this error when trying to delete a criteria: 'The Gridview 'gvCriteria' fired event RowDeleting which wasn't handled.'I've tried to create a method 'gvCriteria_RowDeleting', but that didn't seem to work out.Someone who can give me a piece of advice? Would it be possible to fill the gridview without using gvDomain_rowDataBound? Dries
[Code]....
[Code]....
And the C# behind:
[Code]....
View 10 Replies
Feb 8, 2010
I'm having a hell of a time trying to debug things. Basically I want to step through each line of code to see whats happening. But when I try to step to the next line of code, 9 times out of 10 it just finishes all execution instantly without letting me step.
For example if I set a breakpoint in the thread code, that breakpoint gets hit, and I might be able to step to the next line or 2 of code, but after that the next step just jumps to the end of everything as If I had pressed F5 (continue). I assume this is happening because the context gets switched from my current thread to the main thread (or some other thread), and Visual Studio gets confused and just finishes execution, ignoring my breakpoints.
I know about the Threads window, and I have tried many different combinations of freezing and flagging different threads, but nothing accomplishes what I want. I basically want to just keep hitting F10, and step through EVERY LINE OF CODE, regardless of what thread it's in. Im surprised this isnt the default behavior.
View 3 Replies
Jun 9, 2010
I'm just wondering what's the best way to implement a threaded conversation like the Facebook Wall where the comments are displayed under each post, and older comments are collapsed and expandable. My instinct is to use a nested datalist, but I think that might take a toll on performance.
View 2 Replies
Sep 1, 2010
I have a system that generates notifications for various things. A lot of these have the same subject line, but different content.
Is there anyway short of adding some kind of unique token in the subject line of forcing the emails to NOT be in the same thread, i.e. show up individually. Changing headers and/or content would be acceptable, but changing the subject line will scare people. Also, not all of the recipients are Google Apps/@gmail.com accounts so I can't use things like "+hash".
If it matters, the application is written in C# and ASP.Net.
View 1 Replies
Jan 10, 2010
I have a simple website and I use masterPage for designing my template.
everythings work fine, but when I add a Custom (google) Search Box in it my pages correpted.
infact asp does not support Nested Form and as you all know google use a simple form to get queries from the users.
so at first I redesign my site and put 2 Form in it. One server form for my pages content and one other form for google search box. untill here everything work fine .
so I force to add 2 new button beside of my search box and these buttons need a runat=server form, so now I need an approach that let me enable a third form (second runat=server form ) or find an approach to use simple form inside of runat=server form, actually
howcan I put 2 form inside each other or how could we enable a nested form ?
View 2 Replies
Aug 21, 2010
I am currently trying to display multiple items on a single page. I am not sure as to how to tackle this. What I have is a database table that has all the page data in. I have this run as a PagesController and this works fine. However what I would like to do is, if say the Products page is selected via the menu, I want to pull back not only the Products page html but also get all the products, and even be able to pull them through via category. I was trying to use a partial view, but I can't get it to work. The same would be for other pages, having partial views to display the other content, ie if Gallery is selected, the page html for Gallery shows and it then can push to a partial view that pulls all the gallery images from the gallery db table and so on.
Maybe I am tackling this the wrong way. I have the pages stored in the db to allow for a CMS system I have setup. Maybe I need to use models for all the other items(Products, Gallery, Videos and such) and use the partial for the page html?
fixed on my own. couldn't figure out how to pull stuff in from multiple tables into one view.
View 3 Replies
May 25, 2010
I'm try to create a nested listview with the following display:
Category 1
--Board 1
--Board 2
Category 2
--Board 1
--Board 2
--Board 3
Here is my code so far:
[Code]....
The Data is from a SQL Data Source:
[Code]....
However I'm not sure what to set the inner listview's DataSourceID to as I need to display just the boards in that category.
View 3 Replies
Feb 18, 2011
I am using ASP .NET 2.0 C#.
I have a Repeater that I created in my code behind. I want to create a nested repeater inside of that parent repeater. How do I go about doing that?
View 4 Replies
Aug 24, 2010
I have this so far but kind of stuck on how to do it programtically if I'm using header and content templates I have a xmldatasource..In a nutshell at what point in my code do I need to create a new accordion? does it need to be in the item_databound handler?
[Code]....
[Code]....
View 3 Replies
Jan 15, 2010
I have a nested repeater which displays a food menu - e.g.
Sub Heading
- Food 1
- Food 2
- Button 1
Another Heading
- Food 1
- Food 2
- Button 2
etc. etc.
What I have is a series of buttons inside the itemtemplate of the parent repeater (button 1 and button 2) which, when clicked, i need to somehow add a new blank textbox to below food 2 in whichever section it is clicked
I am having trouble doing this. See my code snippet below:
[Code]....
When I run this though, I receive an error of "object reference not set to an instance of object..."
Do I need to actually find a control within the footertemplate itself?
View 3 Replies
Sep 6, 2010
i want to make a comment page but i don't know where to start or how to do this. The member of my page must make a comment about videos, articles etc.
View 3 Replies
Mar 8, 2011
I would like to make a "select" from an Access (mdb) file in SQL Server 2008 R2. I was using:
SELECT * FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0','C:..FILE.mdb', 'SELECT * FROM Users')
But I´m getting the error: Msg 7308, Level 16, State 1, Line 1 OLE DB provider 'Microsoft.ACE.OLEDB.12.0' cannot be used for distributed queries because the provider is configured to run in single-threaded apartment mode.
View 3 Replies
Mar 4, 2011
i'm creating a xml file using System.Xml....so first i've got so far...
XmlDocument xmldoc = new XmlDocument();
XmlNode docNode = xmldoc.CreateXmlDeclaration("1.0", "UTF-8", null);
xmldoc.AppendChild(docNode);
XmlNode Doc = xmldoc.CreateDocumentType("html", "-//W3C//DTD XHTML 1.1//EN", "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd", null);
xmldoc.AppendChild(Doc);
//XmlNode htmlNode = htmlNode.;
XmlNode xmlRoot, xmlNode;
xmlRoot = xmldoc.CreateElement("head");
xmldoc.AppendChild(xmlRoot);
xmlNode = xmldoc.CreateElement("Child");
xmlRoot.AppendChild(xmlNode);
xmlNode.InnerText = "This is the first Child";
[code]...
View 1 Replies
Feb 15, 2010
Im building a CMS (ASP.NET C#) and I am currently looking at how to implement a module system. How is it done with most modularized systems on the web? The most important thing is that I dont want the modules messing with any of the core files. Example of a case:I have an ajax search method that is using a webservice method named Search; how can a module "add" its search results to the result list? If the core search only searches webpages and I want the search to also search products in the e-commerce module, how can it add the product search, and its contents, to the original search method's return list? Is that even possible?
Ive been looking at reflection a little bit, and it seems to be useful with running module code from within the core, is that correct?I have no experience with this kind of stuff, so a push in the right direction,
View 2 Replies
May 25, 2010
My Web App is news application,with each news enabled to insert poll system to evaluate good or bad ...anything.
View 4 Replies
Jan 20, 2010
I am making a blog application and for the sake of my question I have 2 tables: Posts & Comments. I would like to loop through the posts and use a nested loop to display the comments relating to a specific post. Currently, I am using this code:
[Code]....
Obviously this is a simplified version. Is this the most efficient method of displaying this kind of data?
View 3 Replies
Aug 23, 2010
I have been working in a few MVC HTML Helpers. For example:
[Code]....
If account or url are null should I trhow an exception? Or render an empty string? Or render an Html comment in the view?
View 2 Replies
Jan 18, 2010
i'm using some components. When page render, components generate html comment tags. if i'm using this component 10 times on one page, html comments inserted 10 times.
How to remove html comment tag before render page?
View 3 Replies
Dec 15, 2010
Razor's syntax is superclean, but I hate the yellow color of opening and closing tags in Razor comments. It makes a comment look way too distracting and too much like a tag that is actually to *do* something.
What I'd like instead is the opening and starting tag of comments to be green, just like the the comment itself. This is also the way the classic viewengine syntax highlighting works.
View 8 Replies
Jul 4, 2010
Im making a small user control, i was wondering if it was possible to make some sort of comment, that is only visible design time. For example i would like to write in the top of my control that it requires a querystring parameter named userid. This way other developers can quickly see the requirements?
View 2 Replies
Jul 8, 2010
way to write a comment at particular place in HTML from C#? For example, after a particular label? I can write a comment as follows:
protected void Page_Load(object sender, EventArgs e)
{
Response.Write("<!-- " + ... " -->");
}
but this appears before the DOCTYPE. I'd like to write it at a particular place, or at least in the "body".Thinking about it, I guess I could create a comment label at the beginning of the body and write it there:
Label1.Text = "<!-- " + ... " -->";
Is there a way to make sure it is in the body if I do not have a Label already defined for the purpose.
View 1 Replies