Making A Comment Page?

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


Similar Messages:

AJAX :: Implement A Comment Box, Such That The Page Doesnot Reload?

May 26, 2010

i thought of a textbox and a submit button,when submit button clicked comment extracted from textbox and saved into the database using sql.and displayed in literal.but all this is server sided,please help by providing example script for the following,please note i googled and googled but cannot find a satisfy easy and efficient answerOnMouseClickextract text from textbox saving it to a variable send the variable value to server instructing it to save the value in a db in a particular field of a particular table.simple words,facebooks comment box and the status updates box how are they implemented,thousands and thousands of them use it, still it doesnot get slow no postbacks observed to page reloading etc.

View 4 Replies

Architecture :: Creating A Comments Page For Users To Review And Comment On An Article?

Dec 12, 2010

I am trying to create a comments page for users to review and comment on an article. I have 2 buttons on each comments posted by users; "Like" and "Don't Like". I am stuck with how to track which user voted already for a given comment. I am thinking of two options and would like to know if they are they way to go or is there a better solution.

Option 1: I have created a table in my database with stores, the comment id, the userid of the user who rated it and the value "like" or "don't like". So each time I have to query my table to find out if this user indeed vote for a given comment. The table unfortunately grows exponentially!!

Option 2: I store the commentid, userid, and "like" or "don't like" value in a cookie on the client's machine. I read the cookie and find out if the user has already voted on a comment. This is proving to be VERY quirky with cookie expiration, growing cookie size and also multiple users on the same machine.

In either way, my test case of ~1500 users, and 2 Million comments, this is getting to be HEAVY on both methods. Is there anything better?

View 3 Replies

Configuration :: Making The Home Page As Default Page When Typing The Name Of The Server In The URL?

Sep 6, 2010

I have a Asp.Net application eg its name is ABC and I have a server eg whose name is XYZ, where the application is hosted from. The default page for the application is Home.aspx.Now the requirement is I want Home.aspx to open automatically when the server name is typed in the URL. Currently for accessing the Home page I writehttp://XYX/ABC/Home.aspx but I want Home.aspx to open if I writettp://XYZCan anyone suggest how I can achieve this. I have one solution that is making a HTML page as default in IIS and then redirecting it to the respective link.

View 5 Replies

Making Multiple C# File For One Page

Apr 20, 2010

For my project(in asp.net) i wrote near 1000 lines of c# code for one asp.net page.It includes so many functions.The problem is,it is going complicated while i am writing more codes on one page.How can i make multiple c# files for one asp.net page?? I tried by adding new class in VS2008.But calling a function from one file to other is making error(item is not present in current file).How can i do that??

View 6 Replies

C# - Making A Web Application As Default Page For All The Pc's In Network?

Jun 30, 2010

i m making an web application dat keeps a track of the computers on a network..i.e..who is using wich pc for internet...in dis..for ny person who wants to use internet has to first login into my apllication den he/she can use internet..so i want dat..my should run every time ny browser is opend..so he/she has to first login..and he can't use internet without logging in..and wen its logged in..den the browser is opened with its home page.

View 2 Replies

Making A Call To A Page That Returns JSON Using AJAX

Feb 9, 2010

I have a Page that expects a POST Request and returns some JSON. Essentially it's an .ashx Page, but that doesn't really matter.

When using jQuery, I would use jQuery.Post with "json" as dataType to simply make the POST request and get an object back. However, for the current project I mainly use ASP.net AJAX and I don't want to add jQuery just for the call.

For ASP.net AJAX, I only found information on how to call a "traditional" web service though, which means adding a asp:ServiceReference to the ScriptManager and having a "real" Web Service at the end.

Is there a simpler way to make a POST call to a Page? I could live with getting the raw JSON and then manually eval()ing it, but I don't want to create a full asmx web service (deploying them on SharePoint is a bit painful, and my ashx handler works fine)

View 3 Replies

Web Forms :: Making A Postbackurl Post To Another Page From Code?

Feb 18, 2010

I have 3 search pages which all implement IProductSearch. I have a results page that expects it's PreviousPage to be a cross page postback of type IProductSearch. The IProductSearch pages use the postbackurl property to post themselves to the results page. The results page then loads the search params from the IProductSearch page and loads the results. All in all its working well.

Now, I want to create a IProductSearch page that has no gui and takes all its values from the querystring. But as there is no button to press (therefore no postback url property) how do I get this gui-less IProductSearch page to cross-page post to the results page?

View 3 Replies

Web Forms :: Making A ShowImage Page - Pulling The Image From A SQL Table

May 17, 2010

