Grid texbox autopostback

I

Ian Oldbury

Hi All,

I'm trying to perform an autopostback on a textbox, when i leave the cell it
does postback to the server but i can't find the event that it calls. I
create the datagrid using the ItemDataBound event.

has anyone got any ideas?

cheers ian

aspx page
<edititemtemplate>
<asp:textbox id="txtItem" runat="server" maxlength="9"
autopostback="True" ></asp:textbox>
</edititemtemplate>

code within code behind page
Public Sub txtItem_TextChanged(ByVal sender As Object, ByVal e As
System.EventArgs) Handles txtItem.TextChanged

BindGridItems()

End Sub
 
I

Ian Oldbury

if anyone needs to know the answer checkout ...
ontextchanged="function name within the code behind page" for the textbox
control
 

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

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top