Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1140
RefreshRequest Event.fullPostback fails
posted

One of our apps leverages a tree control that triggers an async postback.  But, under select conditions, a full postback is required.   

The following javascript attempts to leverage the WARP RefreshRequest CSOM event to handle this:

function igWarpView_RefreshRequest(oPanel, oEvent, id)

{

if (hasEdits==true)

{ oEvent.fullPostback = true;

}

}

Using VisStudio 2008, I can step through this javascript and see that hasEdits is true and that oEvent.fullPostback gets set to true.  Next, I can trace through to the critical line of javascript in ig_shared.js and see that, in spite of the correct values, the call fails.  Here is the javascript in ig_shared.js:

if(evtO.fullPostBack)

return 'fullPostBack';

Again, I can check from VisStudio2008 and see that evt0.fullPostback=true, but it passes right on by.  If I insert a breakpoint, and move the cursor onto the return 'fullPostBack" line, it works perfectly.

Unfortunately, my javascript skills are weak.  But, I believe the code above in ig_shared.js should read:

if (evt0.fullPostBack==true)

return 'fullPostBack';

I tried editing the infragistics javascript, but am apparently not grabbing the javascript from the correct location as the edits do not show up. 

Anyone else attempting to leverage the fullPostBack property in the WARP CSOM with success?  What am I doing wrong?

Thanks

Parents
No Data
Reply Children
No Data