SharePoint 2013 Mobile Web Part development

i want to create a Visual web part which will render in Mobile in share point 2013
Thanks and Regards
Er.Pradipta Nayak
Visit my Blog
Xchanging

If you want just for the webpart try using WebPartMobileAdapter class, this is in SharePoint 2010, see if it works in SP 2013
http://www.c-sharpcorner.com/uploadfile/hec.ravi/programmatically-create-web-part-for-mobile-in-sharepoint2010/
check here on how to implement responsive web design
http://blogs.msdn.com/b/sharepointdev/archive/2013/04/01/implementing-your-responsive-designs-on-sharepoint-2013.aspx
My Blog- http://www.sharepoint-journey.com|
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

Similar Messages

  • SharePoint 2013 Visual Web Part Custom Property.

     How to create drop down control to display existing libraries in current web site using a custom web part property?i want to show this control on web part configuration.then users can select the relevant library without typing.(SharePoint
    2013 Visual Web Part).
    Thanks 

    This has been answered for SP 2010 at SP:SO. Things wont change much in SP 2013 as far as VWP is concerned. Basically you will need to implement Custom Web Part Editor.
    http://stackoverflow.com/questions/6946153/edit-webpart-properties-with-dynamic-dropdownlist
    Here is an example.
    http://sptechbytes.blogspot.ca/2013/02/sharepoint-2010-creating-custom-editor.html
    Amit

  • Internet Explorer 11 and SharePoint 2013 Standard - Web Parts and Calendar Don't Display/Render Correctly

    Hello everyone.
    I am currently running a fully patched (Service Pack 1) version of SharePoint Standard 2013 On Premises. I am having 2 problems that are reproducible on both Windows 7 and Windows 8.1 on multiple computers when running Internet Explorer 11 (fully updated
    through Windows Update). The issues are "fixed" when running compatibility view in the browser or using Chrome/Firefox.
    The issues are as follows:
    Issue 1 Calendar view does not display correctly
    Issue 2 Web parts do not display correctly when editing a page.
    Picture of calendar
    Webpart "edit menu dropdown" in upper right corner is replaced with 2 up arrows. Clicking minimizes web part.
    Is there any word on a fix for this? Is this something only I am experiencing? Is there an issue with my SharePoint server? I would hate to have to uninstall IE11 from 300 machines and install IE10.
    Thanks

    There are a few critical issues
    Pages will not enter edit mode. You will click Settings > Edit Page and the page will simply refresh but will not change over into edit mode. Seems to only affect pages with
    Web Part Zones.
    Calendar will not enter edit mode.
    Web Part Properties cannot be modified. If you are able to get into edit mode (you can edit wiki pages) you will not be able to modify existing Web Parts by using the Web Part
    Properties panel. Instead you will see a really weird collapse button that looks like it is coming from the mobile view but you cannot modify web part properties… even through the ribbon controls.
    I cannot use the import spreadsheet app, the error says it is not supported with the current browser.
    When I hoover over a “people” field I cannot see their information.
    I had all these capabilities with IE9
    This suggestion I found online appears to fix issues 1-3.
    http://windowsitpro.com/windows-7/fixing-most-not-all-ie11-compatibility-problems
    To run in compatibility mode
    Press ALT + T when viewing your      SharePoint page
    Click Compatibility View Settings      in the menu that appears
    Click Add to add the current      SharePoint site to your list of compatibility view pages
    Click Close

  • Access Exchange Service From SharePoint 2013 Custom Web part getting The request failed with HTTP status 401: Unauthorized.

    I want to Fill a drop down with Outlook Meeting of Current log-in user in SharePoint 2013 web part for default credentials I am using the following code
     ExchangeServiceBinding binding = new ExchangeServiceBinding();
                ServicePointManager.ServerCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true;
                binding.RequestServerVersionValue = new RequestServerVersion();
                binding.RequestServerVersionValue.Version = ExchangeVersionType.Exchange2010_SP2;
                binding.PreAuthenticate = true;
                binding.UseDefaultCredentials = true;
                binding.Credentials = CredentialCache.DefaultCredentials ; 
                string server = "https://*********/ews/Exchange.asmx";
                binding.Url = server;
    I Am Getting the Error "The request failed with HTTP status 401: Unauthorized."
    but when I Replace  the line  
    binding.Credentials = CredentialCache.DefaultCredentials ; 
    with 
     binding.Credentials = new NetworkCredential(userName, password, domain);
    Its run fine.  Is there any way I could able to use default credential.
      

    Hi,
    As this question is more relate to Exchange development, I suggest you post it to the corresponding forum, you will get more help and confirmed answers from there.
    http://social.msdn.microsoft.com/Forums/office/en-US/home?category=exchangeserver
    Best regards
    Patrick Liang
    TechNet Community Support

  • How to Add a User Control to a SharePoint 2013 Visual Web Part ?

    Hi,
    1.I have created SharePoint 2013 Farm Solution through VS 2012.
    2.Added visual Web part
    3.Created a User control (Farm Solution ) and added some Control From tool Box.
    4.Drag and drop user control from solution explorer to visual web part.
    so its  Register tag and with prefix tag user controls automatically added on visual web part source. when i try to build solution it throws Exception:
    Exception :The name 'InitializeControl' does not exist in the current context.
    Please Provide solution after try/or proper workaround.
    Thanks,
    Siddheshwar

    Site name=http://sitename:22222/
    Visual Web part:
    <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
    <%@ Assembly Name="Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
    <%@ Import Namespace="Microsoft.SharePoint" %>
    <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Src="~/_controltemplates/15/SP2013Controls/SPControls.ascx" TagPrefix="uc1" TagName="SPControls" %>
    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SPWebpart.ascx.cs" Inherits="SP2013Controls.SPWebpart.SPWebpart" %>
    <uc1:SPControls runat="server" id="SPControls" />
    User Control Code:
    <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
    <%@ Assembly Name="Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
    <%@ Import Namespace="Microsoft.SharePoint" %>
    <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SPControls.ascx.cs" Inherits="SP2013Controls.ControlTemplates.SP2013Controls.SPControls" %>
    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><asp:Button ID="Button1" runat="server" Text="Button" />
    Deployement Location:{SharePointRoot}\Template\ControlTemplates\SP2013Controls\
    After User controls added on webpart .g.cs file getting blank.
    After 1st Build:
    'InitializeControl' does not exist in the current context
    The file '/_controltemplates/15/SP2013Controls/SPControls.ascx' does not exist.
    after 2nd Build Try:
    'InitializeControl' does not exist in the current context

  • Sharepoint 2013 - InfoPath Web Part Errors

    There may be a better way to accomplish what I'm doing so I will explain the idea first.  I'm putting together a PMO Sharepoint Site which contains drill down project information from 4 groups to over 500 projects.  I would like to display the
    data in a more dynamic way than just in lists so I am attempting to use an InfoPath form to display dynamic data in a more friendly text view.
    After creating a form view in InfoPath 2010, I loaded it into Sharepoint 2013.  I went through "Connections" and selected "Get Form From" and chose a web part list.  After choosing the view and saving I receive this error.  Sometimes
    it saves correctly but when I go back to edit the web part this error appears.

    This has been answered for SP 2010 at SP:SO. Things wont change much in SP 2013 as far as VWP is concerned. Basically you will need to implement Custom Web Part Editor.
    http://stackoverflow.com/questions/6946153/edit-webpart-properties-with-dynamic-dropdownlist
    Here is an example.
    http://sptechbytes.blogspot.ca/2013/02/sharepoint-2010-creating-custom-editor.html
    Amit

  • Access Exchange 2013 Calendar from Sharepoint 2013 OWA Web Part

    Hi,
    For the moment I have five User
    Mailboxes on Exchange 2010 whose
    calendars that appear in a SharePoint
    2013 using Outlook Web App Web Part.
    In Exchange 2010, IIS has created a new
    WebSite with OWA, ECP
    and some more Virtual Directories,
    where OWA is Windows Integrated
    and Basic Auth. enabled (not
    FBA).
    This makes so users do not have additional
    logins in SharePoint when they look at
    the calendars.
    I now want to move these mailboxes to an Exchange
    2013. I must then create a new WebSite
    with Win.Integrated etc, but have
    heard it is unsupported. Is there
    any other way to solve this?
    Best Regards

    Hello,
    Sorry for delayed response.
    I recommend you check the Outlook Hotfix and version number again via Control Panel.
    Please check the version number via outlook 2010 "File".
    If the outlook version number is 14.0.7113.5000, please try my above suggestion to specify the SSL certificate principal name. Because XP system is not always to look for the next lines on a SAN certificate.
    If you have any feedback on our support, please click
    here
    Cara Chen
    TechNet Community Support

  • SharePoint 2013 - Media Web Part and Silverlight

    Hi
    Is Silverlight mandatory for Media Web Part.? As per my understanding .WMV and .MP4 files will be played in HTML 5 player with IE 9 and above.
    I have configured a Media Web Part with a .WMV video file. We have to use IE9 browser. The video plays with Silverlight but if I uninstall Silverlight from machine it doesn't play. How to make these videos play in machines without
    silverlight?
    Thanks
    Ari

    Hi Ariharaselvan,
    If you use Media Web Part to play the video, you need to install Silverlight on the client server. If not, it doesn’t work.
    As a workaround, you can use a third party media player to play the video. Here is a CodePlex solution, please have a try:
    http://svp.codeplex.com/
    There are some articles for your reference:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/aed125ee-614d-4fd6-9426-93aacc702b0d/play-video-on-page-without-using-silverlight?forum=sharepointgeneralprevious
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/26a7639d-6b77-4bc3-8f36-0db10b132daf/using-internet-explorer-8-to-play-sharepoint-2013-video-stream-without-silverlight?forum=sharepointadmin
    http://sharepointconnoisseur.blogspot.in/2011/05/play-video-and-media-files-in.html
    I hope this helps.
    Thanks,
    Wendy
    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]
    Wendy Li
    TechNet Community Support

  • Sharepoint 2013 Visual Web part Deloyment

    Hello,
    I built a visual web part(sharepoint 2013) using visual studio 2012. But when I tried deploying, I got this error message:
    "Error occured in deployment step 'Activate Features': Feature id '****' is not installed in this farm, and cannot be added to this".
    Approaches I made to fix this :
    1) Tried changing the scope of Feature to Farm/Web/WebApplication
    2) Tried installing feature manually using Install-SPFeature -AllExistingFeatures
    3) Tried resetting IIS
    None of these attempts helped me. Can someone help me on this ?
    Thanks
    KG

    Hi,
    According to your post, my understanding is that you get error while deploying the visual web part.
    To narrow down whether the issue is related to the project itself, you can do some steps as below.
    Re-open the visual studio, create a new clean project with a simple visual web part then check whether it works.
     What’s more, you can check whether feature assembly is register in GAC or not. So try to uninstall feature and use below command: (if have not done before)
    Install-SPSolution -Identity MYfeature.wsp  -GACDeployment -force
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How to display alert message box in sharepoint 2013 visual web part?

    Hi,
    I am developing a visual web part which submits data to the list. Once it submits the data, I should convey to the user that the data has been submitted successfully.
    I tried using clientScript.RegisterStartUpScript etc, but, none of them are working. It is not throwing any error , but pop up is not getting displayed.
    Preferrably, I would like to call this alert message from cs page, because, I will be using it in several places.
    Please help me.!
    Thanks in advance.
    Hepsi

    Hepsi, 
    Step 1. On the Page_Load - This way you can pass parameters. Try this
    btn.Attributes.Add(
    "onclick", string.Format("return openSPPopup('{0}?{1}={2}', '{3}')", YourPage_URL, var1_Name, value1, Param1_PopupTitle));
    Step 2 : Javascript function
    function openSPPopup(navigateURL, popUptitle) {
    var options = {
    width: popupWidth,
    height: popupHeight,
    url: navigateURL,
    scroll: 0
    SP.UI.ModalDialog.showModalDialog(options);
    return false;
    Step 3: The popup close code (in .cs file) – I do it this way as it is just close dialog code and easy to write.
    protected void btnClose_Click(object sender, EventArgs e)
    { this.Page.ClientScript.RegisterStartupScript(this.GetType(), "PopupScript", "SP.UI.ModalDialog.commonModalDialogClose(1, 1);", true);
    Courtesy -
    Thread
    Try this - https://bramdejager.wordpress.com/2011/03/21/using-sp-ui-dialog-and-sp-ui-notify-from-code-behind/
    http://msdn.microsoft.com/en-us/library/ff798390.aspx
    http://stackoverflow.com/questions/9833907/asp-net-confirm-before-executing-codebehind
    http://www.codeproject.com/Questions/443131/Call-to-javascript-Function-from-code-behind-using
    http://www.c-sharpcorner.com/uploadfile/ledomoon/calling-code-behind-function-in-javascript/
    Hope they will help!
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • SharePoint 2013 Filter Web Part configure connection webpage blank

    Hi,
    I've got a problem at one of my clients. I'm trying to connect a filter web part to a document library.
    I'm configuring a connection and the first pop-up (where you can configure a "Get Parameters From or Get Filter Values from" connection type) shows up fine.
    When I select one of the options the next screen is all blank.
    I've used IE in different modes (IE 11, IE 10 IE 9) and also tried using Chrome, but all the same result.
    Can anyone help me?

    Hi Elmar,
    According to your description, my understanding is that the Configure Connection webpage of the filter web part was blank.
    I recommend to add the site where the filter web part existed to the trusted zone and add to compatibility view in Internet Explorer to see if the issue still occurs.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • What options we can have for monitoring SharePoint Farm till web part level?

    Dear All,
    I want to monitoring SharePoint Farms till web part level.
    2 Farms - SP 2010 & other SP 2013
    Farms are with NBL  - F5 & clustered database.
    Our client have enterprise licenses.
    Accordingly please suggest what tool I can use for monitoring, administrating, reporting, alerting etc either
    Microsoft's or  any third party. 
    I came to know about System Center will this monitor till web part level.
    Sumeet Singhal

    we are using the SCOM for our SharePoint monitoring and till now satisfied, we are not monitoring the webparts as we have tons of sites collections:
    but there are certain good companies which having the monitoring tools:
    Idera: http://www.idera.com/productssolutions/sharepoint/spdiagnosticmanager/productdetails#
    and this tool claims that they can monitor from end user's prospective. http://www.gsx.com/products/gsx-monitor-analyzer-for-sharepoint/
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • SharePoint Report Viewer Web Part Parameter Issue

    I'm using the SharePoint Report Viewer web part to display a SSRS report that I have created in a library.  Reporting Services is integrated into my SharePoint farm.  The report I am displaying has a single parameter that needs to be set. 
    When I select it and hit "Apply" the "Specify Parameter Values" text disappears, but it doesn't display the report.  If I edit the web part the data loads based on the parameter. 
    I don't know why the apply button is not causing the report to reload. 
    Any ideas?

    If I specify a default, it loads correctly.  When I select a new parameter and hit apply the report no longer works though. 
    I don't think this is a browser issue.  Even if it is my company uses IE, so if it doesn't work for this then it won't work period.
    I'm pretty positive it is an issue with the Reporting Services web part not posting anything when Apply is hit.  Every other case of using the report doesn't have any issues other than when it is in the web part.

  • Best Practices in SharePoint 2010 ( Out of the box feature vs Custom Web Part, development )

    Hi
    How do we differentiate on when to allow custom web parts and when to use out of the box.
    What are the performance issues involved when we deploy a custom web part into the SharePoint server. 
    Why do some companies prefer to allow only out of the box features, and no custom work is done?

    SharePoint is a powerful, flexible server product that can provide a wealth collaboration environment right out of box.
    Best answer for your question is depend upon your requirement. Sometime Out of Box features will solve all the problem with little designing. But sometime your requirement need a Custom Web part / solution.
    With OOTB implementation the big advantage is easy to trouble shoot & fix the issues. You will also found tons of blogs on internet for OOTB features. In custom development, its hard to troubleshoot & identifying whether its SharePoint issue or Custom
    code issue.
    check the below article for more ideas.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/1e7845ef-61e0-4d01-bb6c-92519e6d7139/sharepoint-2010-outofbox-best-practices?forum=sharepointgeneralprevious
    http://www.cdh.com/media/articles/Pages/SharePoint-out-of-the-box---To-customize-or-not-to-customize.aspx
    Master List of SharePoint 2010 On-Premises Custom Development Best Practices
    http://i.zdnet.com/whitepapers/Quest_WPW_SharepointDev_Custom_US_KS_v3.pdf
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • SharePoint 2013: A web analytics report is not available for this site.

    Hello,
    I have SharePoint Server 2013 and the enable usage data collection is enabled.  There is usage logs and data being generated, but SharePoint says there is not data available.
    A web analytics report is not available for this site. Usage processing may be disabled on this server or the usage data forthis site has
    not been processed yet.
    What can I do?
    Thanks,
    Paul
    Paul

    hi,
    Web Analytics is now part of the 2013 Search.
    You can refer the below links, :
    http://blogs.msdn.com/b/chandru/archive/2013/08/31/sharepoint-2013-web-analytics-report-where-is-it.aspx
    http://www.collabshow.com/2013/05/23/sharepoint-2013-analytics-a-big-step-backward/
    http://usamawahabkhan.blogspot.com/2013/06/sharepoint-2013-analytics-features-how.html 
    if you wanna use  API, there is a blog,which talk about the same:
    retrieve  Search Analytics Reports
    using SharePoint 2013 API:
    http://radutut.wordpress.com/2013/01/27/how-to-get-search-analytics-reports-programmatically-in-sharepoint-2013/

Maybe you are looking for

  • Working of a Multiprovider

    Hi All, We have created a multiprovider using purchasing (0pur_c01) and quality managemtn infoproviders. We are fetching purchase order number from 0pur_C01 only and material from all other info-providers. When the query is executed giving PO numbers

  • How do I switch back to Tiger from Leopard

    I'm a producer and I own a I mac that i bought last august 07, that came with tiger and I life 06 or 07 on it. I recently had it serviced due to a kernal panic and the guy installed leopard, leopard doesn't come with i life and i really need i movie

  • Mass emailing for a business

    I work for a very small publishing company. My boss has given me a list of nearly 3000 emails of people to send our monthly deadline notice to. I've discovered that our email lets me send an email to only 65 or so addresses at a time. In the past I m

  • Help with Java Applet Design

    Hi, I'm a uni student and I've had some programming experience in Java, although sadly a bit lacking in the area of Java Applets. Recently I've being involved in a project where some tests are ran a number of times and a Data Aquisition System is use

  • PCR to process only  the first occurrence of wage

    Hello Experts, I have a requirement to process only the first occurrence of the wage. The IT might have the same wage more than once and I have to allow one the first wage to get processed and other similar wages should be dropped. Note: The amount f