bind a dropdown in a column in a datagrid based on the dropdown value selected in another column of the datagrid.

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi,
I have a fully editable datagrid which has dropdownlist in two
columns. Now i have to bind the dropdown in the second column based on
the value selected in the dropdown in the firstcolumn. so how to do it.
I am able to raise the selected index changed event of the dropdowns in
the first column, but i am not able to get the reference for the
dropdown in the corresponding row.
Regards,
Vishnucharan.

.



Relevant Pages

  • RE: Crashing caused by Dropdownlist in Header template
    ... almost no code until I started trying to install a dropdown. ... Just bind the ... ObjectDataSource1 is the ods for the grid. ... (Not sure why I have to restore the ODS's FilterExpression. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: FindControl in a Datalist
    ... I am pretty sure you need to use the onITemCreated event after you have ... > EditItemTemplate of a Datalist and then Bind it to a dataset. ... I then want to Bind the DropDown, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: FindControl in a Datalist
    ... Ok, just to be clear, I want to bind a datalist and populate controls when ... the datalist is in edit mode. ... I want to display a couple dropdown and some ... > and bind it. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to store list
    ... > and the bind that array to a dropdownlist. ... > The integer will eventually bind to the datavalue field of the dropdown. ...
    (microsoft.public.dotnet.framework.aspnet)
  • FindControl in a Datalist
    ... I am trying to use FindControl to grab a dropdownlist that is in the ... EditItemTemplate of a Datalist and then Bind it to a dataset. ... I then want to Bind the DropDown, ...
    (microsoft.public.dotnet.framework.aspnet)