User controls inside an UpdatePanel - css styles are gone when updating (IE8)

后端 未结 4 1642
忘掉有多难
忘掉有多难 2021-01-19 14:58

I have an user control inside an UpdatePanel. Once an event is triggered and updates the user control - it seems to lose its css styles. This happened to me in IE8 only, whi

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-19 15:33

    I had the same issue with my application, it seemed to kill all styling in my dynamic panel... I corrected it by moving the content placeholder (place I write the dynamic HTML to) into the < head> tag on my master page.

    Working! Thank you all :)

提交回复
热议问题