asp.net - Rendering asp .net mvc partial views in Firefox -
I wrote an application using an ASP.NET MVC, in this application I have an index view that many Offers partial view. This application works well in both IE and Google Chrome but does not work in Firefox. Does firefox have a problem when presenting partial ideas or do I want to add it to my code? This is my code:
& lt; Div id = "tabs" & gt; & Lt; Ul class = "ui-tabs-nav" & gt; & Lt; Li & gt; & Lt; A href = "# tab-1" & gt; Some items 1 & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "# Tab2" & gt; Some accessories 2 & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "# tab3" & gt; Some accessories 3 & lt; / A & gt; & Lt; / Li & gt; & Lt; / Ul & gt; & Lt; Div id = "tabs-1" & gt; & Lt;% HTML. Render partial ("partial view 1"); & Gt%; & Lt; / Div & gt; & Lt; Div id = "tabs-2" & gt; & Lt;% HTML. Render partial ("partial view 2"); & Gt%; & Lt; / Div & gt; & Lt; Div id = "tab-3" & gt; & Lt;% HTML.Renderpartial ("PartialView3"); & Gt%; & Lt; / Div & gt; & Lt; / Div & gt;A partial view is 'not render' exactly by the browser. The output of the server is stuffed on the right point in the form of filling the page.
Most likely you have some defective HTML elements (the elements have not been exceeded or closed), and you are seeing different things on different browsers.
Update: At a glance, I can not see anything wrong in that sample that you just added, but you need to see the source for it on the whole page (on the browser), not just a piece .
Comments
Post a Comment