Try our conversational search powered by Generative AI!

Button Postback Error in BlockTemplate

Vote:
 

Hi all,

I'm having some trouble implementing a simple web forms button postback inside of a BlockTemplate. My implementation is simply an ASP Button server control within a custom block template user control ASCX which is bound to a standard click event handler.

When the button is clicked, I get an "invalid postback or callback argument" exception. I've seen this post about event validation in .NET 2.0, but I'm running .NET 4.0. I would rather avoid switching event validation off, especially as what I'm trying to accomplish is pretty basic.

Any help or pointers much appreciated.

Cheers,

Nat

#91232
Sep 30, 2014 15:18
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.