Monday, March 26, 2012

Updating Database using AJAX.

Hello Experts,

How can i update the database from client side after removing the focus
from the particular panel.

You'll need to use a bit of client-side scripting. You can attach an onblur event handler to the panel element, and use script to fire off the postback. One of the easiest ways to do that is to use a hidden button inside of the panel, and call button.onclick() from you onblur handler.

on blur event of textbox u have to attach the ClientScript.RegisterClientScriptBlock()

so it will perform operation that is available in the script.

No comments:

Post a Comment