Author: safzal1212 | Posted on: 9/10/2009 11:21:11 AM | Views : 364

 
I have a link buttion
<asp:LinkButton ID="hypBackToSearch" PostBackUrl="" Text="[ BACK TO SEARCH RESULTS ]" runat="server" OnClientClick="return confirmExit();" ></asp:LinkButton>
as you can see there is a Java script method which is being called onClientClick and with that I want to call another server side method on the click of this buttion and I am using the fallowing code
Protected Sub hypBackToSearch_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles hypBackToSearch.Click Dim objSysUser As New clsSysUser objSysUser.SetContentLock(intContentID, intUserID, False) End Sub But the problem is when I click the buttion this even doesn't get called. I have another button which have simmiler functionality and its working fine the only difference ...

Go to the complete details ...