Hi,
I have a problem on usage of WARP.
I have a UltraWebGrid within a WARP and Ultra Web Menu outside WARP. The WebMenu pops up on right click on any cell of DataGrid.
As i do not want whole of the page to get refreshed on click of any menu in WebMenu , I have chosen WebMenu ID in TriggerControlID property of WARP.
I need to download file from server on click on one of the menu Items.
The Download file dialolg does not popup as the WebMenu ID in assigned in TriggerControlID property . Could you please suggest me a work around for this other than unchecking UltraWebMenu ID in TriggerControlID property of WARP !!
Help would be greatly appreciated as its very urgent.
Thanks in advance.
Nuthan.
Within async request of WARP you can not do anything on server besides access to content of WARP. The response of server will be converted to a value which can be recognized on client only by WARP.
If you plan to access/modify content of controls outside of WARP or do any other action on server, then you should use full postback. WARP allows you to exclude child-controls from async postback (TriggerPostBackIDs, Add/RemoveTriggerPostBack, dynamic processing ClientSideEvents)
Hi
I am using Gridview in a WARP control. My GridView Contains link buttons as Template Control. By clicking that LinkButton I have to Download some file from server. When i Try above mentioned menthod and changing WARP control's TriggerdPostnackIDs ... its not allowing to download file. Please help me with this. I appreciate your help with this. Thank you.
Hi Nuthan,
function WebAsyncRefreshPanel1_RefreshRequest(oPanel,oEvent,id){ var idToCancel = "xxxxx"; if(id == idToCancel) oEvent.cancel = true;}
You may try to debug by checking value of id in different situation. It will help you to get exact events which you want to cancel.