Click here to Skip to main content
15,867,594 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have put the Pivot Grid Control in partial update panel, and load the control Asynchronously.

if i do like this,the Pivot grid Functionality are not working.(Because of RaisePostBackEvent not fired)

I want to fire the RaisePostBackEvent Manually through javascript.

if i try to fire RaisePostBackEvent through _doPostBack Event.

Thats also not Fired.

My code:

GridID is the Pivot Grid Client ID.got from client side event.

C#
function __doPostBack(eventTarget, eventArgument) {
var clientUpdatePanelID = GridID.substring(0, GridID.lastIndexOf("_"));
while (true) {
if (GridID.indexOf("_") == -1)
break;
GridID = GridID.replace("_", "$");
}
 
if (GridID == eventTarget) {
$find(clientUpdatePanelID).doPostBack(eventTarget, eventArgument);
return;
}
 
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}

Please guide me resolve this issue.
Posted
Updated 11-Sep-13 22:59pm
v2
Comments
Mahesh Bailwal 12-Sep-13 5:04am    
From where you get reference to write postback event like this.
Mehdy Moini 15-Sep-13 2:02am    
did you test overriding __doPostBack?
http://weblogs.asp.net/sbehera/archive/2005/08/04/421578.aspx
http://www.codeproject.com/Questions/526086/overrideplus__dopostbackplusmethod

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900