Showing posts with label regular. Show all posts
Showing posts with label regular. Show all posts

Wednesday, March 28, 2012

Atlas without web services.

All the examples I have seen on Atlas uses web services. I want to use regular aspx methods instead. Is it possible to write an Atlas application that for every 5 seconds call a method in a regular aspx file to check for changes and based on the result of the method updates only a part of a page? Can anyone show some example code?I figured this out. Sorry for bothering you.

hello.

just one more thing: don't forget that page methods are really expensible...if you can, use a web service method to check the update condition.


I have seen both ways and I noticed using web services are more emphasized.

Why are using web services any quicker ?

Monday, March 26, 2012

Atlas Validators

Hi,

I am trying to replace the regular validators with atlas validators. When I put regular validators into an updatepanel which EnableClientScript is true it always throws error. Any sample or code snippet will be really helpful.

The atlas validators only exist in the client-side library at this moment. To use them, write client-side Atlas script code yourself. I don't think you can simply implement an Extender control, since I believe they render to tags while validators should be added to the validators property of an Atlas control instead.

To associate a required field validator, you can write some code like:


<control id="someHTMLInputElement">
<validators>
<requiredfieldvalidator .. />
</validators>
</control>

Thanks Wilco for your reply. I am an real admirer of your work. But how can I prevent a from to get posted if any of the validators failed?