I created a Custom webpart in which on user logged on it has to check whether the user entry is there in a Custom list, if exists redirect to the accessed page.
im writing in OnPreRender(EventArgs e)....when i place this webpart in a page..it is perfectly working... But, when placed in a masterpage it is not working .....
im not getting if i'm placing the webpart in a wrong place.
Please do help me on this.
Thanks in advance.
As far as I know, you can't place web parts on master pages. We struggled with that for a while trying to solve our navigation issues.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.