Button click event does not fire
I have created a new custom login (standard -SitefinityWebApp.Custom.Widget) widget and my logon button event does not fire. I did some research and some people were suggesting setting View State to true and it did not help any other suggestions.
Thanks,
Did you use Thunder and make a SimpleView widget, then wire up the click event inside of InitializeControls?
Hello,
Could you please share with us some more information about this custom widget? Would it be possible for you to inform us do you have a onclick event in the template. For example:
<
asp:Button
ID
=
"LoginButton"
runat
=
"server"
onclick
=
"LoginButton_Click"
Text
=
"login"
CssClass
=
"loginBtn"
ValidationGroup
=
"ctl00$ctl00$Login1"
/>
protected
void
LoginButton_Click(
object
sender, EventArgs e)
//your logic here
Hi,
I am using sitefinity 7.3. My button click event not fired but client side operation working fine such as validation while I am change my page template or create same template as previous assign to page then it is working properly So please reply as soon as possible
Thanks,
Hello Vakeel,
Can you please provide more details about the custom user control you have created and the exact steps you take to reproduce the issue? Can you please try to register the custom control you have created using Thunder as described in the below article:
http://docs.sitefinity.com/thunder-register-a-widget
Then drop the control on a Sitefinity page and let me know about the results.
Regards,
Sabrie Nedzhip
Telerik