I've done this as follows...
UNDER <Columns> tag, i've added
<igtbl:TemplatedColumn key="Year of joining" AllowUpdate="Yes"
<Header Caption="Year of joining">
<RowLayoutColumnInfo OriginX="2" />
</Header>
<Footer>
</Footer>
<CellTemplate>
<asp:DropDownList ID="DropDownList1" runat=server Width=70px>
</asp:DropDownList>
</igtbl:TemplatedColumn>
Here, I've used NorthWind as the data source.... and i hav dropdown appearing for each row in the grid.. but
==> all dropdowns are like appearing in 1st column with the caption "Year of joining"..
==> If I set IsBound="true" in TemplatedColumn tag ... then all my DropDowns disappear
How can i tackle this...??? OR Is it like I can't use DropDowns for NorthWind Database......
I want to populate the DropDown list and use it to update, insert into the NorthWind Dtatabase using the Ultrawebgrid....
Can any1 plz help me in these????
Hello,
It really depends on the specific situation. An approach that might be applicable in this situation is to hook the grid InitializeRow event and to find the dropdownlist directly from there (I assume that the dropdown will be placed in a templated column): TemplatedColumn col = (TemplatedColumn)e.Row.Cells.FromKey("dropDownContainer").Column;CellItem ci = (CellItem)col.CellItems[e.Row.Index];DropDownList archive = (LinkButton)ci.FindControl("dropDownListID");