Skip to Content
author's profile photo Former Member
Former Member

Chained Dropdownlistbox - MVC

Hi All,,

I have 2 dropdownlist box in my view. i.e, COURSEGROUP and COURSE. When an entry in coursegroup listbox is selected , the COURSE listbox should be enabled and corresponding entries should be filled into the list items.

I have initially disabled the COURSE listbox.

I'm not using Model class for data binding.

My problem is:

When an OnSelect event occurs for COURSEGROUP list box, the control of program is going back to DO_REQUEST method and displays the same screen as earlier. The control is not entring the DO_HANDLE_EVENT method of controller..

I can also send the code if required.

Please help me out,,

Thanks in advance,,

Sachidanand.B

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2006 at 07:17 PM

    are you using DISPATCH_INPUT in your DO_REQUEST method?This will then trigger the control to DO_HANDLE_EVENT and passes the onSelect event. Control will come back to DO_REQUEST after processing of DO_HANDLE_EVENT IS done.

    Please check by keeping break points at DO_REQUEST and DO_HANDLE_EVENT methods.

    Cheers

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2006 at 05:16 AM

    Hi,

    Check out this weblog for server side operation of chained drop down list box:

    /people/durairaj.athavanraja/blog/2004/12/20/bsphow-to-chained-dropdownlistbox

    You can also go for client side (JS) check this link.

    http://www.dynamicdrive.com/dynamicindex16/chainedselects/index.htm

    Regards,

    Ravikiran.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.