From: Manu Temmerman-U. <man...@gm...> - 2006-03-20 06:47:14
|
AutoPostBack is a property that exists for non-anthem controls. Since (unti= l now) all anthem controls inherit from normal asp controls, they also inheri= t the autopostback property. When a control has its autopostback property set to true it's 'basic' event (I don't know how to say this correct) will caus= e his browser to do a 'normal' postback. Like submitting a form on a page. What the user sees is that the whole page is being refreshed. AutoCallBack is a property added for anthem controls. I guess doing a callback is kinda the basics of ajax. You retrieve info on the server without doing a postback, without refreshing the whole page. So if you for example have a dropdownlist on your page and it has its autopostback property set to true, then changing its selected index will cause the complete page to refresh. If on the other hand you set its autocallback property to true, then changing the selected index will cause a callback. Just as with a complete postback, you will reach its OnSelectedIndexChanged eventhandler method. Yo= u will do whatever in that method. The only controls that will be refreshed on the page are the ones for who you set the UpdateAfterCallBack property on true. I hope this makes it a little bit more clear. I guess you are missing some basic understanding here and there... But you are lucky Anthem is extremely easy to use ;) Have fun! Manu. On 3/19/06, Ujjaval Suthar <uj...@gm...> wrote: > > As far as I understand, AutoPostBack property enables the autopost back o= f > the page whenever an event occurs on that particular Anthem control. But = I'm > not sure about AutoCallBack? > > Thanks, > Ujjaval > > > On 3/20/06, Manu Temmerman-Uyttenbroeck < > man...@gm...> wrote: > > > > Do you know what the AutoPostBack property on a control means? That > > would be a good start. > > > > Manu. > > > > > > On 3/18/06, Ujjaval Suthar < uj...@gm...> wrote: > > > > > > Hey all, > > > > > > Whats the difference between AutoCallBack and AutoPostBack properties > > > of checkbox or similar anthem controls? > > > > > > Thanks, > > > > > > Ujjaval. > > > > > > > > > > -- > Ujjaval Suthar > Mobile : +61 - 0431 152 757 > |