How to add profile page in a tab in MyAccount page

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 13 años
I would like to add a new tab in MyAccount page for Profile

By profile page i mean this page:

http://www.yourwebsite.com/profile.aspx?userid=122

Till now i have done this:

Added this on Myaccount.aspx:
<%@ Register TagPrefix="nopCommerce" TagName="ProfileInfo" Src="~/Modules/ProfileInfo.ascx" %>

and

<ajaxToolkit:TabPanel runat="server" ID="TabPanel1" HeaderText="<% $NopResources:Topic.ProfileInformation %>">
                    <ContentTemplate>
                        <nopCommerce:ProfileInfo ID="lblProfileInfo" runat="server" />
                    </ContentTemplate>
                </ajaxToolkit:TabPanel>

Output:

I see the new tab but no information is there in that tab - it's blank...

Please guide me in a right direction...
Hace 13 años
Because when you open account.aspx page, it doesn't contain "userid=yourID" query string parameter. You need to modify profile.ascx control in order to display current customer info when "userid" query string parameter is not specified
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.