Skip to main content
Home Forums Silverlight Programming Programming with .NET - General How to get the Host name from Custom Control
2 replies. Latest Post by a_anandraj@hotmail.com on March 6, 2009.
(0)
a_anandr...
Member
15 points
163 Posts
03-06-2009 2:19 AM |
Hi
I am using my Custom Control in Page.xaml in Silverlight Application. I want to take host name (html page name) in the Custom Control. App is not accessible in Custom control. How to get it?
Thanks
Anandraj.A.
Dialogic...
32 points
36 Posts
03-06-2009 2:41 AM |
You can obtain that in .aspx page and send to SilverLight Application as Parameter.
SilverLight1.InitParameters = "HostName=" & HostName
03-06-2009 6:58 AM |
Thanks for the answer. I got the answer. location.href
thanks