how to disable asp.net page auto post back?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does anyone how how can we disable the auto-postback feature in asp.net page?
I have to use a server side control in the page, but the auto post back
feature in it causes problems for me. Please help!

Thanks much,
Junlia
 
Does anyone how how can we disable the auto-postback feature in
asp.net page? I have to use a server side control in the page, but the
auto post back feature in it causes problems for me. Please help!

You disable autopostback in the control itself... like a dropdown box or
such.
 
But my problems stems from the autopostback feature of asp.net page. I can
disable the autopostback feature on a control, but that does no good to my
problem.
 
But my problems stems from the autopostback feature of asp.net page. I
can disable the autopostback feature on a control, but that does no
good to my problem.


ASP.NET do not have autopostback - autopostbacks are caused by a specific
control on the page.

Perhaps you did not disable autopostback on all the controls?
 
Since I have to use a server side control, I have to use a form. The form
autopostback to itself as defualt.

And yes, I did set EnableViewState="False" for the control, which should
disable the autopostback feature for the control.

So more precisely, I need to disable the form's autopostback feature.

Thanks,
Junlia
 
Since I have to use a server side control, I have to use a form. The
form autopostback to itself as defualt.

And yes, I did set EnableViewState="False" for the control, which
should disable the autopostback feature for the control.

So more precisely, I need to disable the form's autopostback feature.

It's a control on your form that is doing the postback, not the form
itself.

Maybe could you post the HTML output of the form?
 

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

Back
Top