| |
browse.develop.com
Browse.develop.com is a community that was established to collect and
organize valuable web information. Our technical staff have selected and
indexed information and courses that they feel will help you stay
current on best practices across the SDLC.
|
18 Articles match "2008"
See all articles with
"2008"
| The Latest from The Black Knight Sings | MORE | | Custom pagers for SPGridView I don't think that the built in pagers for SPGridView are the most useful and informative, so for one of my current projects I decided to implement two custom pagers. The first was XofYPager which shows the page numbers like this: The second was SmartPager which shows the page numbers like this: The use of these pagers are very simple just include the classes below and then before you DataBind() your SPGridView set the PagerTemplate property to an instance of one of these classes. The Black Knight Sings - Friday, December 19, 2008 Caching a SharePoint list as a datatable For one of my current projects I needed to show a SPGridView with data from a small list on the frontpage of the Intranet. The list wasn't very small so didn't want to read if from the database on every hit of the frontpage, but on the hand it was so big that I couldn't cache it. Now the big question was how to cache it. If I used PortalSiteMapProvider then it'll always be refreshed when there was a change, but it would be hard to get the data into the SPGridView for displaying, sorting, paging and filtering. The Black Knight Sings - Friday, December 19, 2008 WCMexport version 1.0 When you're branding a site using SharePoint 2007 Web Content Management, you really want to spend your time changing Master Pages and Page Layouts. But you often find that you spend a lot of your time editing your Feature.xml and different Elements.xml files especially if you have a lot of different Page Layouts with web parts for different parts of the site. WCMexport is a small utility which can help you if you don't like doing all the editing of the xml-files from scratch. The Black Knight Sings - Sunday, November 16, 2008 | | The Best from The Black Knight Sings | MORE | | Remove Login box when anonymous users download office document from SharePoint Site When developing Extranet/Internet site in SharePoint you often want to allow anonymous access and this works fairly well. But there is one are where the out of the box experience fails regarding anonymous access and that is when you allow the users to download Microsoft Office documents. In that case IE/Office pops up a couple of Login dialogs, if the user cancels out of these the document opens as expected, but you really don't want the user to have to cancel a couple of dialogs to open your documents. The essential code is fairly simple: Tags: SharePoint The Black Knight Sings - Wednesday, July 16, 2008 Turn Default Upload Overwrite Off in WSS 3.0 By default the Overwrite checkbox in Upload.aspx is checked in WSS 3.0 and MOSS 2007, but sometimes you may want to change this default. MOSS junkie has a post on how to change that default. But his solution has the downside of having to modify one of the standard application pages which is unsupported and may be overwritten by a upgrade. So how do we change the default without modifying upload.aspx? Once again the controls in the default masterpage can help us. This time it's the AdditionalPageHead delegate we can use. So we add a feature with the following elements.xml file: Tags: SharePoin The Black Knight Sings - Thursday, August 21, 2008 Remove the Search Box from SharePoint Sites Sometimes you don't want your users to be able to search on your SharePoint site. Part one of this is then to remove your site from the content source in SSP, but you probably also want to remove the Search box from every page in your site. Fortunately SharePoint makes this very easy. The different version of SharePoint has different requirements for the Search box and the way these different serach boxes are implemented are using the Delegate feature of WSS. Delegates are controls in a masterpage/page whose content is determined by which Features are activated. The Black Knight Sings - Friday, August 15, 2008 | - Caching a SharePoint list as a datatable
For one of my current projects I needed to show a SPGridView with data from a small list on the frontpage of the Intranet. The list wasn't very small so didn't want to read if from the database on every hit of the frontpage, but on the hand it was so big that I couldn't cache it. Now the big question was how to cache it. If I used PortalSiteMapProvider then it'll always be refreshed when there was a change, but it would be hard to get the data into the SPGridView for displaying, sorting, paging and filtering. The Black Knight Sings - Friday, December 19, 2008 - FeatureReceiver To Cleanup WebPart Files
Many web-part developers are surprised to see that their web-parts are listed as available even though they have deactivated the feature which contains them. And the users are equally surprised when they then try to add the web-part only to see it fail because the code (and safe-control entry) has been removed. The problem comes from the fact that deactivating a Feature doesn't remove files provisioned using Module and File entries. The Black Knight Sings - Monday, July 14, 2008 - Custom pagers for SPGridView
I don't think that the built in pagers for SPGridView are the most useful and informative, so for one of my current projects I decided to implement two custom pagers. The first was XofYPager which shows the page numbers like this: The second was SmartPager which shows the page numbers like this: The use of these pagers are very simple just include the classes below and then before you DataBind() your SPGridView set the PagerTemplate property to an instance of one of these classes. The Black Knight Sings - Friday, December 19, 2008 - How to change Checkin comment after save
If your company has very strict requirements on version numbering and want the comments to each of these versions to be correct, then you may run into a problem if you store the documents in SharePoint. The version comment is determined when you check in your document, and after the checkin there is no supported way to change these comments. If you really need to change the comments of a document and are willing to go the unsupported way of changing the content database directly then this little program can do the work for you: Tags: SharePoint The Black Knight Sings - Wednesday, June 25, 2008 - Implementing a simple Cascading Dropdown in a usercontrol
A user wanted some guidance on how to implement a cascading dropdown in SharePoint. The following will show a simple example of how to implement that as a user control which has properties for selecting a list, a choice field in that list for the first dropdown and a field for which all appropriate values are shown in the second dropdown. The Black Knight Sings - Wednesday, July 2, 2008 - Look up instance of potentially recurring calendar event
In my last post I described how to redirect to a publishing page in order to use it as display form for a calendar. It caused the problem of having to look up the right instance of the calendar event (in case of recurrence) ourselves. If we just implement an ordinary display form SPContext does the lookup for us. poked around in the SDK to find a method which could look up an item from a list based on the RecurrenceID, but without any luck. Despite the DRY principle I had to reimplement the same function. SharePoint The Black Knight Sings - Friday, June 27, 2008 - Implementing a simple Cascading Dropdown in a usercontrol
A user wanted some guidance on how to implement a cascading dropdown in SharePoint. The following will show a simple example of how to implement that as a user control which has properties for selecting a list, a choice field in that list for the first dropdown and a field for which all appropriate values are shown in the second dropdown. SharePoint The Black Knight Sings - Wednesday, July 2, 2008
497 Articles match "2008"
See all articles with
"2008"
| The Latest from DevelopMentor | MORE | | Roll Your Own REST-ful WCF Router Here are some resources I found helpful in getting my head around WCF addressing and message-handling and the mechanics of building a WCF routing service: WCF Addressing In Depth (MSDN Magazine June 2007) WCF Messaging Fundamentals (MSDN Magazine April 2007) Building a WCF Router, Part 1 (MSDN Magazine April 2008) Building a WCF Router, Part 2 (MSDN Magazine June 2008). Download the code for this post here. The built-in router is great for a lot of different scenarios – it provides content-based routing, multicasting, protocol bridging, and failover-based routing. null ) { bool ? Tony and Zuzana's World - Tuesday, April 24, 2012 Now out: Business Patterns A: Eight years end to end, although the first patterns aren’t in the book, in fact I didn’t realise I was writing a book until about 2008. Business Patterns for Software Developers is now out! Early too! See for yourself: Some frequently asked questions: Q: How long did it take to write? Years 6 and 8 were the busy ones. Q: What is a business patterns? A: Its like a software pattern, or an architecture pattern, but concerns itself with business and business strategy. Q: Is it available on Kindle? A: Not immediately but it will be in a few weeks Q: Where can I read more about the book? Allan Kelly's Blog - Monday, January 30, 2012 Peeling Back the Onion Architecture The term was first coined by Jeffery Palermo back in 2008 in a series of blog posts. Download the code for this article. recently started a consulting project as an architect on an ASP.NET MVC application and quickly found myself immersed in the world of N* open source tools. MVC (which stands for Model-View-Controller) lends itself to an Agile development methodology where TDD and BDD (Test-Driven and Behavior-Driven Development) are important components. This is where the “Onion Architecture” comes in. This layer would contain your POCO entities. The Web.Ui Enjoy. Tony and Zuzana's World - Saturday, October 8, 2011 | -
| The Best from DevelopMentor | MORE | - Debugging in SQL Server 2008
Anyway, today I am playing around , errm - doing serious stuff in the RC0 release of SQL Server 2008, and just by coincidence notice that there is a debug menu entry in the toolbar(how blind can one be - I must have been looking at that toolbar quite a few times). Tags: Katmai SQL 2008 SQL Server As good as SQL 2005 was (well, still are), one disappointment was that you needed Visual Studio if you wanted to debug your stored procedures. Seriously, what was MS thinking when they did that, especially as in SQL 2000, Query Analyzer had debug capabilities?!! Managed Data - Wednesday, July 16, 2008 - SQL Server 2008 R2 August CTP
Yesterday I downloaded and installed the August CTP of SQL Server 2008 R2, and today I played around with it for a while. This will be part of SQL Servr 2008 R2. Tags: SQL 2008 R2 SQL Server So, what are my impressions… Well, from a perspective of being a relational dev and internals guy, my immediate response is … “yawn – where is the beef. it is not much there, and I doubt we will see much more in coming releases. However, if I were a BI / reporting guy I’d be over the moon, and definitely look forward to future CTP’s! Managed Data - Tuesday, August 11, 2009 - MongoDB vs. SQL Server 2008 Performance Showdown
These inserts were performed by inserting 50,000 independent objects using NoRM for MongoDB and LINQ to SQL for SQL Server 2008. GHz processor using the 64-bit versions of both SQL Server 2008 Standard and MongoDB 1.4.1. This article is a follow up one I wrote last week entitled “The NoSQL Movement, LINQ, and MongoDB - Oh My!”. In that article I introduced the NoSQL movement, MongoDB, and showed you how to program against it in.NET using LINQ and NoRM. highlighted two cornerstone reasons why you might ditch your SQL Server for the NoSQL world of MongoDB. Those were. Performance. Michael C. Kennedy's Weblog - Thursday, April 29, 2010 - Setting up SQL Server 2008 Express with Profiler
and WCF Data Services , I use the Express Edition of SQL Server 2008 R2, but I have need for the SQL Profiler tool, which comes only with the full version and is needed to inspect what SQL is sent to the database. Here are the steps for these installations: Developer or Standard Edition of SQL Server 2008 R2: Trial Edition: [link]. SQL Server 2008 R2 Express Edition (database engine only): [link]. When I teach my DevelopMentor course on Entity Framework 4.0 In addition, the setup folks often have a hard time getting the permissions right. Execute SQLEXPR32_x86_ENU.exe, Tony and Zuzana's World - Thursday, August 5, 2010 - Election 2008 Video of the Day
After John's blog about creating a Mac Widget for the elections I figured I'd adapt my NFL gadget and change it into an Election 2008 Video of the Day gadget. I recently created the NFL Video of the Day gadget for Windows Vista and wrote an article on how it was made. Mine is not as fancy as I think his will be, but then again, it's just for fun, right? read more AOL & .Net - Wednesday, January 23, 2008
| | |