I have a user control defined in my master page at the very end "TrackingModule1" which reads data from checkout cookie and creates javascript code that gets rendering onto the page [ViewSource]. I have a checkout.aspx content page containing asp.net wizard
control in which I set values to this checkout cookie as user steps through the checkout in wizard control.
Now the problem! When user clicks Continue to proceed to the next step, the tracking control in the master page executes before the OnNext event of the wizard control in which I set the cookie values to be read by the tracking control. The outcome! The rendered
javascript in tracking control has empty values for that wizard step as the values were set after the tracking control executed.
I have tried googling it but found no close results. I hope I am not the first to have encountered this issue. Please help!
Thanks.
Ashar A. Syed.
[Like To Help Me. Like My Post & Mark As Answered If It Helped You]
asharsyed
Member
71 Points
123 Posts
Execute user control in master page after content page is executed
Feb 23, 2012 01:24 PM|LINK
Hi all,
I have a user control defined in my master page at the very end "TrackingModule1" which reads data from checkout cookie and creates javascript code that gets rendering onto the page [ViewSource]. I have a checkout.aspx content page containing asp.net wizard control in which I set values to this checkout cookie as user steps through the checkout in wizard control.
Now the problem! When user clicks Continue to proceed to the next step, the tracking control in the master page executes before the OnNext event of the wizard control in which I set the cookie values to be read by the tracking control. The outcome! The rendered javascript in tracking control has empty values for that wizard step as the values were set after the tracking control executed.
I have tried googling it but found no close results. I hope I am not the first to have encountered this issue. Please help!
Thanks.
[Like To Help Me. Like My Post & Mark As Answered If It Helped You]