tag:blogger.com,1999:blog-7531459993417803686.post7903028837679203881..comments2023-10-18T04:02:07.986-07:00Comments on Assorted SharePoint Thoughts - Chaitu Madala: Loading a SharePoint Web Part asynchronouslyAnonymoushttp://www.blogger.com/profile/10868654749994006142noreply@blogger.comBlogger18125tag:blogger.com,1999:blog-7531459993417803686.post-27645503757558128872011-07-28T11:34:49.244-07:002011-07-28T11:34:49.244-07:00Hi Matt
You need to have some level of programmin...Hi Matt<br /><br />You need to have some level of programming knowledge to be able to wrap your web part into this framework.<br /><br />Just let me know if you need more help when you get your source code and we can work something out.Anonymoushttps://www.blogger.com/profile/10868654749994006142noreply@blogger.comtag:blogger.com,1999:blog-7531459993417803686.post-91046432510278432922011-07-27T10:41:13.920-07:002011-07-27T10:41:13.920-07:00Ok, so assuming I could get a hold of the source c...Ok, so assuming I could get a hold of the source code...what do I do with it? I looked at the sample project you posted and there seems to be a lot in there. I'm assuming I wouldn't need all of it?Matt Guditesnoreply@blogger.comtag:blogger.com,1999:blog-7531459993417803686.post-10904497256322130732011-07-27T06:02:07.435-07:002011-07-27T06:02:07.435-07:00Hi Matt,
It is not possible to load a web part wi...Hi Matt,<br /><br />It is not possible to load a web part with out modifying its source using this approach..Anonymoushttps://www.blogger.com/profile/10868654749994006142noreply@blogger.comtag:blogger.com,1999:blog-7531459993417803686.post-82863064617894568332011-07-27T05:56:44.053-07:002011-07-27T05:56:44.053-07:00Same question as kunjan...how do you implement thi...Same question as kunjan...how do you implement this?! I'm not a programmer, I'm a Sharepoint administrator. I have one web part that I do not have source-code access to, that I want to make load asynchronously.Matt Guditesnoreply@blogger.comtag:blogger.com,1999:blog-7531459993417803686.post-24136701028722649472011-07-21T06:40:47.245-07:002011-07-21T06:40:47.245-07:00Hey Chaitu, my existing webpart is not a visual we...Hey Chaitu, my existing webpart is not a visual web part its a custom web part. I am using SharePoint 2010, and my development experiment is junior.kunjanhttps://www.blogger.com/profile/14802375612473343753noreply@blogger.comtag:blogger.com,1999:blog-7531459993417803686.post-48064534909274356172011-07-20T14:24:11.963-07:002011-07-20T14:24:11.963-07:00If your existing web part is not a visual web part...If your existing web part is not a visual web part, it may be quite easy to wrap it in this framework. What is the version of SharePoint that you are using? (2007/2010?) What is your development experience? junior / mid-level / senior developer?Anonymoushttps://www.blogger.com/profile/10868654749994006142noreply@blogger.comtag:blogger.com,1999:blog-7531459993417803686.post-15447723754149730322011-07-20T13:40:15.583-07:002011-07-20T13:40:15.583-07:00Hey Chaitu..this link contains the same data which...Hey Chaitu..this link contains the same data which you have displayed here.kunjanhttps://www.blogger.com/profile/14802375612473343753noreply@blogger.comtag:blogger.com,1999:blog-7531459993417803686.post-82594477088786657202011-07-20T12:51:15.451-07:002011-07-20T12:51:15.451-07:00Kunjan.. Here is some documentation: http://asyncw...Kunjan.. Here is some documentation: http://asyncwebpartframewrk.codeplex.com/documentationAnonymoushttps://www.blogger.com/profile/10868654749994006142noreply@blogger.comtag:blogger.com,1999:blog-7531459993417803686.post-80957040405186915902011-07-20T12:31:56.215-07:002011-07-20T12:31:56.215-07:00Can you provide some document or set of procedure ...Can you provide some document or set of procedure steps to implement this to existing webpart.kunjanhttps://www.blogger.com/profile/14802375612473343753noreply@blogger.comtag:blogger.com,1999:blog-7531459993417803686.post-89572496341688938902011-06-08T13:11:42.081-07:002011-06-08T13:11:42.081-07:00Unfortunately, visual web parts do not work well w...Unfortunately, visual web parts do not work well with this approach. All the controls need to be web controls.Anonymoushttps://www.blogger.com/profile/10868654749994006142noreply@blogger.comtag:blogger.com,1999:blog-7531459993417803686.post-64307724696939178302011-06-08T12:56:36.880-07:002011-06-08T12:56:36.880-07:00I see your solution does not contain any Visual We...I see your solution does not contain any Visual Web Part (the UserControl particulary). So how can I apply this if I have created a Visual Web Part? Do I need to get rid of the user control and generate every control and HTML programatically? <br />Maybe I'm missing something silly.<br />Thanksemzeronoreply@blogger.comtag:blogger.com,1999:blog-7531459993417803686.post-13555847461303114932011-06-01T07:52:43.353-07:002011-06-01T07:52:43.353-07:00Yes. You can by calling the setTimeout function.
...Yes. You can by calling the setTimeout function. <br /><br />I have not tested this but you can try the below:<br /><br />this.Page.ClientScript.RegisterStartupScript(typeof(Page),<br /> "startupScript" + this.ClientID,<br /> string.Format(setTimeout("AsyncWebPartGetData('{0}','{1}','{2}','{3}','{4}', '{5}');",<br /> (RowLimit != null) ? RowLimit.Replace("'", Constants.SingleQuoteReplacer) : "",<br /> (UsePaging != null) ? UsePaging : false,<br /> (CacheResultMinutes != null) ? CacheResultMinutes : 0,<br /> (Page.Request.QueryString["startRow"] != null) ? Page.Request.QueryString["startRow"].ToString() : "",<br /> String.Format("{0}_{1}_{2}", Constants.CacheKey_AsyncWebPart, CurrentUserId, this.ClientID),<br /> _contentContainer.ClientID),2000),<br /> true);Anonymoushttps://www.blogger.com/profile/10868654749994006142noreply@blogger.comtag:blogger.com,1999:blog-7531459993417803686.post-30690678195599226432011-05-31T13:55:33.748-07:002011-05-31T13:55:33.748-07:00Is there a way I can add a timer to refresh the we...Is there a way I can add a timer to refresh the web part asynchronously every X seconds?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7531459993417803686.post-80682360171369342032011-03-03T12:47:07.748-08:002011-03-03T12:47:07.748-08:00Peter,
You will have to create new properties fro...Peter,<br /><br />You will have to create new properties from Viewstate/Page if possible (that is the reason why I am passing the current Url i.e. Page.Request.QueryString["startRow"] via a property to the web service) and pass them to the asmx web service. The page object will always be null because its a static object.Anonymoushttps://www.blogger.com/profile/10868654749994006142noreply@blogger.comtag:blogger.com,1999:blog-7531459993417803686.post-7524440172672449252011-03-03T11:59:53.487-08:002011-03-03T11:59:53.487-08:00Hi
I am having a small issue.
That usercontrol t...Hi <br /><br />I am having a small issue.<br />That usercontrol that I use, need to cooperate with Page object or Viewstate.<br />Page is each time null.<br />Can you tell me another solution how can I get reference to Page object?<br />ThanksUnknownhttps://www.blogger.com/profile/07274208528957094199noreply@blogger.comtag:blogger.com,1999:blog-7531459993417803686.post-11059331103417038832011-02-08T08:46:27.456-08:002011-02-08T08:46:27.456-08:00Hi Sharad,
This framework works only with custom ...Hi Sharad,<br /><br />This framework works only with custom web parts.<br /><br />But in your case, as you are using CEWPs, you should be able to load them pretty easily after the page loads through js/jqueryAnonymoushttps://www.blogger.com/profile/10868654749994006142noreply@blogger.comtag:blogger.com,1999:blog-7531459993417803686.post-15747367582748681242011-02-08T08:45:43.113-08:002011-02-08T08:45:43.113-08:00Hello I like this concept as our landing page on S...Hello I like this concept as our landing page on SP2010 is taking a long time due to CEWP of Weather and one market webpart which has google map traffic.. can we embed these with your code.. we can pay u consulting fees for this.. pls contact me at schoud7@uic.edu or 312-355-4124Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7531459993417803686.post-70938559043792907642011-02-08T08:13:18.938-08:002011-02-08T08:13:18.938-08:00We have a few webparts which are taking a long tim...We have a few webparts which are taking a long time to load... For example .. Weather which is written in Content editor Webpart and Google Maps for traffic whcih we bought .. can we apply this to them.. Can you pls help us with some documentation to set it up.. My email is schoud7@uic.edu ... SharadSharadhttps://www.blogger.com/profile/10683324051517080433noreply@blogger.com