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

Forums / Bugs & Issues / ManageUsers Control is not raising DeletingUser event

ManageUsers Control is not raising DeletingUser event

2 posts, 0 answered
  1. KWong
    KWong avatar
    8 posts
    Registered:
    24 Nov 2008
    29 Jan 2009
    Link to this post
    Hi,
    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.

    Thanks.

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    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