newbie questions

  • Thread starter Thread starter Meir Rotfleisch
  • Start date Start date
M

Meir Rotfleisch

HI

I have a minor problem that I don't seem to be able to overcome..

I placed a if not page.ispostback clause in the page load however it
always does the initialization after pressing the command button. Is there
anyway to disable the autopostback of command buttons?

What am I doing wrong?

Regards

Meir
 
first you'll probably get better/ more help in the asp.NET newsgroups
but here is as far as i know
if you disable autopostback for the buttons you won't be able to handle the
events server side (you should still be able to handle them w script client
side)
but the sollution w if not page.ispostback should work, i have used it
before.

eric
 
Hi EricJ,

Why need a VB.language question from a Webform to be answered in the aspnet
server newsgroup?

Cor
 
Hi Meir,

In addition to EricJ (I fully agree with his answer), why you use a
serverside button if you don't want a connection with the server.

There are normal html buttons also in the toolbox from VB.net

I hope this helps

Cor
 
didn't say it can't be answered here (but most of the time there isn't much
response to webform questions here)
 
Hi Eric,

When it is VB.net more than in the asp.net group.
And I try to answer them all as you see.

You don't have to give an answer on this.

I know your answer.

:-)

Cor
 
Now now children, play nicely !!

Regards - OHM
for someone who dousn't ;p

so do i, as far as i can ;)

Best Regards - OHMBest Regards - OHM (e-mail address removed)
 
Back
Top