The Response.BinaryWrite( does not like what I am giving it.

I am making a ShowImage page pulling the image from a SQL table.

Here is where I am at the moment:

protected void Page_Load(object sender, EventArgs e)
{
string myConnection = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
SqlConnection objConnection = new SqlConnection(myConnection);
objConnection.Open();
SqlCommand objCommand = new SqlCommand("SELECT TOP (1) NEWID() AS row,ImageID, ImageName, ImageType, ImageData FROM ImageTable Order by Row", objConnection);
objCommand.CommandType = CommandType.Text;
SqlDataReader objReader = objCommand.ExecuteReader();
if (objReader.Read() == true)
{
Response.ContentType = objReader["ImageType"].ToString();
Response.BinaryWrite(objReader["ImageData"]);
}
// RotateImage.ImageUrl = (string)objReader["url"];
// RotateImage.ImageUrl = (string)objReader["ImageData"];
// Response.ContentType = objReader["MIMEType"].ToString();
// Response.BinaryWrite(objReader["ImageData"]);
objReader.Close();
objConnection.Close();
}

View 6 Replies

Web Forms :: How To Improve The Performance Of This Page Like Making The Results To Be Displayed More Faster

May 1, 2010

I designed a web page in that i'm getting the query and executing the query, if a single user enters some query then the time won't be a matter, but if more than one person is accessing the webpage, then it will make delays to execute the queries,

how can i improve the performance of this page like making the results to be displayed more faster?

View 6 Replies

Forms Data Controls :: Making Grid View Redirect To Another Page?

Apr 13, 2010

i have a gridview, and i want to be able to click on a product, which then redirects me to another page showing me the details of that product.

View 2 Replies

Want To Buy A Digg-like Comment System For .net?

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

Forms Data Controls :: Making A Row Of A Designated Column Clickable To See The Details In Another Page?

Apr 10, 2010

I have a GridView which is linked to the database via SqlDataSource.

What I would like to do is to make each row of a designated column clickable. Once the user has clicked on a row, the application should postback to another page to allow the user to read all the details of that row.

The effect should be as we can see in this post: if you go to "mypost", you have a list of posts and then when you click on one of them you are able to see the details of that.

I read lots of posts that are using, however, other methods such as datalist + dataset controls etc.

View 3 Replies

AJAX :: How To Go About Making A Bigger Piece Of Content Change (without Page Refresh) Using The Same Buttons?

May 12, 2010

I created some buttons and a label inside UpdatePanel. Upon clicking the buttons Label's text changes as configured. Lovely. Now how do I go about making a bigger piece of content change (without page refresh) using the same buttons? (Basically I'm trying to build Ajax tabs)I tried making the button click event change ContentPlaceHolderID value on some Content controls but that doesn't seem to work.

View 3 Replies

Web Forms :: Sexier Master Page Examples / Making A Transition From DreamWeaver And Flash?

Jan 6, 2010

I am making a transition from DreamWeaver and Flash to ASP.net. I have made a few Master pages based on the On line tutorials but none of them really get my eye. Are there examples with code of some really cool looking, but fairly simple Master pages

View 2 Replies

Data Controls :: Read DataTable Values One By One For Making Quiz (only One Question On Page)

Jan 24, 2016

I have a query that is displaying all records from the table:

Say:

select * from table1

Now, how my dataset has all 10 rows from the table. I want to display each row records one by one on button Next Button Click.

E.g. is display 1st question and 4 options, then on click of Next button show 2nd question and so on....

How to code for this requirement.

View 1 Replies

MVC :: What Is The Efficient Way To Display Comment Data

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

MVC :: How To Render An HTML Comment In The View

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

C# - How To Remove Html Comment Tag Before Render

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

MVC :: Color Of Comment Tags In Razor?

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

Usercontrol, Possible To Have A Design Time Comment?

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

Web Forms :: Comment At Particular Place In HTML From C#?

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("<!-- " &#43; ... " -->");
}

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 = "<!-- " &#43; ... " -->";

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

Controls :: How To Check PDF Is Comment Enabled Or Not Using C#

Jun 16, 2015

My only requirement is to find a selected pdf in a folder is Reader enabled or not, more specifically if usage rights are defined in a way that allows people to add annotations (e.g. comments).

I am doing this in windows application. If I click a button, an event is triggered searching a folder for PDF files. This event needs to check whether or not the PDFs in the folder are Reader enabled for comments. If they are, I need to remove the comment usage rights or revert the PDF back to its original version.

My code can only find PDF files in the folder. I don`t know how to check if the selected PDF is comment enabled or not.  

private void button1_Click(object sender, EventArgs e) {
{
string[] filePaths = Directory.GetFiles("D:myfolderpdffolder");
List<ListViewItem> files = new List<ListViewItem>();
foreach (string filePath in filePaths) {
---need to check comment enabled or not---
}
}
}

View 1 Replies

How To Provide Ability For Users To Comment On Webpage

May 28, 2010

I need a few options on how I will allow a user to post simple text comments to my website page(s). I will require login to post comments in order to prevent spam posters.

I'm using Visual Web Developer 2010 to design my website. I'm not real familiar with it and do not know if it includes the tool I need to accomplish this task easily.

View 42 Replies

After Posting Comment Automatically Redirect To Blog?

May 10, 2010

I have embedded a Google Blog to my website using iFrame and its working well, now i allow people to post comments anonymously and its working fine, now the problem comes when someone post a comment, after the comment has been posted, this will navigate away from my website and it will only take the user to the blog. How do i prevent that, after the posting it still stay in my site.

View 16 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved