hello.
well, you've jot another atlas bug. the problem is that your initial page doesn't generate the traditional client code script block that initializes the potback. during the atlas callback, the server sends that script block but unfortunatelly the client atlas framework filters it and doesn't add it to the client script block since it thinks that it's already there. you can check this by looking at the debug/atlas.js, method _updateScripts:
if (text) {
if (text.indexOf('function __doPostBack(') >= 0) {
continue;
}
scriptText += text;
}
so, your best option is to:
1. use the defaultbutton because that will automatically generate the necessary code
2. use one of the getXXXreference method of the clientscriptmanager class.
for 2 to work, try to add this to your page:
Protected Overrides Sub OnLoad(ByVal e As System.EventArgs)
MyBase.OnLoad(e)
If Not Me.IsPostBack Then
Me.ClientScript.GetPostBackEventReference(Me, "")
End If
End Sub
hope this helps.
--
Regards,
Luis Abreu
email: labreu_at_gmail.com
EN blog:http://msmvps.com/blogs/luisabreu