This is a migrated thread and some comments may be shown as answers.

[Solved] Strange accordion behavior on 'combined' form

1 Answer 28 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Donald Robinson
Top achievements
Rank 1
Donald Robinson asked on 26 Aug 2009, 04:29 PM
I've just started using the MVC extensions and I am very impressed!!  They are easy to install and easier to use !!  I wish there were a few more videos, though, since I have an easier time watching than reading. 

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

 

1 Answer, 1 is accepted

Sort by
0
Kazi Manzur Rashid
Telerik team
answered on 27 Aug 2009, 12:04 PM
Hi Donald Robinson,

Could you please send me the outputed html with a screenshot, my email is rashid@telerik.com.

Best wishes,
Kazi Manzur Rashid
The Telerik Team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Donald Robinson
Top achievements
Rank 1
Answers by
Kazi Manzur Rashid
Telerik team
Share this question
or