Log in

View Full Version : Resolved membership not working after install



gogetsome
03-13-2012, 03:48 PM
Hello, I have the

:: Accordion Content script (v2.0)

Installed and working on my site. It works great in IE, FF, Chorme and Safari.

BUT.......
In IE ONLY
The problem I now have is that the site's asp.net profile no longer works. I can't login to the site nor can I add items to my cart... basically anything that works with a cookie. I'm on IE 9


Other browsers seem to work fine.

What can I do to overcome this issue?

jscheuer1
03-13-2012, 04:32 PM
.

First Make sure Cookies are Enabled

The only thing I can think to try (other than first making sure cookies are turned on in the browser) would be to disable the script's cookies in the on page call, example:


ddaccordion.init({
headerclass: "technology", //Shared CSS class name of headers group
contentclass: "thelanguage", //Shared CSS class name of contents group
revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click", "clickgo", or "mouseover"
mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
collapseprev: false, //Collapse previous content (so only one open at any time)? true/false
defaultexpanded: [], //index of content(s) open by default [index1, index2, etc]. [] denotes no content.
onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
animatedefault: false, //Should contents open by default be animated into view?
scrolltoheader: false, //scroll to header each time after it's been expanded by the user?
persiststate: false, //persist state of opened contents within browser session?
toggleclass: ["closedlanguage", "openlanguage"], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
togglehtml: ["prefix", "<img src='http://i13.tinypic.com/80mxwlz.gif' style='width:13px; height:13px' /> ", "<img src='http://i18.tinypic.com/6tpc4td.gif' style='width:13px; height:13px' /> "], //Additional HTML added to the header when it's collapsed and expanded, respectively ["position", "html1", "html2"] (see docs)
animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
oninit:function(expandedindices){ //custom code to run when headers have initalized
//do nothing
},
onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
//do nothing
}
})

gogetsome
03-13-2012, 04:47 PM
Thank you for responding!

Yes, I thought of that and did have the value set to false.

After more research there does not seem to be a correlation with my profile provider.

Other issues to add:

If I use a dropdownlist on the page and select a value the state of the control is not persistant and that value is not mantained.

It I attempt to use a paged control and try to page to another page nothing happens.


I thought is had to do with an ajax update control on the page so I removed that and the issues remain.


It seems that the accordian script does not allow a postback and we all know how Asp.net loves to postback.



Here is my config for the accordian:


<script type="text/javascript">


ddaccordion.init({
headerclass: "submenuheader", //Shared CSS class name of headers group
contentclass: "submenu", //Shared CSS class name of contents group
revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click", "clickgo", or "mouseover"
mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
collapseprev: true, //Collapse previous content (so only one open at any time)? true/false
defaultexpanded: [], //index of content(s) open by default [index1, index2, etc] [] denotes no content
onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
animatedefault: false, //Should contents open by default be animated into view?
persiststate: false, //persist state of opened contents within browser session?
toggleclass: ["", ""], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
//do nothing
},
onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
//do nothing
}
})


</script>

jscheuer1
03-13-2012, 04:51 PM
Are cookies enabled in the browser?

gogetsome
03-13-2012, 05:22 PM
Sorry, I should have mentioned that. Yes, they are enabled.

gogetsome
03-13-2012, 06:57 PM
Thank you for your assistance!

I have figured out the issue. The design team placed an additional form tag on the page and that caused all the .net controls beyond that form to not function if any codebehind stuff was called. .net can only have one <form> on a given page. It should have thrown an error on compliation but did not for some reason.

All is good now in my world!