PDA

View Full Version : [CLOSED] Row count in c#



speedstepmem4
Nov 18, 2008, 9:05 AM
hi,

The below code is not working. i got an error Type 'Coolite.Ext.Web.ComponentAjaxEvent' does not have a public property named 'ExtraParams'. please help me.

<ext:Button runat="server" Text="Count" >
<AjaxEvents>
<Click OnEvent="CountClick">
<ExtraParams Name="Count" Value="#{GridPanel1}.store.getCount()" Mode="Raw" />
</Click>
</AjaxEvents>

</ext:Button> protected void CountClick(object sender, AjaxEventArgs e)
{
string strCount = e.ExtraParams["Count"];
int count = int.Parse(strCount);
}

thanks.

geoffrey.mcgill
Nov 18, 2008, 9:22 AM
Hi,

You already have a thread with this topic submitted only minutes ago, see http://forums.ext.net/showthread.php?postid=4037.aspx 


Please do not double-post. 

speedstepmem4
Nov 18, 2008, 9:31 AM
ok. sorry..