Skip to content Skip to sidebar Skip to footer

Calling Jquery Function From Gridview Link

After hours of trying every possible way, I give up. Maybe you guys can see what i'm doing wrong here. I have a GridView with a Delete button. On the ClientClick event i call a jav

Solution 1:

That won't work because $.msgBox is not a blocking function like confirm() is. Make sense? All that function is doing is showing some HTML. What you need to do is instead change your code from this:

if (result == "Yes") {
            bResult = true;
        }

To something like:

if (result == "Yes") {
 //perform postback here to delete the record. 
}

Post a Comment for "Calling Jquery Function From Gridview Link"