Sunday, March 11, 2012

Combining Partial Rendering with normal postback

No one knows yet how to do that. It might not even be possible for the December release. I could really use that functionality as well.

In fact, your form is being posted back, it just doesn't refresh the screen :) Sorta useless, eh?


Yes, it seems like it does an xmlhttp post, but it doesn't get the response that it expects.

Hopefully it will be implemented shortly, I am looking forward to using Atlas in a production environment.


you can do postbacks!

use regular html controls

like submit button

controls that have "runat=server" are doing AJAX

but if u use some JavaScript

somting like -form1.submit();

walla there u have post back.

u can use the 'doPostBack('','') to set some values in view state if u need them

and form.submit(); will enable u to postback.

like the old good programing with asp 3.0


Thanks, I was aware that you could manually submit the form, but I when you can't use runat=server, you can't use normal server side events without doing some workarounds, which I was hoping I wouldn't have to.

ah, ok, explains my situation too.

"like the old good programing "

You mean "like the old BAD programming" right? :)


Well, this sucks.. I was soooo looking forward to this release, had sooo many troubles getting it and then hit this issue - I tried to use update panels to dynamically change UI depending on drop-downs or checkboxes selected and a button to post everything back to the server and... no luck.. Well, that's unfortunate - I don't want to postpone my project for another month or longer and will either have to use other frameworks or forget about AJAX...

No comments:

Post a Comment