May 28, 2013, 7:18 AM
[CLOSED] Internet-Explorer 8 -> long waits in building the page
Hi @all,
I use the following code to show me different UserControlls in <asp:Repeater...
This way to show is in any browser very fast but not in Internet-Explorer 8.
Have anyone an idea what it could be ?
.aspx
I use the following code to show me different UserControlls in <asp:Repeater...
This way to show is in any browser very fast but not in Internet-Explorer 8.
Have anyone an idea what it could be ?
.aspx
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
//............
rp_conts.DataSource = l_repaeter_items;
rp_conts.DataBind();
}
protected void rp_conts_ItemDataBound(object sender, RepeaterItemEventArgs e)
{
var aspxItem = e.Item;
var dataItem = (RepeaterContItem)e.Item.DataItem;
var uc_ContTextItem = LoadControl("~/Views/Contribution/uc_ContText_New.ascx") as ASP.uc_ContText_New;
uc_ContTextItem.BuildControl(dataItem.contSID);
aspxItem.Controls.Add(uc_ContTextItem);
}
</script>
<html>
<body>
<form runat="server" id="f_master">
<ext:Viewport runat="server" Layout="BorderLayout" Width="500">
<Items>
<ext:Panel runat="server" Region="North" Height="150">
<Items>
</Items>
</ext:Panel>
<ext:Panel ID="p_repeater" runat="server" Border="false" Region="Center" AutoScroll="true">
<Content>
<div id="dvConts">
<asp:Repeater ID="rp_conts" runat="server" OnItemDataBound="rp_conts_ItemDataBound">
</asp:Repeater>
</div>
</Content>
</ext:Panel>
<ext:Panel runat="server" ID="p_east" Region="East" Width="200">
<Items>
</Items>
</ext:Panel>
<ext:Panel runat="server" ID="p_west" Region="West" Width="200">
<Items>
</Items>
</ext:Panel>
</Items>
</ext:Viewport>
</form>
</body>
</html>
Last edited by Daniil; Jun 04, 2013 at 5:04 AM.
Reason: [CLOSED]