Skip to content Skip to sidebar Skip to footer

Asp.net Ajax

I have a custom control that has the following prototype. Type.registerNamespace('Demo'); Demo.CustomTextBox = function(element) { Demo.CustomTextBox.initializeBase(this, [ele

Solution 1:

You can use the __doPostBack method to do this, which has a signature of:

function__doPostBack(eventTarget, eventArgument)

So it would be something along the lines of:

__doPostBack(this.get_element().id, 0);

Or you can optionally pass an argument along with the event if desired.

Post a Comment for "Asp.net Ajax"