0
I am creating a site in Asp.net with a master page. When I try to put a datepicker gives me error.
I’m using this one Website
The same is giving the following error
'btnSubmit_Click is not a member of 'ASP.cliente_aspx'
Someone can help me?
0
I am creating a site in Asp.net with a master page. When I try to put a datepicker gives me error.
I’m using this one Website
The same is giving the following error
'btnSubmit_Click is not a member of 'ASP.cliente_aspx'
Someone can help me?
0
RESOLVED
Just change the code <asp:Button ID="btnSubmit" runat="server" Text="Submit" OnClick="btnSubmit_Click" />
for <asp:Button ID="btnSubmit" runat="server" Text="Submit" OnClientClick="btnSubmit_Click" />
, or rather be the event Onclick is the event Onclientclick
Browser other questions tagged asp.net vb.net button datepicker
You are not signed in. Login or sign up in order to post.
José, it would be interesting to explain the difference between the events
OnClick
andOsClientClick
to make the answer more illustrative, because in your question does not show the code then leaves doubt of what exactly you were doing.– Ricardo Pontual