Skip to main content

Microsoft Silverlight

Answered Question How to get the Host name from Custom ControlRSS Feed

(0)

a_anandraj@hotmail.com
a_anandr...

Member

Member

15 points

163 Posts

How to get the Host name from Custom Control

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.

DialogicSolutions
Dialogic...

Member

Member

32 points

36 Posts

Answered Question

Re: How to get the Host name from Custom Control

You can obtain that in .aspx page and send to SilverLight Application as Parameter.

 

SilverLight1.InitParameters = "HostName=" & HostName

a_anandraj@hotmail.com
a_anandr...

Member

Member

15 points

163 Posts

Answered Question

Re: How to get the Host name from Custom Control

Thanks for the answer. I got the answer. location.href

thanks

Anandraj.A.

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities