Welcome Guest Search | Active Topics | Sign In | Register

Listbox in Callbackpanel loses its style attributes Options
Mark
Posted: Wednesday, October 26, 2011 6:10:24 PM
Rank: Member
Groups: Member

Joined: 3/5/2009
Posts: 19
When we put the ListBox control inside of a callbackpanel, the styling is disappearing. The sample code should have a border around it, which shows when the listbox is outside of the callbackpanel but is not shown when inside of the panel. Are we missing a setting somewhere? Thanks!


Code: HTML/ASPX
<%@ Page Language="VB" %>
<%@ Register TagPrefix="eo" NameSpace="EO.Web" Assembly="EO.Web" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>

  <eo:CallbackPanel runat="server" id="CallbackPanel1" >

    <eo:ListBox runat="server" ID="ListBox1" ControlSkinID="None"  AllowMultiSelect="true"
        Height="200px"  Width="720px">
        <BodyStyle CssText="border: solid 1px #c6c7d2;" />
        <DisabledItemStyle CssText="background-color:white; color: #c0c0c0; padding: 2px;" />
        <ItemStyle CssText="padding: 2px; background-color:white; color: black;" />
        <ListBoxStyle CssText="font-family:Tahoma; font-size:11px;" />
        <MoreItemsMessageStyle CssText="padding:2px;" />
        <SelectedItemStyle CssText="padding: 2px; background-color:#3399ff; color:white;" />

        <ItemTemplate>
            <table border="0" cellpadding="1" width="680px">
                <tr>
                    <td align="left" width=100>
                        <%#Eval("UPC")%>        
                    </td>

                    <td align="left"  width=100>
                        <%#Eval("SKU", "{0:g}")%>      
                    </td>

                   <td align="left"  width=230>
                        <%#Eval("description")%>      
                    </td>
                   <td align="left"  width=100>
                        <%#Eval("vstyle")%>      
                    </td>
                   <td align="right"  width=50>
                        <%#Eval("qty")%>      
                    </td>
                    <td align="right"  width=90>
                        <%#Eval("retail", "{0:C2}")%>      
                    </td>

                </tr>
               
            </table>
        </ItemTemplate>
    </eo:ListBox>
    </eo:CallbackPanel>
    
    </div>
    </form>
</body>
</html>
eo_support
Posted: Thursday, October 27, 2011 3:55:52 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We have posted build 2011.0.31 that should fix this problem. Please see your private message for the download location.

Thanks!
Mark
Posted: Friday, October 28, 2011 5:36:35 PM
Rank: Member
Groups: Member

Joined: 3/5/2009
Posts: 19
Working, thanks!
eo_support
Posted: Friday, October 28, 2011 7:45:31 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Thanks for the update. Glad that it works for you!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.