Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am making a website... i had given admin panel and admin can change the pictures in the website....but i m confused that where and how can i give the upload picture option..
as if i give it in the same page as images are and make the file upload visible=false. then the admin is also unable to see the file upload control...please suggest me what to do.
Posted
Comments
manishmns12 10-Apr-14 8:19am    
please someone...help me to sort it out

1 solution

If I understand you correctly, you are trying to make that file upload only visible to user with admin role, right? The answer is to have different pages for different user roles. Explore Managing Web Site Users with Roles[^]
 
Share this answer
 
v2
Comments
manishmns12 10-Apr-14 6:59am    
thanks but i f i give different pages and admin uploads(changes the originl pic with the older one) so how will be the image visible to other normal users..
please help me out
manishmns12 10-Apr-14 7:02am    
and sir i dont want to authorise on users or accounts i want to change image and make it visible to all..only i admin can change the images..the other users cn only see the images

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900