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:
{
{ 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:
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)
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
Hi,
I think problem is in oEvent.fullPostback instead of oEvent.fullPostBack (B should be capital).