I do have a strange behavior with the 'accordion' control: I use it on a standard page and it works great. But I have another requirement where I have to dispaly a profile status and then under that have the accordian control:
<
asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%= Html.ValidationSummary("Edit was unsuccessful. Please correct the errors and try again.") %>
<div id="Profile">
<%
using (Html.BeginForm()) {%>
<% Html.RenderPartial(
"ProfileDetails", Model.profile); %>
<% } %>
</div>
<br />
<br />
<div id="menucontainer">
<%
Html.jQuery().Accordion()
.Name(
"accordionOne")
.Items(parent =>
{
parent.Add()
.Text(
"Users")
.Content(() =>
{%>
<p>
<%
using (Html.BeginForm()) {%>
<%Html.RenderPartial(
"users", Model.profile.Users); %>
<% } %>
</p>
<%});
parent.Add()
.Text(
"Services")
.Content(() =>
{%>
<p>
<%
using (Html.BeginForm()) {%>
<%Html.RenderPartial(
"Services",Model.Services); %>
<% } %>
</p>
<%});
(more options follow is same format)
When I dispaly the page, the 'user' panel expands over the Profile display -- not all the way but enough so you can't see it. The other sections open and close as they are supposed to ... but the expanded grey section remains.
Any idea on what might be causing this? (I tried to get a screen shot but wasn't successful) I'm hoping it is a simple answer, like maybe my 'master' style sheet is stepping on the custom style sheet.
Thanks for your help ... can't wait for more.
Don Robinson