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

Forums / Bugs & Issues / LinkButton click event inside ListView not firing

LinkButton click event inside ListView not firing

7 posts, 0 answered
  1. mattshepherd
    mattshepherd avatar
    5 posts
    Registered:
    25 Mar 2007
    21 Mar 2011
    Link to this post
    Hi,

    I have a ListView control on a masterPage which is referenced on both CMS pages, and external pages.  Inside the ListView i have LinkButtons in my ItemTemplates which have CommandArguments set on ItemDataBound.

    When I click the LinkButtons from an external page, the server side Click even fires perfectly and passes the CommandArgument correctly.  However, when the LinkButton is clicked from a page which is managed by SiteFinity, no event is fired server side.  The page appears to postback and reload, however the server side event isnt fired.  Other buttons on the same page outside the ListView fire as expected.

    Im quickly discovering simple things within SiteFinity are becoming major road blocks to delivering my project so please provide any suggestion or direction as soon as possible.

    Regards,
    Matt
  2. mattshepherd
    mattshepherd avatar
    5 posts
    Registered:
    25 Mar 2007
    21 Mar 2011
    Link to this post
    Just to add, The ListView is in a WebControl.  Im also using the PreRender event to capture a postback from the calling page and prepare data to be printed out in the control
  3. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    06 Dec 2016
    22 Mar 2011
    Link to this post
    Hi mattshepherd,

    Thank you for contacting Telerik Support.

    I am sorry to hear that you are experiencing problems building your project in Sitefinity. The problems you mention are due to an issue with  ViewState, which shall be fixed for Q1, so please, if possible wait for a couple of weeks and we'll provide you with a solution.

    All the best,
    Boyan Barnev
    the Telerik team
  4. Haydn
    Haydn avatar
    13 posts
    Registered:
    13 May 2008
    15 Apr 2011
    Link to this post
    Has there been any update on this bug?

    We are having some problems with repeaters etc not firing the OnItemCommand event.

    Additionally, DropDownList OnSelectedIndex change events are having problems firing also.

    Is there a work around? It is quite a serious problem.
  5. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    06 Dec 2016
    18 Apr 2011
    Link to this post
    Hi Haydn,

    thank you for the patience. I am pleased to inform you that we have just released Sitefinity 4.1 which contains a fix to the ViewState issue we've been discussing int his thread.

    Greetings,
    Boyan Barnev
    the Telerik team

  6. Ernest
    Ernest avatar
    37 posts
    Registered:
    12 Mar 2012
    09 May 2012
    Link to this post
    I'm experiencing somewhat similar problem. I have a linkbutton inside edit view and its not firing the server side event. The link button is actually inside a custom field control a Locations module. This custom field control has a save button, linkbutton, that will allow a user to create multiple hours of operation for a location. Each time I click on this save button the page fires a postback but not the server side event. Also another difference is that we're using Sitefinity 5.0. How can we get this to work?
  7. Abhinav
    Abhinav avatar
    7 posts
    Registered:
    05 Feb 2014
    13 Feb 2014
    Link to this post
    Hi All,

               I want to know that Is any body got any solution for this problem as I'm also facing same problem with event firing?

    If any body have any solution for this problem please provide me the solution as soon as possible.
7 posts, 0 answered