Hi all,

in the examples, about XTemplate there is no hint in adding an Ext control inside the template tag.
Is that possible? How can I add an Ext Button firing AjaxEvent per each row inside XTemplate?

I tried something like this, with no success.


<tpl for=".">
                <div class="{[xindex % 2 === 0 ? "odd" : "even"]}">
                    <p>Name: {Name}</p>
                    <p>Url: {[values.UrlReport.toUpperCase()]}</p>
                    <ext:Button ID="Button2" runat="server" Text="Click Me">
                            <Click OnEvent="Button_Click">
                                <EventMask ShowMask="true" />
                                    <ext:Parameter Name="Item" Value="={Name}" />
                    <tpl if="[xcount - xindex] &amp;gt; 0">
                        <hr />


Thanx a lot