Sunday, March 11, 2012

2 doubts about atlas

Anyone have any idea?
Well,

1) No, only the data that is needed for the non-postback is used in the xmlreq, which you can specify by what you put in the update panels. You can confirm this by using Fiddler while browsing a page that uses that mechanism ..

2) Your second item is really just an application, although I've never personally used the atlas listview much .. I would imagine that by sending another request for a partial update, the previous request would become invalid and the last set of data (that is still sending) would stop, then the new data would return normally .. )

Sheri,

1 - I would recommend using a tool like Web Development Helper available by Nikhil Kothari athttp://projects.nikhilk.net/Projects/WebDevHelper.aspx . It allows you to see the request and response data for an XMLHttpRequest

2 - The Atlas server calls are performed Async. so it would send another "search query" to the server and display the first results until the response was recieved for the second. Such as an AutoComplete behavior retrieves a listing for each letter entered in a text box.

Hope is helps.....


Thanks you both for your replies :)Smile

hello.

1. yes, all the form fields that exist on the page are sent back to the server (ie, all input, select, textareas - even hidden fields are sent back). I'm saying this since i'm assuming that you're using an updatepanel. if you have several fields on a page and you just need to send one of them to the server, then you should consider using web service method calls since theey're a lot more performant than using updatepanels.

2. again, this only applies if you're using updatepanels. when you have updatepanels, you can only have one partial call at the time, ie, if you clicked the button and then clicked again before getting the results from the server, that last postback won't really happen since it'll be discarded automatically by the client side of the platform. on the other hand, if you're invoking a web service method, then you can make several calls without getting a response from the server...

No comments:

Post a Comment