Refresh one object in the form

  • Thread starter Thread starter Grey
  • Start date Start date
G

Grey

i have one combo box in the asp.net form. user can add item in the combo box
from another web form. my question is when the user click button to add new
item into the combo box, is it possible only refresh the combo box instead
of the whole web form

Million thanks
 
Grey said:
i have one combo box in the asp.net form. user can add item in the combo box
from another web form. my question is when the user click button to add new
item into the combo box, is it possible only refresh the combo box instead
of the whole web form

Million thanks

Sure! Use webservice behavior. I found it to be very very effective
tool to avoid page flickering as SmartNavigation property of asp.net
page is really really bugy(last time i check, about two months ago, MS
did nothing about it). The other solution to refresh only part of the
page is to use frames. Briefly speaking, Include the controls you
always refresh in a separte frame from the rest of the page and just
execute your code there.


Link to webservice behavior:

http://msdn.microsoft.com/library/default.asp?
url=/workshop/author/webservice/overview.asp


TTH,
Adel A. Al-saleh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top