ASP.NET MVC Render Ajax / Standard View
        Posted  
        
            by Wayne
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Wayne
        
        
        
        Published on 2010-04-22T23:30:40Z
        Indexed on 
            2010/04/22
            23:33 UTC
        
        
        Read the original article
        Hit count: 264
        
I am a little confused and making it alot more complicated than this needs to be! Here is what I have...
A view which displays a drop down of US States. When the user chooses a state it loads a list of data from a database and returns the results (populates the View Model) and the View renders the information.
What I wanted to do was have have the dropdown trigger an Ajax event which performs the data load, but also wanted it to depreciate if the user didn't have Javascript enabled. How would I go about rendering the view with AND without javascript / ajax?
Hope that makes sense. Thanks for your help.
© Stack Overflow or respective owner