Hi,
I have a asp.net gridview in a radpagepiew. The gridview has 3 editable textboxes. On the "onblur" event of the third textbox, I want to first execute a javascript code, and then a server side code. I need the postback to be ajaxified.
I have used the following code
I have a asp.net gridview in a radpagepiew. The gridview has 3 editable textboxes. On the "onblur" event of the third textbox, I want to first execute a javascript code, and then a server side code. I need the postback to be ajaxified.
I have used the following code
<
asp:Button runat = "server" ID = "btnPsuedoButton" Visible="true" OnClick="btnPsuedoButton_Click" />
In the RowDatabound event of the gridview, I do
string
eventHandler = this.GetPostBackEventReference(this.btnPsuedoButton, "");
txtDescription.Attributes.Add(
"OnBlur", eventHandler);
My problems are
1. If I make the button btnPsuedoButton invisible, I get error on page
2. How do I make the postback ajaxified.
3. How to call a javascript before the btnPsuedoButton_Click event