AjaxDataControls V2 - Feature Preview

I have working on and off on version 2 of the AjaxDataControls. One feature that I wanted to implement and use was the databind items to all controls via the Eval() method. With the help of Onur, one of our ADC developers, we have now this ability to do so. Now instead of using the ItemDataBound event you can use directly the Eval method in your markup, which will look something like this:

<AjaxData:Repeater ID="Repeater1" runat="server">
  <ItemTemplate>
    Name: {{ Eval(FirstName }}
    Last mame: {{ Eval(LastName }}
    Age: {{ Eval (Age) }}
  </ItemTemplate>
</AjaxData:Repeater>

More examples will be coming soon.

Published Friday, January 30, 2009 11:09 AM by sonu
Filed under: ,

Comments

# AjaxDataControls V2 - Feature Preview

Friday, January 30, 2009 10:13 AM by DotNetShoutout

Thank you for submitting this cool story - Trackback from DotNetShoutout

# re: AjaxDataControls V2 - Feature Preview

Thursday, March 11, 2010 3:55 PM by Rakeshv188

Hey don't stop developing this.. your controls are cool..