Pls end my nightmare! howto getrid of webform_savescrollpositionsu

G

Guest

I am using ASP.NET 2.0 C#

I am getting errors when I publish my site. It works fine on our local
server.

Pages that have maintainscrollpositiononpostback=true set, get errors such
as: "loaded with error"; webform_savescrollpositionsubmit not found.

View source says page is loking for websource.axd.

In my local machine, that file is apprantly in the right place.
In the remote server it's not.

Any ideas or do I need to tell it to create this axd file in some absolute
path.

If there is another way of getting around this problem, I would love to hear
it.

Thank you so much
 
J

Jason Kester

Pages that have maintainscrollpositiononpostback=true set, get errors such
as: "loaded with error"; webform_savescrollpositionsubmit not found.

Yikes! End your own nightmare! Quit using built-in garbage like
maintainscrollpositiononpostback and deal with this trivial issue
yourself. Count the number of hours you've spent trying to work
around this little "magic" feature. Now imagine the nice compact
little piece of script you could have written by hand to solve your
exact problem.

Here's a bit of advice that will make your life a bit easier: Never
use any language feature containing the word "Smart" or "Magic" (or
more than 25 characters long, such as
MaintainScrollPositionAndDoABunchOfRandomOtherStuffToMakeMyLifeAlivingNightmare).
Those things are not intended for real developers doing real work.
They are for executives drag/dropping their way to a silly prototype.
As you have noticed, features like this never actually work in the
real world.

Good luck!


Jason Kester
Expat Software Consulting Services
http://www.expatsoftware.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top