Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

i"m totaly new in the asp.

i tryed to build simple app. that show text, one button and changes the text by pressing it.

 

when i move from desigh mode to the browser i can't see the button and the text is in the upper left corner insted of in the middle.

 

i cheked and i cant see any other controler in the browse mode, just the one's i takefrom the "html tag".

 

what do i do wrong?

  • Moderators
Posted

originally posted by yaniv

even with no code,

i can't even see the button.

 

i just tryed this:

 

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

 

text1.text = "wow"

 

End Sub

 

butas i said, the browser window is just empty (with the "hello" text in the upper left.

Visit...Bassic Software
Posted

I asked the question in EVBF and then discoverd the new forum for the .NET.

 

I"m building the controlers in desigh mode, and when i press the "build and browse" command, i can't see the button in the browser, and the text is in upper left corner.

  • *Experts*
Posted

You need to include the ASP.NET pages (.aspx) and the code-

behind pages (.aspx.vb, if you are using them) in the zip file, not

just the Solution file.

"Being grown up isn't half as fun as growing up

These are the best days of our lives"

-The Ataris, In This Diary

  • Moderators
Posted

It's probably because the Solution gets saved (by default) to My Projects, I always prfer to save the solution with the rest of the files in the wwwroot.

 

It make it more portable. Just a piece of advice to all.

Visit...Bassic Software
Posted

may be the reason i can't open the file is that the solution saved in "my projects" and the pages in wwwroot?

 

how ever, i don't know how to save the .sln file in another place!!

could't find the way to do it!

 

(does't the forms should be part of the project?)

Posted

I think i have great problem in understanding where i dhould locata the files. i opened your attachment to "wwwroot", andwhen i trying to open the files i get error massege:

"the default web access modefor this project is set to file share, but the folder at 'http://localhost/TestWebPage" cannot be opened with the path "c:\inetpub\wwwroot\TestWebPage".

 

the truth is i can't understand what he want...

Posted

i can't make it work. i tryed to double click the webform and what i got is that the .NET opened in desigh mode with a HTML code.

 

do you think the problem might be in my ISS properties?

i tryed to conect another computer and open the file via his browser and didn't got anything.

 

"yaniv2" is my comuter name.

Posted

I have a new post.

 

i downloaded the samles from msdn (that divil recomended), and tryed to run the "how to build web app."

in that pros. sample too, i can see only the text and can't see any of the buttons!! the page is just empty!

 

can it be a problem with my browser ( i use winXP)?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...