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>
Hello Binyam,
Thank you for using our community!
I’ve investigated the code sample you provided. I noticed that you are using UltraWebGrid. This control has been retired. Please, keep in mind that the Aikido controls are built on a completely different framework and their behaviors and properties will be different compared to their Classical Controls counterparts. As a starting point when migrating from the old UltraWebGrid to the new WebDataGrid/WebHierarchicalDataGrid you can refer to this article:
https://es.infragistics.com/community/blogs/b/craig_shoemaker/posts/introducing-the-webdatagrid-webhierarchicaldatagrid-cheat-sheet
There you’ll find the so called WebDataGrid / WebHierarchicalDataGrid Cheat Sheet which outlines most of the functionalities of the new grids.
You could take advantage of our API documentation. The following link gives more information about the templating.
https://es.infragistics.com/help/aspnet/webdropdown-templating
Furthermore, I’ve created a runnable code sample. Please test it on your side and let me know how it works for you.
Regards,
Aneta Gicheva,
Infragistics
Thanks Aneta. The problem is the application can't be upgraded right now and still has to target .NET Framework 3.5.
I didn't see WebDataGrid in Infragistics35.xx version.