|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Whats the problem with you ASPNET....
Hello<br>I ve got some trouble with asp net web applications.For example say that simply:<br>I put a label and button to my interface using IDE. Then I double click the button and write code like that Label1.Text="blabla".Press F5.The interface is loaded.But <br>when I press the button which have to change label's text to blabla willnot work.The page's Url is loaded in the adress bar, but the Page cannot displayed of internet <br>explorer comes. In my opinion the "codebehind" part is not working. Is the problem with security of explorer or with the IIS configuration.<br>Thanks
|
|
#2
|
|||
|
|||
|
yes my controls are asp controls but icant solve problem thanks again
|
|
#3
|
|||
|
|||
|
Are you using server contols or standard html controls.<br>The button and the label should be <div class="msgQuoteWrap"><div class="msgCode">asp:button and asp:label</div></div> in a form with runat="server" .<br>If you are using standard html controls you will have to write some additional code like in standard asp pages.<br><br>I think that you dont have a problem with IIS, because if there was a error in your codebehind the interface would not load as well.<br><br>I hope this will help you
<!-- Edit --><p><i>Last Edited : 4/29/2003 11:23:31 AM GMT</i></p> |
|
#4
|
|||
|
|||
|
The only trick with IIS is that the virtual directory has to have the same name as your VS.NET project.<br><br>For example if you have a VS.NET project named Test1 created in c:inetpubwwwroot , create also a virtual directory http://localhost/Test1/ that will hold the path c:inetpubwwwrootTest1
|
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > Whats the problem with you ASPNET.... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|