November 2005 - Posts

The Atlas InvokeMethodAction is case-sensitive
11-22-2005 11:21 PM

I spent quite some time trying to get my button to render a listview based on some data which I was retreiving asynchronously using Atlas.

Seems that the method property of the InvokeMethodAction is case sensitive, I was using "Select" and it kept failing, after I changed it to lower-case "select" everything just worked fine. Easy one to miss :-)

<atlas:Button runat="server" ID="SearchButton" CssClass="button" Text="Search">
  <Click
>
   
<Actions
>
      <atlas:InvokeMethodAction Target="searchDataSource" Method="select"
/>
   
</Actions
>
 
</Click
>
</atlas:Button>