Asynchronous visual webpart for SharePoint 2013

HI,
How to create asynchronous visual webparts in SharePoint 2013 (VS 2012) . I can see lot of examples for 2010 version, but not for SP 2013.
I have 2 visual webparts, which I want to make it as a asynchronous webpart. One webpart has the code written in Javascript client object model(loads lot of images), another is a server side webpart which has a SPGridview.
Is there any sample code available for SP 2013?
Thanks

Hi,
Please try to convert the SharePoint 2010 project to SharePoint 2013.
http://sadomovalex.blogspot.kr/2013/02/convert-visual-studio-sharepoint-2010.html
In SharePoint 2013, we can create a visual web part, then we can use jQuery Ajax and REST API to achieve asynchronous data loading.
More information:
http://www.dotnetcurry.com/showarticle.aspx?ID=1009
http://asyncwebpartframewrk.codeplex.com/releases/view/52459
Thanks,
Dennis Guo
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Dennis Guo
TechNet Community Support

Similar Messages

  • Windows Updates for SharePoint 2013 Environment

    Hi
    I created a visual machine for SharePoint 2013 development by following steps mentioned below.
    --Install Winows Server 2008 R2
    --SQL Server 2008 R2
    --SP2 for SQL Server 2008 R2
    --SP1 for Winows Server 2008 R2 
    --Sharepoint 2013 Pre-Requisites
    --Sharepoint 2013 Setup
    --Sharepoint 2013 Designer
    --Installed March and August 2013 Cumulative Updates for SharePoint 2013
    --Installed SP1 for SharePoint 2013
    I want to ask do i need to install Windows Updates after installing different updates as i mentioned above because everty now and then windows updates message keep pops up and i did'nt install windows updates yet.
    Why is it necessary or what impact window updates would have on my environment if i need to do it??

    Windows Updates cover security updates as well as stability improvements, and so on. You're simply patching SharePoint and SQL in the above case.
    It should be noted that any SharePoint patches that come down through Windows Update need to be manually handled as you'll need to run the Config Wizard (e.g. MS14-022 and MS14-050 which are SharePoint updates).
    When you're installing SharePoint 2013, you only need to install SP1 if that is your target. There is no requirement to install March 2013 or August 2013.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Which one is your preferred workflow solution for SharePoint 2013

    Which workflow solution will you prefer for SharePoint 2013.
    1) SharePoint 2013 Designer Workflows
    2) Custom Workflows using Visual Studio7
    3) OOB Workflows2
    4) Nintex 2013 Workflows21
    5) K2 Workflows for SharePoint
    I need your opinion on above choices.
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer :)

    Check below:
    http://sangameh-sp2013.blogspot.in/2013/02/state-machine-workflow-in-sharepoint.html
    http://www.concurrency.com/blog/workflow-changes-in-sharepoint-designer-2013/

  • Megamenu for Sharepoint 2013

    Hi,
    I would like to construct a 2 level megamenu for sharepoint 2013 on a page, using out of the box features along with scripts, but not visual studio at all. Is it possible ? Can any one please help me, if they have prior experience in this. 
    Many thanks for your response !
    Regards

    Hi Prajik
    This can be done using Out of the Box Navigation and with little tweaking in Jquery
    http://www.nothingbutsharepoint.com/2013/03/19/how-to-achieve-a-mega-menu-using-out-of-the-box-navigation-in-sharepoint-2013-and-jquery-aspx/
    If you don't want to use out of the box navigation then you can insert megamenu html into your custom master page
    http://blog.sharepointexperience.com/2013/05/mega-menu-for-sharepoint-part-1/
    Please mark it as answer if it helps you solving your problem
    Amit Kotha

  • SQL 2012 AlwaysON High Availability for SharePoint 2013

    Our Company have 2 Webfront Servers for Sharepoint 2013 and one Database SQL 2012 Server.
    We got one more Server & we don't have Storage so need to configure Always On.
    There are Some Confusions:
    1- Database Server is in production, so how much down time required to Achieve the AlwaysOn?
    2- What are the Changes need to be done on Production Server?
    3- What are the Steps to be followed While Configuring new Database Server?
    Regards,

    Hi Genius1985,
    According to your description, you want to configure a SQL Server 2012 AlwaysOn Availability Group for your database, right?
    Question 1: Database Server is in production, so how much down time required to achieve the AlwaysOn?
    There is no a certain downtime for AlwaysOn, it depends on the configuration of our AlwaysOn Availability Group, normally it can be several seconds or minutes. In order to understand why there is downtime for SQL Server with Microsoft Clustering, please refer
    to the following article:
    http://www.mssqltips.com/sqlservertip/1882/understanding-why-there-is-still-downtime-for-sql-server-with-microsoft-clustering/
    Question 2 and 3: What are the Changes need to be done on Production Server? What are the Steps to be followed While Configuring new Database Server?
    Since AlwaysOn Availability Groups require a Windows Server Failover Cluster, we first need to add the Windows Failover Cluster Feature to all the machines running the SQL Server instances that we will configure as replicas.
    Once the Windows Server Failover Cluster has been created, we need to proceed with enabling the AlwaysOn Availability Groups feature in SQL Server 2012.  This needs to be done on all of the SQL Server instances that we will configure as replicas in our
    Availability Group.
    For more details about Step-By-Step: Creating a SQL Server 2012 AlwaysOn Availability Group, please refer to the following article:
    http://blogs.technet.com/b/canitpro/archive/2013/08/20/step-by-step-creating-a-sql-server-2012-alwayson-availability-group.aspx
    If you have any question, please feel free to let me know.
    Regards,
    Jerry Li

  • Where is coding guideline for SharePoint 2013 available?

    Can any one suggest where is coding guidelines and best practices for SP 2013 development is available?

    Hi,
    According to your post, my understanding is that you want to know the best practices for SharePoint 2013 development.
    There are some articles cover best practices targeted towards software developers in SharePoint 2013, you can refer to them.
    http://social.technet.microsoft.com/wiki/contents/articles/13373.sharepoint-2013-what-to-do-farm-solution-vs-sandbox-vs-app.aspx ,
         discusses when to use farm solutions, sandbox solutions, or sharepoint      apps.
    http://social.technet.microsoft.com/wiki/contents/articles/13637.sharepoint-2013-best-practices-what-client-api-should-you-choose-when-building-apps.aspx ,
         guidelines to help you pick the correct client API to use with your app.
    http://msdn.microsoft.com/en-us/library/jj164060(v=office.15).aspx       
    http://social.technet.microsoft.com/wiki/contents/articles/16343.sharepoint-2013-best-practices-setting-up-a-dev-environment-for-windows-apps-and-sharepoint.aspx ,
         describes how to set up a dev environment needed for creating Windows Apps      that leverage SharePoint.
    http://social.technet.microsoft.com/wiki/contents/articles/16353.sharepoint-2013-best-practices-working-with-connection-strings-in-auto-hosted-sharepoint-apps.aspx ,
         discusses how to deal with connection strings in auto-hosted apps.
    For more reference:
    http://social.technet.microsoft.com/wiki/contents/articles/12438.community-best-practices-for-sharepoint-2013.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Best Usage reporting tool for SharePoint 2013 (onpremises)

    Please suggest me best reporting tool for SharePoint 2013 on premises.
    Need to get site usage summary for any time in last one year.
    Need to get library/list usage summary for any time in last one year. etc.
    How many peak hits and unique no of users across all levels.
    Thanks, Ram Ch

    Hi Ram
    We have two links “Popularity Trends” and “Popularity and Search Reports” in the site settings. By Clicking on the two links we can view the usage reports in SharePoint 2013.
    More references:
    http://technet.microsoft.com/en-us/library/jj715890(v=office.15).aspx
    http://sureshpydi.blogspot.com/2013/06/usage-reports-and-popularity-trends-in.html
    http://blogs.msdn.com/b/chandru/archive/2013/08/31/sharepoint-2013-web-analytics-report-where-is-it.aspx
    http://www.prweb.com/releases/2012/8/prweb9821144.htm
    Amit Kotha

  • Prerequisites download location for SharePoint 2013 SP1 on Windows 2012 R2 platform

    Can any one share prerequisites download location for SharePoint 2013 SP1 on Windows 2012 R2 SP1 platform.

    Did you see this
    http://blogs.technet.com/b/cjrawson/archive/2014/04/06/offline_2d00_sharepoint2013sp1_2d00_prerequisites_2d00_server2012r2.aspx
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Welsh Language Pack for SharePoint 2013

    Are there any plans to provide a Welsh Language pack for SharePoint 2013? There was one for 2007 and 2010 but Welsh is not on the list for 2013 as far as I can see (http://technet.microsoft.com/en-us/library/ff463597.aspx).
    Thanks
    Mark Salter
    Amgueddfa Cymru - National Museum Wales

    Hi all, we have contracted with a Sharepoint specialist who have produced numerous welsh / bilingual web sites. They are working on a business case to Microsoft in conjunction with certain agencies and focusing on how education sales would suffer without
    it. They seem to think that the likely date for release will be Q2 2014, Hope this helps, it will be too late for us and we probably won't run our intranet bilingually as a result.

  • Reverse Proxy for SharePoint 2013

    Hi,
    I need to setup SharePoint 2013 environment which needs to be accessible from mobile devices e.g. iPAD/Android, for reverse proxy, I am looking at apache or IIS ARR since UAG is going to be deprecated. So far any one setup apache (on
    RHEL 6.x)
    or IIS ARR(on W2K8R2) successfully as reverse proxy for SharePoint 2013 access? Is there any issue? and which SharePoint authentication method should be configured?
    Must is be Form based authentication? As I read some articles it seems ARR supports Windows authentication. Thanks in advance.

    IIS ARR doesn't authenticate users, it is a pass-through (unlike UAG which can do auth or anon). Both IIS AAR and the new Web Proxy Role in Server 2012 R2 do not work with SharePoint 2013 Apps.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Development environment for SharePoint 2013

    Hi,
    We have requirement for one of the project. Team size would be approximately 30 resources. Development would be entirely for SharePoint 2013 Intranet solution. this will be OOTB Intranet application. We will be developing InfoPath forms and Nintex Workflows.
    For such requirement we would like to setup local development environment by using either Virtual Machines.
    Can anyone help me to identify that how many VM's would be required for the same? How many simultaneous users can use and work at a time? What other things I need to consider for infrastructure? How can i suggest the best possible solution for this.
    Thanks in advance.
    Abhijeet Khopade

    Hi,
    According to your description, my understanding is that you want to set up the environment for SharePoint Development.
    Here is a detailed article about configuring development environment:
    Setting up a SharePoint 2013 Development Environment
    For VM count, it depends on your project development requirements, for VM license and management ,if you are using Hyper-V, I suggest you can create posts in Hyper-V forum:
    Hyper-V forum
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Office Web Apps Load Balancing Configuration Issue for SharePoint 2013

    I have load balanced servers dedicated for Office Web Apps with name “md1xxxwfe1” and “md1xxxwfe2” 
    , both this servers are load balanced by CISCO Load balancer. And I have mapped Load Balancer Virutal IP with host name officeapps.jda.corp.local in the DNS records.
     Things are working fine if I add new farm by using New-OfficeWebAppsFarm
     with server name as internalurl in PowerShell console
     as like “  -internalurl http://
    md1xxxwfe1  but when I use –internalurl officeapps.jda.corp.local it is not working at all. I’m not getting what to do at this point.
    I have gone through following blogs but no luck.
    http://blogs.technet.com/b/meamcs/archive/2013/03/27/office-web-apps-2013-multi-servers-nlb-installation-and-deployment-for-sharepoint-2013-step-by-step-guide.aspx
    http://blogs.technet.com/b/office_resource_kit/archive/2012/09/11/introducing-office-web-apps-server.aspx
    http://davidlimsharepoint.blogspot.in/2013/02/installing-and-configuring-office-web.html 
    http://sps2013.blogspot.in/2013/09/office-web-apps-with-sharepoint-2013.html
    The output of the wfe1 server is attached with this. When I open http:// /hosting/discovery in wfe1 I’m getting following result (attached
    screenshot) but it should show hostname rather than server name.
    Please help me
    Thanks, Ram Ch

    Hi  Ram ,
    For  troubleshooting your issue, please take steps as below:
    Just about any load balancing solution will work, including a server that runs the Web Server (IIS) role running Application Request Routing (ARR):Install
    Application Request Routing
    Install the certificate on the load balancer as described under Securing Office Web Apps Server communications by using
    HTTPS.
    Make sure you have configured the cluster correctly for full internet name:
    Reference:
    http://technet.microsoft.com/en-us/library/jj219435.aspx#loadbalancer
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Eric Tao
    TechNet Community Support

  • Getting error while publishing workflow using SP designer for SharePoint 2013

    Hi,
    I am try to setup Workflow manager for our sharepoint applications.
    WF manager set ran without any issue.
    I registered the SPWorkflow service which succeeded as well. The Workflow service application shows "Workflow is connected"
    I am creating a workflow using sharepoint designer using my credential (not Service account). I am able to save it but while publishing, its prompting with an error.
    The error says "Errors were found while compiling the workflow.The workflow files were saved but cannot run." Clicking advanced button show
    "Microsoft.SharePoint.SPException: We're sorry, we weren't able to complete the operation, please try again in a few minutes. If you see this message repeatedly, contact your administrator.
       at Microsoft.SharePoint.SPScaleOutDatabaseMap.CreateSqlSession(ISPScaleOutDatabaseMapProvider mapProvider, Byte[] compositeKey, Guid forceRefreshVersion, Guid& version)
       at Microsoft.SharePoint.SPScaleOutDatabaseCommandExecutor.Execute(ExecuteDelegate operation, ISPScaleOutDatabaseMapProvider mapProvide"
    Any help would be highly appreciated
    Thanks,

    Hi,
    According to your post, my understanding is that you got error while publishing workflow using SharePoint designer for SharePoint 2013.
    Please check whether the Central Admin > Manage Service Application-> “App Management Service” is started.
    Please check whether the “Configure service application associations”,  ”App Management Service” is already associated.
    Then please check whether the “Manage Services on server” and the “App Management Service” is started.
    In addition, please try to re-register Workflow Service.
    If the issues still exists, please follow the steps in the
    Steps to Verify that Server Is Correctly Set Up. After you verified that the server is correctly set up, follow the steps in the
    Steps to Troubleshoot Workflow Management Service and
    Troubleshooting the Service Bus for Windows Server then retry your action related to publishing workflows
    More information:
    http://wp.ahcheng.com/2013/03/23/error-were-found-when-compiling-the-workflow-the-workflow-files-were-saved-but-cannot-be-run/
    http://sp2013.pro/2013/04/solution-errors-were-found-when-compiling-the-workflow-the-workflow-files-were-saved-but-cannot-be-run-cannot-set-unknown-member/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Installing Powerpivot for Sharepoint 2013 with SQL Server 2008 R2

    Hi,
    We are currently setting up a Sharepoint 2013 Enterprise farm with the backend database server being SQL Server 2008 R2 SP2 - my question is can you install  Powerpivot for Sharepoint 2013 in this configuration and if so what are the steps?
    Thanks in advance!

    Here is Microsoft's documentation to Configure Power Pivot for SharePoint 2013
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • Autocomplete is not working for Sharepoint 2013 search box.

    I added the below code in cewp in sharepoint 2010 and autocomplete worked fine.
    http://sharesilver.wordpress.com/2011/11/26/auto-suggestioncomplete-in-sharepoint-search-text-box-with-jquery-like-in-google-part-1/#comment-605
    when i added this code in sharepoint 2013 by changing the searchbox class name in the code. it is not working. why ??
    Sharepoint 2010 searchbox class name ="ms-sbplain"
    what is Sharepoint 2013 searchbox class name ?? i added "ms-textLarge" as class name but it didn't work.
    Thanks in advance.
    M.M

    Hi M.M,
    The class for SharePoint 2013 Search box input element is as follow, please check if it is what you want.
    class="ms-textLarge ms-srch-sbLarge-fullWidth ms-srch-sb-prompt ms-helperText"
    The project code you are using is updated in codeplex, and the query suggestions (similar to this autocomplete) is an OOB feature in SharePoint 2013 enterprise verison, you can take a look. 
    http://spautosuggestion.codeplex.com/
    http://technet.microsoft.com/en-us/library/jj721441.aspx
    Thanks
    Daniel Yang
    TechNet Community Support

Maybe you are looking for