Click here to Skip to main content
15,918,742 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Removing specific object from a container and add it to another Pin
Parwej Ahamad24-Jul-10 7:30
professionalParwej Ahamad24-Jul-10 7:30 
AnswerRe: Removing specific object from a container and add it to another Pin
Michael Eber27-Jul-10 12:10
Michael Eber27-Jul-10 12:10 
QuestionData binding to static resource: shown to work in VS but not when run Pin
Jonathan Davies24-Jul-10 2:36
Jonathan Davies24-Jul-10 2:36 
AnswerRe: Data binding to static resource: shown to work in VS but not when run Pin
Pete O'Hanlon24-Jul-10 4:25
mvePete O'Hanlon24-Jul-10 4:25 
GeneralRe: Data binding to static resource: shown to work in VS but not when run Pin
Jonathan Davies24-Jul-10 7:18
Jonathan Davies24-Jul-10 7:18 
QuestionUser Control Height is 0 before its drawn to screen. Pin
Poohshoes23-Jul-10 15:33
Poohshoes23-Jul-10 15:33 
AnswerRe: User Control Height is 0 before its drawn to screen. Pin
Kunal Chowdhury «IN»24-Jul-10 4:44
professionalKunal Chowdhury «IN»24-Jul-10 4:44 
GeneralRe: User Control Height is 0 before its drawn to screen. Pin
Poohshoes26-Jul-10 4:38
Poohshoes26-Jul-10 4:38 
AnswerRe: User Control Height is 0 before its drawn to screen. Pin
Kunal Chowdhury «IN»26-Jul-10 5:04
professionalKunal Chowdhury «IN»26-Jul-10 5:04 
GeneralRe: User Control Height is 0 before its drawn to screen. Pin
Poohshoes26-Jul-10 8:18
Poohshoes26-Jul-10 8:18 
AnswerRe: User Control Height is 0 before its drawn to screen. Pin
Kunal Chowdhury «IN»26-Jul-10 8:29
professionalKunal Chowdhury «IN»26-Jul-10 8:29 
QuestionWPF controls on web [modified] Pin
Prasoon Chaudhary22-Jul-10 21:58
Prasoon Chaudhary22-Jul-10 21:58 
AnswerRe: WPF controls on web Pin
Jammer27-Jul-10 0:49
Jammer27-Jul-10 0:49 
AnswerRe: WPF controls on web Pin
Jugortha27-Jul-10 13:20
Jugortha27-Jul-10 13:20 
GeneralRe: WPF controls on web Pin
Pete O'Hanlon27-Jul-10 21:50
mvePete O'Hanlon27-Jul-10 21:50 
QuestionBinding ListBoxes to Calender Pin
carrigart22-Jul-10 14:38
carrigart22-Jul-10 14:38 
QuestionA weird WPF build-time error [modified] Pin
makumazan8422-Jul-10 4:26
makumazan8422-Jul-10 4:26 
QuestionUnable to read bmp and gif files in Silverlight [modified] Pin
yogesh_kumar_agarwal21-Jul-10 23:48
yogesh_kumar_agarwal21-Jul-10 23:48 
QuestionTrouble testing Custom Installation screen [modified] Pin
vikas amin21-Jul-10 8:21
vikas amin21-Jul-10 8:21 
AnswerRe: Trouble testing Custom Installation screen Pin
Abhinav S21-Jul-10 18:29
Abhinav S21-Jul-10 18:29 
QuestionKind of Urgent - Application.Current.Host.Source.Host is empty Pin
#realJSOP21-Jul-10 4:13
professional#realJSOP21-Jul-10 4:13 
AnswerRe: Kind of Urgent - Application.Current.Host.Source.Host is empty Pin
Kunal Chowdhury «IN»21-Jul-10 8:19
professionalKunal Chowdhury «IN»21-Jul-10 8:19 
GeneralRe: Kind of Urgent - Application.Current.Host.Source.Host is empty Pin
#realJSOP21-Jul-10 12:30
professional#realJSOP21-Jul-10 12:30 
AnswerRe: Kind of Urgent - Application.Current.Host.Source.Host is empty Pin
Kunal Chowdhury «IN»21-Jul-10 16:12
professionalKunal Chowdhury «IN»21-Jul-10 16:12 
I think I got the actual problem. It is not related to webserver stuffs. In your local devbox also you can come to this situation. If you run your Silverlight application from IIS you will always get the host name. If you execute the HTML file of your Silverlight application by double clicking on it, you will see it as empty string. Now come to the point of Visual Studio. There seems to be two option. One, if you run the application hosted on IIS or Visual Studio's inbuilt server you will find the value as the name of the host (generally localhost). In case, you don't have any web application project or your startup project is not your Web application project, you will see the value as empty string.

As I mentioned, please check the URL. If it is pointing to http://localhost/blahblah it will show proper value (in your case) and if it is pointing to some local drive path (i.e. C:\Documents\blahblah\blahblah.html etc.) it will show as empty string (in your team members case).

Please confirm that one first.


Don't forget to Click on [Vote] and [Good Answer] on the posts that helped you.


Regards - Kunal Chowdhury | Software Developer | Chennai | India | My Blog | My Tweets | Silverlight Tutorial

GeneralRe: Kind of Urgent - Application.Current.Host.Source.Host is empty Pin
#realJSOP22-Jul-10 4:00
professional#realJSOP22-Jul-10 4:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.