I am not sure why i am not able to call the server side event. Any help would be much appreciated:
<li>
<a href="" runat="server" onserverclick="btnRoomsForRentCount_Click">
<span class="fg1">2345</span><span class="nu1">Rooms for rent</span>
</a>
</li>
protected void btnRoomsForRentCount_Click(object sender, EventArgs e)
{
}
Thanks
Actually I found the code part you have provided here, is working perfect. It can be the problem with the any remaining part of code. Please check the rest of your code.
All the best...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.