For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > January 2008 > Using callback, I fill dorpdownlist without postback but it gets empty when a postbac









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Using callback, I fill dorpdownlist without postback but it gets empty when a postbac
Fabio Mastria

2008-01-19, 8:13 am

Hi all!

In a my simple project I use callback to fill a dropdownlist with xml data
returned by a web service, based on a value which is input via another
dropdownlist.

NOTE: I can't use ajax/atlas.

Using javascript and callback all works... but if I press a button or any
event that raise a postback, the dropdownlist that I fill gets empty!

This also if I set its EnableViewstate property to false.

Someone can help me?

Thank you and regards
F.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com