Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Probably simple!!! but I can't figure out why I can't get a div id="wrapper" to work together with @Html.RenderPartial. The menu must be on a line but I can not get into the li. Below a simpel exampel:
Hi C Andreasson,
I just spotted that you got the equals sign of the wrong side of the id.
You have something like this:
<div =id"wrapper">
Try change it to this:
<div id="wrapper">
Hope this helps,
/Dennis
Yes! of course itI can see that ... thank you ;-)
but still it does not work??
Does anyone have an idea???
Is the problem now that the list of liยดs shown vertical rather than horizontal, then try to give your ul a fixed width or a 100% width.
Maybe you could link to the site or show a screen dump, can be easier to help then,
Ok Thanks it Was not somthing with the ul.
Now, I have tried to insert coden from my partial view directly into the template and then I receive this error!
You can see from my other screen dump that it is somthing with the parital View!
If i take the div wrapper out - it works for the menu.
But why can I not use the wrapper?
Now I have found a solution. ;-)))
I added a class="nav" in partial view
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
RenderPartial
Hi Probably simple!!! but I can't figure out why I can't get a div id="wrapper" to work together with @Html.RenderPartial. The menu must be on a line but I can not get into the li. Below a simpel exampel:
Hi C Andreasson,
I just spotted that you got the equals sign of the wrong side of the id.
You have something like this:
Try change it to this:
Hope this helps,
/Dennis
Yes! of course itI can see that ... thank you ;-)
but still it does not work??
Does anyone have an idea???
Hi C Andreasson,
Is the problem now that the list of liยดs shown vertical rather than horizontal, then try to give your ul a fixed width or a 100% width.
Maybe you could link to the site or show a screen dump, can be easier to help then,
Hope this helps,
/Dennis
Ok Thanks it Was not somthing with the ul.
Now, I have tried to insert coden from my partial view directly into the template and then I receive this error!
You can see from my other screen dump that it is somthing with the parital View!
If i take the div wrapper out - it works for the menu.
But why can I not use the wrapper?
Now I have found a solution. ;-)))
I added a class="nav" in partial view
is working on a reply...