Answered by:
Silverlight 5 Pop up Menu control

Question
-
Hi ,
I have a requirment , after loged in the application , when I take my mouse over / right click on the user name , a pop up has to come up with the details of loged user like his name and phot like that .
how can I accomplish this , which control I need to use .
Eg : if a person loged in OutLook , when a moveover on the loged person a pop up will come up with is his photo grap and all details like this i want to impliment .
Iam using Silverlight 5
Regards
Srilatha
Srilatha
Sunday, October 27, 2013 7:14 AM
Answers
-
Hi Srilatha,
According to your description, I’d like to suggest you to use tooptip to accomplish the intention. You can add the tooltip to the control which displays the user name and custom the tooltip as your requirement.
About logging in an application, you can refer to the article below:
Walkthrough: Using Authentication Service with Silverlight Navigation Application
http://msdn.microsoft.com/en-us/library/ee942451(v=vs.91).aspx
It introduces using WCF RIA service to log in or out a page.
About the usage of tooltip, you can refer to the link below:
ToolTip Styles and Templates
http://msdn.microsoft.com/en-us/library/dd334410(v=vs.95).aspx
Here is a screenshot of tooptip below. Hope it can meet your requirement.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- Marked as answer by Yunjie Pei - MSFT Monday, November 4, 2013 8:16 AM
Monday, October 28, 2013 12:03 PM -
Hi Srilatha
You can also use expander control of Silverlight to meet your requirement. You can customize the expander content by putting the grid or stackpanel in it to create whatever layout you want. But it will get expanded only when user will click on it. If you want to appear on hover then you can go with Yunjie Peis solution.
Check this link:http://www.c-sharpcorner.com/uploadfile/0d4efc/expander-control-in-silverlight/
Do not Forget to Vote as Answer/Helpful, please. It encourages us to help you.
- Marked as answer by Yunjie Pei - MSFT Monday, November 4, 2013 8:16 AM
Monday, October 28, 2013 12:13 PM
All replies
-
Hi Srilatha,
According to your description, I’d like to suggest you to use tooptip to accomplish the intention. You can add the tooltip to the control which displays the user name and custom the tooltip as your requirement.
About logging in an application, you can refer to the article below:
Walkthrough: Using Authentication Service with Silverlight Navigation Application
http://msdn.microsoft.com/en-us/library/ee942451(v=vs.91).aspx
It introduces using WCF RIA service to log in or out a page.
About the usage of tooltip, you can refer to the link below:
ToolTip Styles and Templates
http://msdn.microsoft.com/en-us/library/dd334410(v=vs.95).aspx
Here is a screenshot of tooptip below. Hope it can meet your requirement.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- Marked as answer by Yunjie Pei - MSFT Monday, November 4, 2013 8:16 AM
Monday, October 28, 2013 12:03 PM -
Hi Srilatha
You can also use expander control of Silverlight to meet your requirement. You can customize the expander content by putting the grid or stackpanel in it to create whatever layout you want. But it will get expanded only when user will click on it. If you want to appear on hover then you can go with Yunjie Peis solution.
Check this link:http://www.c-sharpcorner.com/uploadfile/0d4efc/expander-control-in-silverlight/
Do not Forget to Vote as Answer/Helpful, please. It encourages us to help you.
- Marked as answer by Yunjie Pei - MSFT Monday, November 4, 2013 8:16 AM
Monday, October 28, 2013 12:13 PM