How can i place a dropdown list in ultrawebgrid and how to assign values to it.
Hello,
This can be done easily using either templated columns, or setting the columns type of the grid column to dropdown list. In case #1, you can use something like that:
igtbl:UltraWebGrid ID="UltraWebGrid1" runat="server" Height="200px" Width="325px" DataSourceID="AccessDataSource1" > <Bands> <igtbl:UltraGridBand> <Columns> <igtbl:TemplatedColumn> <CellTemplate> <asp:DropDownList runat="server" ID="DropDownList1"> <Items>
...
</Items> </asp:DropDownList> </CellTemplate> </igtbl:TemplatedColumn> </Columns> </igtbl:UltraGridBand> </Bands> ...</igtbl:UltraWebGrid>
In case #2, what you can take a look at is the ValueList functionality of the grid column.