textbox events when date is filled in a textbox with calendar pop-

G

Guest

Hi,

I have a web form which has two text boxes and a datagrid in it. The two
text boxes will have start date and stop date. I have a calendar pop-up
control that fills the start date and stop date. Now I need to postback to
the asp.net webform when these text boxes are populated with the dates. I
don't want to use an extra button to postback to the server. Is there a way
to capture an event that fires when the date is populated in the text boxes?
I have tried TextChanged event but it is not firing. Please let me know.

Thanks,
Sridhar.
 
G

Guest

You can add an <asp:Button id="btnSumbit" runat="server"> with
style="display:none;" and call its click method (e.g., btnSubmit.Click())
from Javascript after you verify that both date fields have values.
 

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,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top