NewsBot
1
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
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