I have encountered a problem where my asp.net code on Firefox and IE is being displayed differently . When I say differently, I mean, in the IE link, as a link button anchor tag. However on Firefox, it presents itself as a duration
code example
& gt; Item title & gt; & Lt; Div id = "& lt;% # Eval (" id "," {0} ")%>" & Gt; & Lt; Asp: LinkButton id = "ProductName" runat = "server" CommandName = "listing" commandErgument = '& lt;% # bind ("id")% & gt; Text = '& lt;% # bind ("name")%> PostBackUrl = "" & gt; & Lt; / Asp: LinkButton & gt; & Lt; Asp: label id = "lbl_pricePerUnit" runat = "server" text = "" /> & Lt; / Div & gt; & Lt; / ItemTemplate & gt;
Some other controls are not visible at all, although they appear.
I do not know what's happening here and I've never seen it like I'm using the latest versions of the browser and I have ASPN 3.5 and VS 2008
Update: OK This is an AJAX page, Gridview is inside an updated panel that responds to LinkButton's on Command event. The code is obviously compiled, and it runs fine on IE.
I have checked the page source on Firefox and it is similar to the image. There was a good issue about lack of ID on the containing HIV tag. Why does the embedded script firefox problems? What about the initial numbers of the id?
Definitely is caused by adaptive rendering, where ASP.NET emits html. Ready?
Comments
Post a Comment