I am using WARP control(9.1.20091.2190) and i defined webdatagrid inside it.But if i click button on page the webdatagrid is not showing data it simply showing the lines.
Please refer attached source files for your reference.
Thanks & Regards
Hello Obalesu N,
Thank you for posting in the community.
WebAsyncrefreshPanel has been designed to work with our Classic controls which are not Ajax Extentions dependent. Since you are using WebDatGrid, which is built on the Aikido framework(that means it is Ajax Extensions dependent) what I can suggest is consider using the UpdatePanel instead of WebAsyncRefreshPanel. Some further reference about UpdatePanel could be found at:
Additionally, please ensure that the WebDataGrid is being bound on every postback. If the data is not present for the grid on postback the grid can be displayed blank.
I hope this information helps in resolving the issue.
Feel free to contact me if you have any additional questions regarding this matter.
Thanks for reply and as you said i am using updatepanel instead of WARP control.UpdatePanel is working fine for my usercontrol but if i port this usercontrol in sharepoint(2007) webpart updatepanel is not working.
Can you please suggest how do we use updatepanel with webdatagrid in sharepoint(2007) webpart.
Thank you for your response.
What I can suggest for resolivng you issue is adding a ererence to Microsoft.Practices.SPG.AJAXSupport.dll. Add a SafeScriptManager control to your page and set the EnableUpdatePanelSupport flag to true. This changes the postback script that is needed for the UpdatePanel control to work in a SharePoint environment. For example:
Assembly="Microsoft.Practices.SPG.AJAXSupport, Version=184.108.40.206, Culture=neutral, PublicKeyToken=8768CCAE1C3C9EB2"
EnableUpdatePanelSupport = “True”
<asp:UpdatePanel runat=”Server” id=”MyUpdatePanel”>
Some further reference could be found at:
I hope this helps. Feel free to contact me if you have any additional questions regarding this matter.
Thanks for your reply,I did not find above mentioned dll(Microsoft.Practices.SPG.AJAXSupport.dll) in my machine where can we download this dll.