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
85
Create a Multi-Column WebDropDown using Templates
posted

The UltraWebGrid inside WebDropDown not displayed and not sure why :) I'm sure someone know what's wrong with my code below. 

<ig:WebDropDown ID="wcmb_tollingevents2" runat="server" BackColor="White" BorderColor="Silver"
BorderStyle="Solid" BorderWidth="1px" ComboTypeAhead="Suggest" ForeColor="Black"
OnInitializeLayout="wcmb_tollingevents_InitializeLayout2" SelBackColor="DarkBlue"
SelForeColor="White" Width="500">
<Items>
<ig:DropDownItem>
</ig:DropDownItem>
</Items>
<ItemTemplate>
<igtbl:UltraWebGrid ID="wcmb_tollingevents_grid" runat="server" AutoGenerateColumns="False"
Height="100px" Width="400px">
<Bands>
<igtbl:UltraGridBand>
<Columns>
<igtbl:UltraGridColumn AllowUpdate="Yes" Type="CheckBox" Width="5%">
<Header Caption="#">
</Header>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn BaseColumnName="DisplayStatusEventDate" Width="15%">
<Header Caption="Event Date">
<RowLayoutColumnInfo OriginX="1" />
</Header>
<Footer>
<RowLayoutColumnInfo OriginX="1" />
</Footer>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn BaseColumnName="Description" Width="80%">
<Header Caption="Status Event">
<RowLayoutColumnInfo OriginX="2" />
</Header>
<Footer>
<RowLayoutColumnInfo OriginX="2" />
</Footer>
</igtbl:UltraGridColumn>
</Columns>
</igtbl:UltraGridBand>
</Bands>
</igtbl:UltraWebGrid>
</ItemTemplate>
</ig:WebDropDown>