Button click event does not fire - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Button click event does not fire

  • 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" />

    Code behind:
    protected void LoginButton_Click(object sender, EventArgs e)
            
               //your logic here
            

    You could send us your code so we could give you an accurate answer.

    Regards,
    Stefani Tacheva
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  • 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
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items