turrican Posted January 25, 2003 Posted January 25, 2003 When I try and view my my webform in the browser all of the buttons and image boxes dont show up. also the text is not formatted the same way, its all bunched together with the same font. Ive got visual studio pro with xp pro with iis and xp service pack 1 installed. Please help this newbie. Thank you in advance. Quote
Moderators Robby Posted January 25, 2003 Moderators Posted January 25, 2003 Are you placing the controls (buttons) at design-time or run-time? Are any of them displayed?(which ones) Quote Visit...Bassic Software
turrican Posted January 25, 2003 Author Posted January 25, 2003 I place them on the form at design time. None of the controls are displayed. Quote
Moderators Robby Posted January 25, 2003 Moderators Posted January 25, 2003 I barely use design-time controls (I mostly do everything at runtime). Can you Zip the entire solution and post it here? Quote Visit...Bassic Software
turrican Posted January 26, 2003 Author Posted January 26, 2003 I think Im on the right track. I read somewhe that the framework should be installed after the IIs or is it vice versa, anyway, i reinstalled the framework and now I can view my form properly in the browser. The only problem now is that when I try and view it from another computer on my network the image doesnt load and when I click on the one button that is there I get an error. Does this sound like a hardware/ framework issue to you? Quote
*Experts* Nerseus Posted January 26, 2003 *Experts* Posted January 26, 2003 If it's just the image I wonder if you've got hard-coded paths to the file, something like "c:\file.gif" or something? What is the code behind your button? What does it do (specific code snippet would be good)? -nerseus Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
turrican Posted January 26, 2003 Author Posted January 26, 2003 I have all of the objects working properly now but the image doesnt come over to the other computer. OK here is the code behind the image: <asp:Image id="Image1" style="Z-INDEX: 105; LEFT: 369px; POSITION: absolute; TOP: 162px" runat="server" Height="139px" Width="199px" ImageUrl="file:///D:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Sunset.jpg"></asp:Image> Quote
Moderators Robby Posted January 26, 2003 Moderators Posted January 26, 2003 Try this for files... <......ImageUrl="Sample Pictures\Sunset.jpg"> The images should be in "Sample Pictures" directory, and that Dir should be at the same level as your aspx file. Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.