Hi

We are using ASP.NET on IIS5 to process requests
in a database.

How can one make choices in the .aspx based on
if a user has or hasn't changed a field? Is it possible
to control the ASP.NET environment by use of
some client side scripting ( ?changes=yes to URL)
or is there a way to tell in .aspx which Label elements
has changed?
Only solution i can think of currently is to query the
DB and then do an field by field comparision. Is that
the best way?

- Sten

Re: Avoiding query timeouts in ASP.NET ? by Bob

Bob
Fri Aug 13 09:06:22 CDT 2004

There was no way for you to know it, but this is a classic asp newsgroup.
While you may be lucky enough to find a dotnet-savvy person here who can
answer your question, you can eliminate the luck factor by posting your
question to a group where those dotnet-savvy people hang out. I suggest
microsoft.public.dotnet.framework.adonet.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"



Re: Avoiding query timeouts in ASP.NET ? by Kristofer

Kristofer
Fri Aug 13 11:04:25 CDT 2004

Hello,

Be very carefully when trusting client side code. A client can very easily
fake a change, when nothing has changed, and can cause problems depending on
what your application is about.

One way to solve your problem is to use hidden fields.

I suggest that you try in a newsgroup about ASP.NET, for example:

microsoft.public.dotnet.framework.aspnet

--
Regards,
Kristofer Gafvert - IIS MVP
http://www.ilopia.com - When you need help!


"Sten Westerback" <sten.westerback@NO_SPAMnokia.com> wrote in message
news:nQ3Tc.22610$g4.426598@news2.nokia.com...
> Hi
>
> We are using ASP.NET on IIS5 to process requests
> in a database.
>
> How can one make choices in the .aspx based on
> if a user has or hasn't changed a field? Is it possible
> to control the ASP.NET environment by use of
> some client side scripting ( ?changes=yes to URL)
> or is there a way to tell in .aspx which Label elements
> has changed?
> Only solution i can think of currently is to query the
> DB and then do an field by field comparision. Is that
> the best way?
>
> - Sten
>
>
>



Re: Avoiding query timeouts in ASP.NET ? by M

M
Sat Aug 14 15:01:14 CDT 2004

well this is pretty easy to acomplish on the client ( HTML ) side, if you
add handling code to the onchange event of a html textbox control
you can then post these changed values to a hidden frame



"Sten Westerback" <sten.westerback@NO_SPAMnokia.com> wrote in message
news:nQ3Tc.22610$g4.426598@news2.nokia.com...
> Hi
>
> We are using ASP.NET on IIS5 to process requests
> in a database.
>
> How can one make choices in the .aspx based on
> if a user has or hasn't changed a field? Is it possible
> to control the ASP.NET environment by use of
> some client side scripting ( ?changes=yes to URL)
> or is there a way to tell in .aspx which Label elements
> has changed?
> Only solution i can think of currently is to query the
> DB and then do an field by field comparision. Is that
> the best way?
>
> - Sten
>
>
>