+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Button click event does not fire

Button click event does not fire

5 posts, 0 answered
  1. Becky
    Becky avatar
    2 posts
    Registered:
    05 Jul 2012
    28 Oct 2013
    Link to this post

    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,

  2. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    28 Oct 2013 in reply to Becky
    Link to this post
    Did you use Thunder and make a SimpleView widget, then wire up the click event inside of InitializeControls?
  3. Stefani Tacheva
    Stefani Tacheva avatar
    718 posts
    Registered:
    09 Sep 2016
    31 Oct 2013
    Link to this post
    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
  4. Vakeel
    Vakeel avatar
    19 posts
    Registered:
    13 May 2014
    05 Oct 2015 in reply to Stefani Tacheva
    Link to this post
    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, 
  5. Sabrie Nedzhip
    Sabrie Nedzhip avatar
    534 posts
    Registered:
    28 Sep 2016
    08 Oct 2015
    Link to this post
    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
     
5 posts, 0 answered