D
Dennis
my company has a large web site written in old asp, vbscript, and a little
javascript.
I am trying to convert it over to ASP.NET C# as we add new features instead
of having to write the new items in both the old crap and new format.
I have one of the old pages calling an aspx page which displays correctly
BUT when I put the events (for example a Button Click event) in the code
behind it fails. I tried to move the C# code into the top of the aspx page
and it works just fine.
Any clue what I am missing or have not set in the IIS config maybe? I even
went into IIS and changed the settngs on the directory I have placed the
aspx, .cs, & .dll files so that it is "script & executable" now but that
didn't help.
I will also need to be able to pass session state and parameters between the
asp & aspx pages if that is possible, so does anyone have any good examples
or point me to any articles on the subject?
sorry if these are obvious questions, I am mostly a WinForms developer so I
don't fully have down all the quirks of Web Site development / setup.
thanks in advance
Dennis
javascript.
I am trying to convert it over to ASP.NET C# as we add new features instead
of having to write the new items in both the old crap and new format.
I have one of the old pages calling an aspx page which displays correctly
BUT when I put the events (for example a Button Click event) in the code
behind it fails. I tried to move the C# code into the top of the aspx page
and it works just fine.
Any clue what I am missing or have not set in the IIS config maybe? I even
went into IIS and changed the settngs on the directory I have placed the
aspx, .cs, & .dll files so that it is "script & executable" now but that
didn't help.
I will also need to be able to pass session state and parameters between the
asp & aspx pages if that is possible, so does anyone have any good examples
or point me to any articles on the subject?
sorry if these are obvious questions, I am mostly a WinForms developer so I
don't fully have down all the quirks of Web Site development / setup.
thanks in advance
Dennis