J
Jeffrey
I'm building a custom LinkButton control that will confirm a deletion
before processing it.
I've tried a few different things, some partially successful, and I
did find someone who had a script that does this (though I didn't like
the implementation so I'm still trying).
I'm wondering if there is any way to inherit the
System.Web.UI.WebControls.LinkButton class, and then overwrite how it
renders the "href='javascript:__doPostBack('....','')" attribute.
I figure that I could register a custom javascript with the page, and
then have the href point to my script, which then runs instead.
I can't figure out how to do this. Is it possible? If so, how?
Thanks,
Jeffrey
before processing it.
I've tried a few different things, some partially successful, and I
did find someone who had a script that does this (though I didn't like
the implementation so I'm still trying).
I'm wondering if there is any way to inherit the
System.Web.UI.WebControls.LinkButton class, and then overwrite how it
renders the "href='javascript:__doPostBack('....','')" attribute.
I figure that I could register a custom javascript with the page, and
then have the href point to my script, which then runs instead.
I can't figure out how to do this. Is it possible? If so, how?
Thanks,
Jeffrey