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

Forums / Developing with Sitefinity / Add an "action" button to Sitefinity's User Edit page

Add an "action" button to Sitefinity's User Edit page

3 posts, 0 answered
  1. Filipe
    Filipe avatar
    1 posts
    Registered:
    24 Mar 2014
    10 Apr 2014
    Link to this post

    Hello there,

    I was wondering if it is possible to add a widget to Sitefinity's User Edit page that does not actually store data but instead, gets information using a web service about the user that i am currently editing and updates it's informations programmatically.

    Thank you

  2. Bilyana Ivanova
    Bilyana Ivanova avatar
    34 posts
    Registered:
    21 Nov 2016
    15 Apr 2014
    Link to this post
    Hello Filipe,

    If you are storing your membership information in another source, maybe what you should look at is the usage of a custom membership provider. In that case you don't need to manually update the profile information, but instead you always have the data read straight from the source.

    Another thing that you can do is extend/replace the default Sitefinity Services

    Regards,
    Bilyana
    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
     
  3. Bilyana Ivanova
    Bilyana Ivanova avatar
    34 posts
    Registered:
    21 Nov 2016
    15 Apr 2014
    Link to this post
    Hi Filipe,

    One more option, if still you want to modify the User Edit screen, then you can replace the original UserEditDialog with your custom one. You can do that by:
    • creating UserEditCustom, which extends Telerik.Sitefinity.Security.Web.UI.Principals.UserEditDialog
    • overriding LayoutTemplatePath to return your custom embedded template

    get{  return "~/MyControls/UserEditCustom.ascx";  }

    • finally, replace the default dialog on Bootstrapper_Initialized in the Global.ascx file:

     

    ObjectFactory.Container.RegisterType(typeof(DialogBase),typeof(UserEditCustom),
        "UserEditDialog", new TransientLifetimeManager(), new InjectionConstructor()
     );

    Regards,
    Bilyana
    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
     
3 posts, 0 answered