2

How we can achieve below scenario in SharePoint 2013,I am confused where to start:

I have webpart which will do login functionality based on list, once user Logged success I need to show a List Items(this will be another webpart or User Control). what is the best approach for this?

I'm wondering if I can do this in one webpart which will be having two User controls (Login and another as List Item viewer)

Highly appreciate feedback.

thank you.

  • Are you using Visual Web Part creating Visual Studio? – Nderon Hyseni Aug 23 '17 at 9:08
  • than after login just make that control invisible i.e UserControlID.Visible = false – Nderon Hyseni Aug 24 '17 at 9:56
1

Web Part can add another web part or user control on runtime. Here's another question where this was being asked. You just need to modify page Controls collection property on host web part.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.