Add an "action" button to Sitefinity's User Ed

Posted by Community Admin on 04-Aug-2018 09:29

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

All Replies

Posted by Community Admin on 10-Apr-2014 00:00

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

Posted by Community Admin on 15-Apr-2014 00:00

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
 

Posted by Community Admin on 15-Apr-2014 00:00

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
 

This thread is closed