More in this section
Forums / Bugs & Issues / ManageUsers Control is not raising DeletingUser event

ManageUsers Control is not raising DeletingUser event

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. KWong
    KWong avatar
    8 posts
    24 Nov 2008
    29 Jan 2009
    Link to this post
    I don't know wether this should consider a bug or by design. The ManageUsers web control has several events that will be raised base on the certain operation on the page. The event of CreatedUser and UpdatedUser work but the DeletingUser is not raised on the /Sitefinity/Admin/CmsAdmin/Users.aspx. The delete command is on the gridview and I guest internally the ManageUsers web control should know a user is being remove and raise the DeletingUser even.

    Please let me know if there is other way of catching DeletingUser event.


  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    30 Jan 2009
    Link to this post
    Hello KWong,

    Thank you for using our services.

    I made a simple test and figured out that it is a bug.

     this.manageUsers.DeletingUser += new ActionCancelEventHandler(manageUsers_DeletingUser); 
        void manageUsers_DeletingUser(object source, ActionCancelEventArgs e) 
            if (manageUsers.UserName == "bb"
                e.Cancel = true

    The issue will be fixed for Sitefinity 3.6.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered