In the MyAddressBookPage control, I have a situation where the first address in the AddressList Repeater brings up edit billing address when clicked. So what happens is the primary billing address and first address are switched whenever an address is saved.
Basically, the CommandArgument='<%#Eval("AddressId")%>' of the first item in the repeater always defaults to the PrimaryAddressId i.e the Billing Address.
Has anybody experienced this or know what could cause this to happen?
EDIT: This simply happens when the page loads. Somewhere Token.Instance.User.PrimaryAddressId is being toggled between the default billing address, and the first address in the addresslist. All I have to do is refresh the page.
Address Book Odd Behavior
Re: Address Book Odd Behavior
Not sure of the cause, but the solution was to change from Three Column layout to just a left side bar. Some control in my right column was causing it.
Re: Address Book Odd Behavior
Can you provide some reproduction scenario for this. For example upon which page I need to set three column layout and what controls should be there on different sections plus how many addresses should be there?
Re: Address Book Odd Behavior
Members/MyAddressBook.aspx with the MyAddressBookPage control.
There needs to be at least 2 addresses.
BasketTotalSummary.ascx is what causes the issue. (I am not even sure I am using that as intended, but I use it to display the cart total in the right column.)
In my case, it is not a big deal as I don't really need the right column in the account area.
There needs to be at least 2 addresses.
BasketTotalSummary.ascx is what causes the issue. (I am not even sure I am using that as intended, but I use it to display the cart total in the right column.)
In my case, it is not a big deal as I don't really need the right column in the account area.