.NET Daily

__doPostBack not trigger the Button Click event

Introduction

Darius

Darius

Darius Dumitrescu is a creative Senior CMS Consultant with in depth .NET knowledge, focused on Web Development and Architecture Design.


LATEST POSTS

Tips for Effective IT Projects Estimates 23rd December, 2017

Tips about Project Status Reports 05th October, 2017

Common .NET Exceptions

__doPostBack not trigger the Button Click event

Posted on .

Problem 1: You call __doPostBack javascript function to trigger a click event of a button but the event is not executed although Page_Load event is triggered;

Resoulution of Problem 1:

You probably used something like this:

Instead, you should use something like this:

So if you noticed, you need to send the UniqueID of the button, not the ClientID.

Darius

Darius

Darius Dumitrescu is a creative Senior CMS Consultant with in depth .NET knowledge, focused on Web Development and Architecture Design.

There are no comments.

View Comments (0) ...
Navigation