Create Facebook Style News Feed With JQuery?
Jan 27, 2011
I am developing a web application by using asp.net 3.5 and sql server 2008R2. I have to create a page as like as facebook News Feed (wall post). I need post Status and reply comments. I know it will be done by jQuery but I am not expart of Query. Anyone help me with sample code or demo project?
View 1 Replies
Similar Messages:
Jan 7, 2010
I want to implement and allow users to create their own photo albums on my website.Now i was proposing that i have 2 tables:-Quote:
tbl_albums{album_id, user_id, album_name, info, date_added}
tbl_album_images{image_id, album_id, user_id, caption, date_added}
So one table would contain information about the album and the other would be the images inside the album.firstly does this seem like a good approach?If so, i want to know what would be the best way to allow users to do this?
View 6 Replies
Jun 5, 2010
I have developed a news blog in asp.net 4. When I display news using literal control, the news displays without paragraph. However when i use textbox in administrative site to input the news into db--The Textbox takes the paragraph style and displays it. However i don;t want to use Textbox to display my news. Is there any solution to display the news with the paragraph style and so on? The containing component is Datalist and this is my below code.
<ItemTemplate>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td><asp:Literal ID="HeadlineLiteral" runat="server" Text='<%# Eval("Headline") %>'></asp:Literal></td></tr>
<tr><td><asp:Literal ID="DateStampLiteral" runat="server" Text='<%# Eval("DateStamp") %>'></asp:Literal></td></tr>
<tr><td><asp:Image ID="PhotoImage1" runat="server" ImageUrl='<%# Eval("Photo") %>' align="left" /><asp:Literal ID="NewsLiteral" runat="server" Text='<%# Eval("News") %>'></asp:Literal></td></tr>
</table>
<br />
</ItemTemplate>
View 5 Replies
Apr 1, 2011
My date picker has no style as in it doesnt seem to be recognising the style sheet
[Code]....
and my html
[Code]....
View 3 Replies
Apr 3, 2010
I am working on How to display the News Updates on page inside Marquee as hyperlink and on click on the link i have to display the details of the selected News .
which approach i can display the particular section of the page ?
I have to disply the News from Database?
View 2 Replies
Jun 4, 2010
I am creating a web user control to display News Archive to display News. I am displaying it like this:
Year
Months
eg 2009
Jan
Feb
2010
Jan
Feb
This i had done. My problem is that initially I want to display only Years. And when one click on Year, corresponding Months should display.
View 2 Replies
Dec 26, 2010
I'm trying to create a basic application, i created facebook application before but everything has been changed.
I looked every where to create a basic application, but now i'm getting mad because there isn't any working sample. Because of the changed links, facebook api changes, facebook wiki changes i couldn't find a working copy.
write a basic app that gets permission to write user name to screen in facebook developer toolkit asp.net. I looked computerbeacon.net, codeplex, and some other pages but i couldn't succeed.
Edit: I' m adding some screenshots and some codes, it will may be you to find my problem.
[code]....
View 1 Replies
May 7, 2010
Anyone have a clue as to how to generate a facebook style look to a web app. I mean the way they have comments indented following a persons post?
View 5 Replies
Apr 28, 2010
i have managed to develop a status wall some what similar to facebook, using Repeater Controls- Parent Repeater is bound to the status and the child repeater is bound to the comments inside that status. I am strugling to implement the following solution- hiding and displaying a btnDeleteComments - depending of the owner of the comment- i.e. only owner of the wall and those who leave the comment can only delete that comment.
Status X
Comment A - left by member John
Comment B - Left by Member Doe
Comment C - Left by Member Harry
The owner of the wall can delete all comments, and only John can delete comment A, Doe can delete comment B and so on Here is what i have tried so far
1. fill a data set with two tables and relate them (table one = status, Table 2 = comments of that status)
2. data bind the repeater to this data set
3. here is the HTML of the child repeater
<asp:Repeater ID="rptComment" runat="server"
datasource='<%#((DataRowView)Container.DataItem).Row.GetChildRows("myrelation")%>'
OnItemCommand="rptCommentonCommand">
<HeaderTemplate>
</HeaderTemplate>
<ItemTemplate>
<asp:Table
ID="Tblcomments"
runat="server"
Width="70%"
BackColor="#f5f5f5">
<asp:TableRow>
<asp:TableCell>
<asp:Image ID="ImgComPic"
ImageUrl='<%# DataBinder.Eval(Container.DataItem, "["comPicThumbPath"]")%>'
runat="server" />
</asp:TableCell>
<asp:TableCell>
<asp:TextBox ID="TxtDisplayComment"
ReadOnly="true" TextMode="MultiLine"
BackColor="#f5f5f5"
Wrap="true"
BorderStyle="None"
Rows ="3"
BorderWidth="0px" runat="server"
Text='<%# DataBinder.Eval(Container.DataItem, "["Comment"]")%>'
CssClass="WrappedTextBox"
Font-Bold="true"
Font-Size="smaller"
ForeColor="Gray"
Font-Names="Verdana"
MaxLength="250">
</asp:TextBox>
<asp:Label
ID="LblCommentDate"
runat="server"
Font-Names="Verdana"
Font-Size="X-Small"
ForeColor="LightGray"
Text='<%# DataBinder.Eval(Container.DataItem, "["CreateDate"]")%>'>
</asp:Label>
</asp:TableCell>
<asp:TableCell HorizontalAlign="Right">
<asp:Button ID="BtnDeleteCom" runat="server"
CommandName=' <%# DataBinder.Eval(Container.DataItem, "["CommentID"]")%>'
Text="Delete" Width="60px" CommandArgument="DeleteCom" CssClass="buttonDelCom"
Visible=' <%# DataBinder.Eval(Container.DataItem, "["ViewersComment"]")%>' />
</asp:TableCell>
</asp:TableRow>
</asp:Table>
<br />
</ItemTemplate>
</asp:Repeater>
The higlighted bit is causing the cast invalid error- i thought this would do the trick, by deafult all the delete buttons next to each comment is hidden for members other then the owner of the wall- and only if they are the one who left the comment will teh delete button be visible-
<%# DataBinder.Eval(Container.DataItem, "["ViewersComment"]")%>'
The SQL which retreives the comments for a specific status, also retrieves a column2 ViewersComment which is either 'true' of 'false', indicating wether that comment was left by this person viewing the status wall-
View 3 Replies
Jan 31, 2011
I have to create facebook style wall in my project. So far I assume that I will get X(the number that needs to be shown be default) number of wall posts from database, bind them to some control like Repeater and add update panel in each row in repeater so that only the portion of page only related to that post is updated once any new comment is added in that post.
Now, since I am new to AJAX so cant figure out how to display the "older post" link functionality there. As we have link at the bottom of facebook wall which once clicked appends the certain number of older posts at the end of the wall.
Similarly, once a new post is added by someone, it gets added at the top of the wall, how can I acheive that so tha only the limited portion at the top of the wall gets refersed and updated instead of whole page post back.
View 2 Replies
Apr 21, 2010
I have an asp.net app that allows users to create personal pages which can be publicly accessed thru a "directory" page. The content of the pages is stored in sql server, so a given user's page is dynamically created thru the code that executes when the relevant link on the directory page is clicked.
I would like to take this a step further by allowing access to a given user's page directly thru the browser's address bar, something like www.thegreatestsite.com/jim (pretty much like You Tube, Facebook, etc.).
I could achieve this by manually creating a folder under the root, called "jim" and putting a default.aspx page in it which would have code in it's load event that would dynamically create jim's page.
However, I would like this "additional feature" to be created automatically, as part of the sign up process of the user.
View 2 Replies
Mar 26, 2011
adding a scrolling news section to a web site? I'm thinking about allowing a user to enter news into a database and use Javascript to make the news scroll once its displayed on the page. Is this how it is typically done?
View 1 Replies
Feb 24, 2010
Any one can post this problem.
View 9 Replies
Dec 6, 2010
How do I create an RSS feed in ASP.NET?Actualy I want to output like this. Clik on an RSS icon, open the RSS bookmark box and subscribe the user. After that, clik on the RSS feed link, create RSS bookmark to show RSS, update data.
View 2 Replies
May 15, 2010
I developed a webapplication,Now i want to create Rss feeds for my website.In my application i have a module call Film news, which contain the latest news of the film stars. Now i want to create rss feeds for that module.the news contains title and description.how can i create rss feeds for my application.
View 4 Replies
Aug 3, 2010
I am required to create a functionality like the "Top Tweets" of www.twitter.com,I started out thinking that it would be simple and just use a update panel and a timer with a gridview in the middle of it and just have it update every few seconds. but as you can see the problem here it updates the whole entire gridview and I just want to go ahead and add the new updates to the top of the page and not refresh the whole entire feed everyfew seconds.
View 5 Replies
Nov 8, 2010
i want to make a add news page that when my user write his news(in up.aspx) then his news shown in news.aspx.
what am i going to do ? what is the best way for writing this page ?
View 1 Replies
Aug 18, 2010
My date picker has no style as in it doesnt seem to be recognising the style sheet
[Code]....
and my html
[Code]....
View 2 Replies
Jan 27, 2010
Can i create a partial view and a controller that will feed data to the view, and if i render that partial in a Master page, the Data will show on whatever URL i am?
Or is there another way of showing content from database on every page(view)?
View 2 Replies
Jan 4, 2011
i want bind data base to the component show quick scrolling about.
i want data bind to the div tag and identified style div in code behind but this is error.
this is code in code behind:
SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString);
try
{
conn.Open();
SqlCommand comand = new SqlCommand("SELECT * FROM Products", conn);
[Code]....
View 5 Replies
Sep 22, 2010
Showimgdiv s the div whose Position:absolute and dislay:none... onclick of a linkbitton i want to show the divvar iid=document.getElementById('ctl00_body_Showimgdiv')
iid.style.display='block'; Tis code works in IE but not in FF.. so i decided to go wit jquery and im a beginner in tat
$(document).ready(function(){
var iddd=$("#Showimgdiv");
iddd.css
({
display:"block"
})
iddd.show();
});
Either of tis dint work
View 4 Replies
Sep 12, 2010
I'm trying to create an interface similar to google's search box.
When you type a search string into the box, the drop panel appears suggesting all matches to the search as it's being typed.
Anyone know how do we do this with ASP.net?
View 7 Replies
Jun 23, 2010
Here is my problem. I have on multiple occasions downloaded jQuery UI and tried to use it. What happens, though, is that in the examples provided in the download the UI elements look great, but in my pages when I try to use them all the formatting and style stuff is messed up. Here is an example of a date picker:
Bad Example
Here is my code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Reports</title>
<meta charset="UTF-8" />
<meta http-equiv="CACHE-CONTROL" content="NO-CACHE" />
<meta http-equiv="PRAGMA" content="NO-CACHE" />
[Code]....
For my page (an '.aspx' page, if that makes any difference) I have all the images in the image folder one level below the css file, just as it is in the example folder, and the script files are all together in another folder. Is there something I need that I don't have. I shouldn't need the "demo.css" file, should I? Is there a special naming convention for items in the form of the site? Is there some special way that I need to have the folders/css files/source scripts set up, like a certain folder configuration, to make it work? Kind of lost on this one. Probably a really simple fix, but I'm pretty new to using this.
View 1 Replies
Sep 24, 2010
I was taking a look at this Facebook Guide Documentation, and I was wandering if it is possible to:create a Facebook application not using PHP but ASP.NET and C#?would I have access information like e-mail, username, city/location, etc?
View 3 Replies
Jun 7, 2010
I want to be able to create a style sheet at session startup (based on a large number of variables... this sheet must be created on the fly and can not be hard coded). At the moment i can set up styles and apply them to controls using the VS designer (html behind of a page). But i need to be able to create these styles at runtime because they will differ for each session. The names of the styles may not differ, but the elements inside the style will be changing.
I figured that one thing i could do is create a css file using System.IO to create the file and then use that to apply (but even then, im not sure how i go from creating the file to including it in the project at runtime), but is there an easier way?
View 2 Replies