locked
I want to edit my profile page looking like facebook RRS feed

All replies

  • User61956409 posted

    Hi narendra,

    Edit Profile in this manner , what control should in used for this 

    Name   dotprogramming     Edit_Link

    UserName http://www.facebook.com/Dotprogramming     Edit_Link

    Firstly, you could try to use some data controls (such as GridView control) to display users information and enable user to edit personal profile.

    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false">
        <Columns>
            <asp:TemplateField HeaderText="Name">
                <ItemTemplate>
                    <asp:Label ID="lblusername" runat="server" Text='<%#Eval("UserName") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Edit Link">
                <ItemTemplate>
                    <asp:HyperLink ID="btnedit" runat="server" NavigateUrl='<%# string.Format("EditProfile.aspx?userid={0}", HttpUtility.UrlEncode(Eval("UserID").ToString()))%>'>Edit Profile</asp:HyperLink>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    

    Secondly, if want your “Edit Profile” page looks like facebook, you could use F12 developer tools to check the html and CSS style of facebook, then you could refer to the html source to design your web page.

    Best Regards,

    Fei Han

    Wednesday, June 1, 2016 5:38 AM