Click here to Skip to main content
15,885,763 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
.I am scrolling employee images in my master page.
.I want to display the details in content place holder when user click on particular image, if user clicked madhu image then it display madhu details in userdetails page
all employee details should be display userdetails page only
Posted
Updated 8-Dec-14 1:27am
v2
Comments
Deepu S Nair 8-Dec-14 7:14am    
Please improve your question
Praveen Kumar Upadhyay 8-Dec-14 9:38am    
Go with SPA(Single Page Application). Use Html with knochout.js. SPA is made for your type of requirement. If you are Okay with my suggestion then I can post a link where you can learn how to get done your requirement.

hi,

add this to yor image

C#
Image.Source = new BitmapImage(
    new Uri("userdetails.aspx", UriKind.Absolute));


or use like this

"<img src="imagePath" alt=" style="border:0px solid red; vertical-align:middle" />"
 
Share this answer
 
v4
Comments
mudgilsks 8-Dec-14 7:23am    
< a
href="userdetails.aspx" class="">
<img src="imagePath" alt=" style="border:0px solid red; vertical-align:middle" />
Each image will have an id linked to it. Pass that id as a QueryString to your page that displays user details. Then in your user details dispaly page, fetch the id and get the details from database based on that id.

I am not sure what application you are making. But if the summary page is accessible to all users, you should not use the technique described above because that will expose a key column o your database to the users. In such case you will have to mask it someway or encrypt it.

Hope that helps!
 
Share this answer
 
Comments
Ankur\m/ 8-Dec-14 7:42am    
The question has been changed quite a lot in the edit. Now it's more of a JavaScript task.

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