Advertisement

01.22.2008 at 02:36AM PST, ID: 23100683
[x]
Attachment Details

Handling OnSelectedindexhange event for Dropdownlist inside repeater control

Asked by resham in WebApplications, Programming for ASP.NET, Microsoft Visual C#.Net

Tags: C# ASP .NET, IE 6.0

Hi
I am fairly new to ASP.NET development and have question about DataRepeater control

I have this datarepeater control inside a user control (ascx). Repeater control holds two textboxes and two dropdownlists.

These dropdown lists are filled dynamically and the selected index of first dropdown decides which values to be fetched from DB to fill 2nd combo.

This logic has been written in javascript that will get executed on selected index change for 1st combo which will fill the 2nd combo values.

Also written logic for filling combo in ItemDatabound event of datarepeater.

I cant have AutoPostBack property of combo box set to true for handling combo events, as I dont want the complete page to be refreshed each time as I am using wizard control.
I tried using hidden control to store the changed value of combo and storing combos selected index value on selectedindexchange java script.
But I am not able to access the selected index change or the Hidden text filed value for the combo inside DataBound.
Please advice how dynamic filling of combo can be handled on change event of another combo without setting AutoPostBack Property to true.
Thanks in advance.
Start Free Trial
[+][-]01.22.2008 at 05:17AM PST, ID: 20713865

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.22.2008 at 10:03PM PST, ID: 20721125

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.23.2008 at 05:10AM PST, ID: 20722977

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.23.2008 at 05:14AM PST, ID: 20722997

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.23.2008 at 05:16AM PST, ID: 20723010

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: WebApplications, Programming for ASP.NET, Microsoft Visual C#.Net
Tags: C# ASP .NET, IE 6.0
Sign Up Now!
Solution Provided By: zkeown
Participating Experts: 2
Solution Grade: B
 
 
[+][-]01.23.2008 at 05:22AM PST, ID: 20723052

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.23.2008 at 05:40AM PST, ID: 20723169

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628