1. I have installed iis v5.1 - runs ok (http://localhost... )
2. I have also installed VStudio.Net, no problem.
3. I have started my first project on C#, which consists on a webform, some controls, and a hyperlink buttons.
My problem is: when run the application, the browser (I've tried with ie, mozilla & opera ) shows the page. The html seems to be ok, but no action at all occures.
I have used break points to make sure no action at all runs after javascript calls submit() function.
In my oppinion, theres something I haven't done , probably a question of folder/file project config, permits... dunno.
I will appreciate any help, thx
Have you build the solution?
Grz, Kris.
Hi,
First of all... thx for answering.
Yes, I have also tried building de solution, but had no success.
In my oppinion, it is more a question of assigning the right permissions or so, because aspx code doesn't run even when I run "Debug" from Visual studio.
Running debug (F5), for example, shows the page correctly. If I place the cursor over the hlinkbuttons it shows the jscript function call to the right event handler "__doPostBack(hlCon,'')". But, when I click the button, nothing happens, the page refreshes but nothing happens.
For example, what I've done now is a Step by step debug (F11) and the browser opens, shos the template, but no action / interruption occurs.
(I write the shortkeys cause I'm working with the Spanish version of Visual studio, inn order to avoid a mistake with menu names)
I'm a little bit lost with this, and also a little bit desperated... :(
thx for your help in an advice, url, or whatever way.
Juanjo.
PS: There's only one more thing... I dunno if it will help. When I created the first Webform, I changed the name from Webform1 to index, in order to convert the page as default one. (My iis admits index.aspx as def. page).
uhmm...
does your page declaration match with the name of your code-behind?
does your Codebhind attribute match the code-behind file? doesthe "Inherits" match the name of your class of your code-behind?
Yes, it does...
the problem was I was specting the same behaviour from a linkbutton Click than from a buttons.
I'm sorry, to waste your time with this stupidity.
Thx to all for reading and helping me.
0 comments:
Post a Comment