Nested Dropdown list

I am using a Telerik radGrid with the update form embedded in the gris html itself.

I have two comboboxes in the template.

Is there ANY way to filter the second combobox based on the selection of the first combobox?

Or do I need to populate them with a sub and "FindControl("etc...."
<EditFormSettings InsertCaption="Add Sales Entry Item" CaptionFormatString="Edit ID: {0}"
                            CaptionDataField="id" EditFormType="Template" PopUpSettings-Modal="true">
                            <FormTemplate>
Blah...blah...blah...

<tr>
                                        <td align="right" style="width: 120px; padding: 0px 4px 0px 0px;">
                                            Type
                                        </td>
                                        <td align="left">
                                            <asp:DropDownList ID="histType" runat="server" SelectedValue='<%# Bind("histType") %>'
                                                DataSource='<%# (New string() { "Marketing", "Sales" }) %>' TabIndex="101" AppendDataBoundItems="True">
                                                <asp:ListItem Selected="True" Text="Select" Value=""></asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 120px; padding: 0px 4px 0px 0px;">
                                            Method:
                                        </td>
                                        <td align="left">
                                            <asp:DropDownList ID="histMethod" runat="server" SelectedValue='<%# Bind("histMethod") %>'
                                                DataSource='<%# (New string() { "Mailer", "Email","Inbound Call","Outbound Call","Dialer","Web-PPC","Web-Site","Prospecting" }) %>'
                                                TabIndex="102" AppendDataBoundItems="True">
                                                <asp:ListItem Selected="True" Text="Select" Value=""></asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>

Blah...blah...blah...

Open in new window

Larry Bristersr. DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

masterpassCommented:
Or do I need to populate them with a sub and "FindControl("etc...." >>>>>>>>>>>>

You said the answer. you will need to write a sub for selected index changed of the first dropdown, get the data for the second OR filter the data accordingly
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CmdoProg2Commented:
Have you considered using an ajax cascading dropdownlist..

http://www.asp.net/ajax/ajaxcontroltoolkit/samples/CascadingDropDown/CascadingDropDown.aspx
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.