updatepanel - Set focus to confirmation message after ajax update -


i have listing page(that has datagrid). have edit button in each row clicking opens overlay (ajax modal popup). after inserting/updating data, have refresh data grid display newly inserted data , displays message on top of page saying data inserted/updated successfully.

since have update panel around page, page has focus on row click edit button users have scroll way see successful message. there way can set focus/scroll way after ajax update user can see whether record updated or not.

note: calling updatepanel.update() method refresh update panel after closing modal popup.

any appreciated.

would old named anchor tag you?

e.g.

<a name="messageontop">my message</a> <!-- big data grid -->  <!-- button opens overlay doing business --> <a href="#" onclick="dooverlay();      /* when finished overlay: */      document.location = '#messageontop'">button</a> 

the above pseudo-code. want say, can jump anchor #-notation in url


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -