Tag | WebParts Posts

My team was facing acute errors just about the delivery time. We approached MS India, freelancers, topic expects but so solution. In our case, I found out that this was a local environment issue rather than a generic issue which is why no one had any solution. Environment: SharePoint 2010 Issue: we were getting error while creating a new site from a site template we had created. Our deliverable to the client was a site template. Our resolution (steps): 1. Create a new “site template” without content. ...
Yeah I know I don’t blog much anymore, because life has taken me places that don’t involve the interwebs unfortunately. I am in the midst of planning two events, starting a non for profit, creating more sessions for various conferences, submitting to various conferences, working a 40 hour a week job, attempting to hang out with boyfriend/friends/family. So you can see that list does not include this blog sadly that’s how it goes sometimes. The bottom piece very important over any of the top pieces. ...
What is ULS in SharePoint 2010? ULS stands for Unified Logging Service which captures and writes Exceptions/Logs in Log File(A Plain Text File with .log extension). SharePoint logs Each and every exceptions with ULS. SharePoint Administrators should know ULS and it's very useful when anything goes wrong. but when you ask any SharePoint 2007 Administrator to check log file then most of them will Kill you. Because read and understand the log file is not so easy. Imagine open a plain text file of 20 ...
Sandbox solution is a new feature introduced in SharePoint 2010. It's a secured wrapper around webparts and other elements with limitations. There is no thumb rule that every webpart in SharePoint 2010 belongs to Sandbox Solution. But it's recommended to develop webparts with Sandbox solution. It allows administrators to monitor the solutions and control as required. SharePoint Site Collection administrators can view the resource utilization of each solution and can block if it consumes too much ...
SharePoint 2010 provides pretty good dialog framework. Throughout SharePoint sites, Dialog framework has been used to avoid page redirections and keep user in same page. In SharePoint 2007 with help of Lightbox/JQuery, dialog framework can be enabled and used. But it has some limitations and time consuming. So how to open a page in Dialog framework? Well, It's pretty simple. Just add Content Editor webpart in the page and add the below code. <script type="text/javascript"> //User Defined Function ...
Visual Studio 2010 is the new and improved development tool for SharePoint 2010. Major improvements are that all the Project Templates for SharePoint 2010 are included out of the box. This means a better development experience with debugging, unit testing, TFS!!! and automated builds! As I was experimenting with the overall experience I noticed some funny things I thought I would blog about. 1) Visual Web Parts are the only option available as part of a template. This can be kind of confusing to ...
Joe Homnick, Microsoft Regional Director, was the speaker at both Florida.Net’s Ft Lauderdale ArcSig and West Palm Beach .Net User Group September 2010 meetings where he shared with us how to leverage Silverlight 4.0 WebParts in a SharePoint 2010 solution. We appreciate Joe’s time and look forward to his next visit which we hope would be in the near future. Below are some photos of both events. --Sam Abraham Site Director - West Palm Beach .Net User Group Ft Lauderdale ArcSig- Silverlight 4.0 for ...
While i was trying to setup some reports on a SPF 2010 site. After trying to add a Sql Reporting Webpart i get the error: Session state has been disabled for ASP.NET. The Report Viewer control requires that session state be enabled in local mode I never came across that error before when using RSWebaprts in Sharepoint 2007:) But i think is related to ASP.NET sessions state:( Any to fix it you would have to start to make sure the SharePoint Server ASP.NET Session State Service is enabled. Unfortunately ...
Here is the list of Zone ID’s for the Blank WebPart Page (BlankWebPartPage.aspx") that is part of the Publishing Portal with MOSS 2007: TitleBar Header TopLeftRow TopRightRow CenterLeftColumn CenterColumn CenterRightColumn Footer RightColumn I was in need of these and wasn’t able to find them with a simple search on Google so I wanted to share them with you. To get a list of WebPartZone objects for a page that a webpart lives on can be done with the following code: foreach (WebPartZone zone in this.WebPartManager.Zones) ...
Here’s the scenario: I have a form which contains a textbox. This textbox should be populated with a query string value. Users should not be able to edit the value of the textbox while adding the item. Solution: The above can be achieved using a Content Editor Web Part (CEWP) and jQuery. Steps: 1. Append the NewForm.aspx url with the following: &PageView=Shared&To... 2. This will cause the ‘Add Web Part’ tool pane to show up. 3. Add a CEWP to the page. 4. Go the webparts properties ...
We have a rather simple WSS portal that has about six sites, shown using the standard navbar (“tabs”) across the top of the page. This navbar is shared among all of the sites. Each subsite has different permissions, mostly giving certain users some level of edit permission on those subsites. Well, one of the sites has some out of the box Content Editor webparts and we wanted to allow a group of users to edit the content using these web parts. They already had contribute permission, so they could ...
Sharepoint 2010 comes with huge enhancements in the development experience, exists a feature that i am sure a lot of programmers were waiting, this is the capability to create Webparts using a visual interface, in Sharepoint 2010 this is done and is called Visual WebParts To create a Visual Webpart, first we should create a Visual Studio Project, i selected the Empty Project template for Sharepoint 2010, when the project is created the Sharepoint Customization Wizard is launched, the first innovation ...
After the keynote sessions and lunch the first set of breakout sessions kicked off. Needless to say with the session line up it was difficult to choose only one to attend. However I thought it would be wise to at least see what is new and get an overview of the platform. I got to the session a bit late, but I don't think that I missed much. Arpan Shah was the speaker and it was a packed house. One of the largest rooms I have seen so far. Easily over 300 people in attendance. Here is what I caught. ...
In order to hide those, we can set the BorderStyle and the PartChromeType attribute of the WebZone to none after we set the display mode of WebPartManager to browse just like below: protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { WebPartManager1.DisplayMode = WebPartManager.BrowseDispla... foreach (WebPartZone wz in WebPartManager1.Zones) { wz.BorderStyle = BorderStyle.None; wz.PartChromeType = PartChromeType.None; } } } That’s simple! Technorati Tags: ASP.NET,WebParts,TipsTricks ...
http://msdn.microsoft.com/e... Temporary Tables vs. Containers Microsoft Dynamics AX supports a special data type called a container. This data type can be used just as you would use a temporary table. For more information, see Containers. Data in containers are stored and retrieved sequentially, but a temporary table enables you to define indexes to speed up data retrieval. Containers provide slower data access if you are working with many records. However, if you are ...
After a year of answering questions at the WebParts and Personalization forum section, I consider the following items below as “frequently asked questions”. I decided to write this so that I can point them to this post whenever I find a question that can be found here. The following are the list of items that I consider as FAQ: 1. How to Get Started with ASP.NET WebParts? ASP.NET Web Parts Overview ASP.NET WebPart Controls Implementing ASP.NET WebParts with Different Authentication modes Video: Utilizing ...
I decided to write this example because I always encounter this type of questions at the asp.net WebParts and Personalization forums. Many of us have used UserControls as WebParts so that we can incorporate different server controls in a single WebPart element and there are times we need to retrieve or pass a value to a Control that‘s inside a UserControl. So in this example, I will show different ways on how to get or pass values to a control that is residing within a UserControl. Suppose that we ...
I decided to post this because I wan't to share this information that I have gathered during my investation about ASPNET WebParts last 2007. Maybe this will be useful for those who are using ASPNET WebParts in ASPNET 2.0. Basically this information shows the difference between the Standard WebParts that shipped in ASP.NET 2.0, ASPNET Futures and My Custom WebPart with Custom Verbs. Main OBJECTIVES: * Allows cross browser drag and drop capability (can be moved between WebZones) * Ajax enabled Findings ...
This example shows the enhanced version of my previous example about Creating Custom WebPartZones with Custom verbs (Move right/ Move Left). One of the most common issues with ASPNET WebPart in ASPNET 2.0 is the drag-and-drop functionality in firefox. As you may know the drag-and-drop feature of WebParts will not work in firefox once it is placed inside an UpdatePanel control. So in this article, I will show how are we going to move certain WebParts in different zones without the drag and drop functionality ...
This example demonstrates on how to apply Skins to ASP.NET WebParts. Before we begin let us first understand the concept of the skins in ASP.NET. What is a Skin file? A Skin enables us to modify any of the properties applied to the server controls in our ASP.NET page. Skins can work in conjunction with CSS files or images. To create a Theme we can use a single skin file in the Theme Folder. The skin file extension should be always .skin. For more information about ASPNET Themes and Skins then have ...
About a year ago, I started to evaluate ASP.Net MVC, but decided to put it aside because it was still in heavy-duty development. With the official release a couple of weeks ago, I decided to check it out once again. MVC has a lot of things to offer, but there are a few critical things that we couldn’t overlook. We have a few web applications that all have quite a lot invested in server controls (both third-party and developed in-house). In ASP.Net WebForms, for something as simple as a GridView with ...
Just follow these tutorials below regarding how to implement WebParts in ASP.NET based on different Authentication mode. WEBPART with Windows Authentication WEBPART with Anonymous Users WEBPART with FORM Authentication Good Luck! Technorati Tags: ASP.NET,WebParts ...
So I had the recent privilege to work with a bunch of InputFormTextboxes and KWIZ Tagging Controls. None of them would inherit my styles using the CSSClass tags for some reason. So I shoved a couple spans around the controls in the RenderContents method and finally the links inherited everything I needed. Morale of the story: <span></span> is your friend. Technorati Tags: MOSS,SharePoint,CSS,Webparts ...
If you're developing webparts using VSeWSS and going to run the setup.bat that that VSeWSS creates, you might need to modify the deploy solution line before running it. The deploysolution instruction that VSeWSS adds contains the -local argument. This is all good if you're going to run it on an implementation with only 1 WFE, but for farms with 2 or more WFE's then you will need to change -local to -immediate. I also make it a habit to call the execadmsvcjobs command before and after adding and deploying. ...
So I was hoping this post would be a glorious review of my first attempt at working with WebParts and Oracle. Alas, the experience has not been so glorious. I am working on a "dashboard" of sorts as a demo for my boss. I spent a few hours on it this afternoon as a spike to see if the approach is feasible. I have to say that I believe it is, but there is one major kink I have to work out. ASP.Net WebParts uses the SqlPersonalizationProvider by default. Unfortunately, we are developing on Oracle. However, ...
Book Review: MicrosoftOffice SharePoint Designer 2007 Step by Step - Penelope Coventry This book is full of tutorials and hints in building customised SharePoint sites. It helps you build pages complete with CSS (Cascading Style Sheets), Libraries, lists and also webparts which are very customisable. I bought the book for the main purpose to learn creating workflows with SharePoint Designer 2007, and it really help me. The book as the title says, is really step by step and it is designed and laid ...
WebParts Cross- browser drag and drop is a very common issues on ASPNET WebPart Framework.. Basically WebParts doesn't support the Drag and Drop feature in Firefox browsers and this known to be a BUG for ASPNET Webpart Framework.. To get things working in all browsers including the cross browser drag-and-drop feature then you would need to use Visual studio 2008 / VWD 2008 with latest version of the Microsoft ASPNET Futures (AJAX Control Toolkit 3.5).. For more detail information then i would suggest ...
The following snippets below checks whether the PageCatalogPart Control contains any available WebParts in a page that have been closed in the page.. C# protected void PageCatalogPart1_Load(object sender, EventArgs e) { int count = 0; if (WebPartManager1.WebParts.C... > 0) { for (int i = 0; i < WebPartManager1.WebParts.Co... i++) { WebPart wp = (WebPart)WebPartManager1.We... if (wp.IsClosed) { Response.Write("Page Catalog contains Closed WebParts"); count++; } } Response.Write("<br/>... ...
In one of my previous blog posts I was sizing up 3 different methods of generating SharePoint solutions in Visual Studio. It was a fairly lengthy post about using things like the Visual Studio Extensions, WSPBuilder, and BAT files, but one reader bought to my attention that I never evaluated the STSDEV Solution Generator. Well lucky for me the reader chimed in and let me know that there was a hole in my post. I finally was able to find something to try the STSDEV Solution Generator on to try to stretch ...
Well the Bartlesville .NET User Group had it's August meeting and we had a great turn out! We had 34 people show up for David Walker's presentation on Building Powerful WebParts for Sharepoint 2007. David did a great job in showing the power of properly built WebParts in SharePoint. Specifically he showed off a open source project that he has been working with other's on. You should check out PowerQueryWebPart if you do Sharepoint development ...
Currently I am working on a site definition project that has been very entertaining and also had some pretty interesting challenges. Overall the project is going very smoothly utilizing all of the same techniques I teach from the Inside Windows SharePoint Services 3.0 course at AmeriTeach. But I recently ran in to a very interesting situation in which I was provisioning a web part page with webparts via CAML. Here is a sample of the CAML that is used for provisioning the page with a webpart: <File ...
Creating Custom WebPartZones with Custom verbs (Move right/ Move Left) By: Vincent Maverick Durano Introduction: This article shows on how we are going to move a webpart from left or right directions in different zones without the drag and drop functionality of the standard webpart. In order to achieve this, we need to create a custom webpartzone with custom verb option “move right/move left” button. See Figure 1. Figure 1 The first thing to do is we need to create those custom verbs options by extending ...
I have been doing some research on how i could get Search Server Express 2008 and WSS v3 up and running as i needed the cross site search feature Search Server Express provides. Installing it wasn't really an issue and its it went ok apart from some issues i had when trying to extract the files and when i ran the SearchExpress.exe i kept getting "Installation Package Failed etc " .error But i would leave that for another time on how i fixed it. But after installing Search Express and creating a search ...
It is hard to really get a grasp of how much control you are given in Sharepoint. Microsoft touts its easy to use web UI and webparts for the end user, but this is just the icing on the cake. It is the ingredients that make it special. Many of those ingredients are exposed in different ways in Sharepoint. There are features, event handlers, web services, and enough XML to make your head explode. These are the parts that make it an exciting development platform. I was able to get an amazing look at ...
A couple of days ago we got a call that all the lists and libraries had no information on one of our websites. I looked around to see if this problem was replicated on another site. It was not. So I re-added all the ListView Webparts on the pages and went about my business. Yesterday we found one more website where nothing was showing up. I looked on the event logs, but so far I can not see the source of the problem. The logs are pretty clean since I fixed the timer job leak. I have no idea when ...
Although new to all this MOSS stuff I am getting stuck in with the Content Query Web Part (CQWP) and XSL. They are a pretty powerful combination, but pretty soon I could see how this could become slightly wild and considering ListStyles.xsl is an "out of the box" file, getting crazy with custom files could become more of a problem than simply a huge file. Check out these two posts on how to manage custom styles. 1. Liam (Sharepoint MVP here in the UK) posts about editing the ListStyles.xsl, but only ...
Every blogger I read claims to have superior coding skills, and every place I have worked claims only to hire superior developers. In my current position and in my prior one, my employers say they interviewed more than twenty candidates to fill each position. If that's so, where are the average coders? I heard one theory - they are all unemployed! And they keep trying to get jobs but they can't. So interviewers have a skewed sampling of coders. I will confirm that in my current and previous position ...
When you download and install the Visual Studio 2005 Extensions for WSS3.0. You could have taught wow my deployment stress is over But actually it isn't its just the start I had deployed several webparts to my sharepoint sites without getting the error Object reference not set to an instance But after sometime these ugly errors started popping up . One was Object reference not set to an instance the other was some GUID error After pulling out my hair i didn't have i found an individual who shed a ...
I was doing some documentation today on this site that is part of a collection of customized sites. It has JavaScript (yuck) and web parts galore. I get to this site that deals with Affiliated Items for this particular site and I notice that there are 5 web parts. I am wondering why do you need 5 web parts when you take in a query string and provide a list of items. What you really only need is a Query String Web Part connected to another Web Part or a Web Part that reads the Query String. For some ...
I was working a SPDataGridView Webpart today. I was trying to get the grid to refresh and re-bind itself after a specific client was deleted in the web part. When I tried to clear the grid it would not clear at all. It would refresh with the exact same data, until I hit F5 on Internet Explorer. I finally thought to myself what if I get rid of the Dataview as a source and call the DataSet directly. Sure enough I change it and clear the DataSet, then rebind and grid and when I delete the client it ...
As part of configuring enterprise search for a company's portal, one of the requirements was changing the look and feel of the SearchCenter. In short, they wanted a very Google like UI - I.e. nothing too flashy or heavy. So, I started off creating a minimal master page and adjusting the layouts - nothing major just positioning the controls etc.. Now, to change the appearance of the webparts required modifications to the default styles located in the core.css file and thanks to Heather Solomons CSS ...
I am looking around on the net for some classes for WPF, WCF, and WF plus any type of certification classes for the Microsoft Office SharePoint Server Tests. I want to try and pass at least one certification exam for MOSS by the middle of the year. I would also like to learn more information and start writing my own work flows. I know barely anything about WPF, except that it looks really nice. I bet that I could make some really snazzy webparts implementing this technology. I'm not the most awesome ...
Introduction: Most of the web applications nowadays prefer to be an AJAX enabled application. Ajax enabled applications is basically eliminates those annoying flickers occurred when a page is refreshed. This articles shows on how we are going make our webparts to be an ajax enabled one. Below are the steps in creating an Ajax enabled application. Open Visual Studio 2005 and Create new Website Select ASP.NET AJAX-Enabled Web Site then press OK (See Figure A) Figure A As what you have notice, the ScriptManager ...
Introduction This week, I've been to ITWorx first public seminar called "CuttingEdge Club" on Saturday. The idea of a public developer seminar was pretty interesting to me being one of the organizers and speakers for the first developer seminars held in Egypt ever (the DemoDay event we started earlier back in November 2006), and being a speaker myself in ITWorx internal seminars just last week! Interestingly enough, ITWorx started their internal seminars/conferences/clubs (call it whatever you like ...
This one isfrom one of our team here at Solidsoft - Dave Robinson: When creating any custom columns for content types, create the field without a space and then rename the field to include any spaces. e.g If you have a field ‘Sox Reference’, create the field with a name of ‘SoxReference’ and then edit the field to make it ‘Sox Reference’. If you create the field with a space in initially, then when you are trying to access the field within webparts and stylesheets you have to put all the escape characters ...
Normally I believe that the Delete View is only available within Design View. There are several possible angles that I am pursuing for exposing the delete verb within the Browse View. One thing to note is that no webparts or user controls can be declared within the page code. All must be added from a catalog to the shared view or the delete function is unavailable. I am researching overriding RenderVerbs and RenderVerb within the WebPartChrome to add the Delete Verb despite Browse being the current ...
This is the source for a recently created custom declarativecatalogpart that filters out webparts that already exist on the page. This prevents duplicate webparts from being added. Otherwise it will run from either a template control list or declared controls. /// <summary> /// A replacement for the declarative catalog part meant for limiting the webparts on a page to a single instance by hiding the webparts that already exist on the page. /// </summary> [Designer ( "System.Web.UI.Design.WebCo... ...
A little obscure fact about WebPart Connections. If you are writing a WebPart that is a Provider as well as a Consumer it is better to give your ConnectionPoint's unique Ids. Infact if you have multple Providers on the same WebPartPage the connections wont work unless each ConnectionPoint like so [ConnectionProvider("Displa... "ConnectionPointId")]public IWebPartField ConnectionInterface(){return this;} Technorati tags: MOSS, WebParts, Connections, ConnectionPoint Ids Cross-posted from tariqayad.com ...
Recently, on a project I was working on, we really wanted to allow users to build rich & dynamic pages. We wanted to be able to build building blocks from which user’s could customize upon. We wanted to be able to have user’s quickly design their own pages without having to worry about HTML. The solution? Webparts. So off to work I set out, building a series of webparts such as a rich html webpart with a HTML Text Box as its custom designer. A rich content web part allowing the user to display ...
For last so many days, I was thinking of downloading new WSS 3.0 Application Templates to explore the template applications and application features. Today I came accross SharePoint Community Portal, where 20 templates (which are complete as of now out of 40) are available not only for download but also to showcase available Features, Lists, WebParts etc. Link: http://sharepoint.microsoft... ...