c# - update status text without page reload -
c# - update status text without page reload -
i have web app! set status text users shown below profile image of user. whenever user updates status text, page reloads on button click, , new status appears below picture. there way prevent page reloading , still create status text changed?
on submit, new status text inserted/updated database table , on page load, fetched.
you can utilize ajax,
place update button , status textbox withinajaxupdatepanel
if it's not possible add together both (update button , status textbox) single ajaxupdatepanel
(as html design), add together 2 different ajax updatepanels (to update button , status textbox) , phone call yourstatusupdatepanelname.update();
update button click event
c# asp.net visual-studio-2010 sql-server-2008
Comments
Post a Comment