I have 2 button controls. When I click one i'm trying to determine which one caused a postback in the page load. How to do determine this?
.net – How to determine which button caused postback
asp.netnetpostbackvb.net
Related Topic
- C# – How to update the GUI from another thread
- C# – jQuery UI Dialog with ASP.NET button postback
- C# – How to remedy “The breakpoint will not currently be hit. No symbols have been loaded for this document.” warning
- Maximum request length exceeded.
- C# – a NullReferenceException, and how to fix it
- .net – ‘Microsoft.ACE.OLEDB.12.0’ provider is not registered on the local machine
- Which control caused the postback
- Scala: list.flatten: no implicit argument matching parameter type (Any) = > Iterable[Any] was found
Best Answer
What about using CommandName and CommandArgument has shown in this example. This way you can have just one handler.