Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Dropdownlist event without refreshing the page

dropdownlist selectedindexchanged

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 Amonijack

Amonijack

    CC Resident

  • Advanced Member
  • PipPipPipPip
  • 89 posts

Posted 04 November 2014 - 08:27 PM

I have repeater control and drop down list.

When i change selectedindexchanged, the repeater changing its content but page refreshes itself cuz i am using autopostback in dropdownlist.

 

I tried with updatepanel control but it doesnt give expected results.

 

In the repeater control i am using data from database. (results coming from a function in a c# lol)

 

Now i want to make when SelectedIndexChanged, repeat just a part of the page.

 

How to get this done ?

 

 

Thanks in advance for helping me !

 



#2 lespauled

lespauled

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1360 posts

Posted 05 November 2014 - 10:33 AM

Do it in a JQuery ajax call.  Have the front end call a web method, or web service and get values, etc   Then put the code in the callback function.


My Blog: http://forum.codecal...699-blog-77241/
"Women and Music: I'm always amazed by other people's choices." - David Lee Roth