Web Parts

Asked By Naveen Thangathirupathy
30-Jul-10 06:24 AM
Earn up to 0 extra points for answering this tough question.
Hi folks,

I am novice in asp.net 2.0. I am currently developing a web portal. I am trying to load the webparts dynamically.
I have created a custom web part manager and loaded the webpart in Page_Init. The webpart get added to the page sucessfully.  But when i log into my site and visit the page again, it does show the personlized page. It is not loading the personalized states. am i missing anything?
Do i need to manually load the personalized states in the webpart manager at each page load??

It would be great if someone could help me out of this issue.

  re: Web Parts

Christiano Coutinho replied to Naveen Thangathirupathy
01-Aug-10 11:56 PM
Hi there.
It seems you forgot to implement a membership provider in your application.

There is an article here in EggheadCafe that explains how to do it using SqlServer:

http://www.eggheadcafe.com/tutorials/aspnet/0b6cdd68-c023-4f0d-9253-d980bc8b26bd/web-parts-and-form-based.aspx

Please, let me know if this is enough to solve your problem.

Good luck
Create New Account