PDA

View Full Version : [CLOSED] Button post



Pyropace
Jan 03, 2013, 8:02 PM
Hi All, must be having a brain freez today

for some reason this is not posting or really doing anything. anything wrong with this ( using mvc btw )


<ext:Button runat="server" Text="Search" ID="btnSearch" Icon="Magnifier">
<DirectEvents>
<Click Url='<%# Url.Action("GetSite") %>' Method="POST" FormID="FormPanel2" />
</DirectEvents>
</ext:Button>

Vladimir
Jan 03, 2013, 10:14 PM
Try to set AutoDataBind="true" for Click event