Jump to content

Recommended Posts

Posted

Hi guys,

 

I just cannot get AJAX Update panel to perform as I expect.

 

I am in VS2008, a new ASP.NET website,

 

add a ScriptManager

add an UpdatePanel

Inside Update Panel, add a button

 

In the buttons OnClick() event, add the following

 

Button1.Text = DateTime.Now.ToString();

 

Problem:

 

Every time I press the button, I get a full postback!!!

I have tried lots of examples from the web and get full postbacks on all of them.* I am using the built in webserver with VS2008

 

Update:* Just noticed also, that for a micro second I get the "Done but with Errors on Page" flash in the status bar.* I can also run demo AJAX pages from websites without fault.

 

Can anyone point me in a direction to investigate ?* Full code to webform below.

 

 

 

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

 

Untitled Page

 

 

 

 

 

Thanks

 

Mike

 

More...

 

View All Our Microsoft Related Feeds

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...