Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
245
WebDropDown with <Itemtemplate> an Page_reload
posted

Hello Infragistsics,

i use V 11.1.20111.2064. In the example http://media.infragistics.com/community/aspnet/media/webdropdown/template/web/wdd-template.wmv

they show the use of the WebDropDown with <ItemTemplate>.  After first PageLoad looks fine. After a Page Reload is the DropDownContainer clear.  Is this a bug?

The Value EnableViewstate is True and the WebDropDown.SelectedValue is ok after Page.reload.

<ig:WebDropDown ID="WebDropDown_Va" 
                    runat="server" DisplayMode="DropDownList" TextField="IV_Vart" 
                    DataKeyFields="IV_Vart" DataSourceID="SqlDataSource_Varten" >
                    <AutoPostBackFlags ValueChanged="On" />
                    <DropDownItemBinding TextField="IV_Vart" />
                    <ItemTemplate>
                    <span style="font-weight:bold;"><%# DataBinder.Eval(Container.DataItem, "IV_Vart")%> -  </span>
                    <%# DataBinder.Eval(Container.DataItem, "IV_Vart_Bezeich")%>
                    </ItemTemplate>
</ig:WebDropDown> 

What can i do, that the Selection Values are to see in DropDownArea?