| |
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.
|
11 Articles match "How To"
See all articles with
"How To"
| The Latest from The Black Knight Sings | MORE | | 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 Turn Default Upload Overwrite Off 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? This delegate allows you to add any number of usercontrols to the page header of every page in sites where your feature is activated. By default the Overwrite checkbox in Upload.aspx is checked in WSS 3.0 The Black Knight Sings - Thursday, August 21, 2008 Turn Default Upload Overwrite Off 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? This delegate allows you to add any number of usercontrols to the page header of every page in sites where your feature is activated. By default the Overwrite checkbox in Upload.aspx is checked in WSS 3.0 The Black Knight Sings - Thursday, August 21, 2008 | | The Best from The Black Knight Sings | MORE | | Turn Default Upload Overwrite Off 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? This delegate allows you to add any number of usercontrols to the page header of every page in sites where your feature is activated. By default the Overwrite checkbox in Upload.aspx is checked in WSS 3.0 The Black Knight Sings - Thursday, August 21, 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 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. 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. If we just implement an ordinary display form SPContext does the lookup for us. 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 - Features inside a Solution isn't deactivated when the Solution is retracted
except for their names, which makes it very hard to write and speak about them): * Features because they make it very easy (at least compared to WSS 2.0) to add functionality to a SharePoint site. One of the great strengths of Features is the ability to have code executed when the Feature is activated and again when it's deactivated. See this post on how to fix that. Features and Solutions are two of the best features in WSS 3.0 Solutions because they take care of much of the hassle about getting the features out on all the servers in the farm. The Black Knight Sings - Monday, July 14, 2008 - Turn Default Upload Overwrite Off 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? This delegate allows you to add any number of usercontrols to the page header of every page in sites where your feature is activated. By default the Overwrite checkbox in Upload.aspx is checked in WSS 3.0 The Black Knight Sings - Thursday, August 21, 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 - 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. 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. If we just implement an ordinary display form SPContext does the lookup for us. The Black Knight Sings - Friday, June 27, 2008 - How to use a publishing page as display form
A client wanted to place a SharePoint calendar on a publishing page and have it configured such that when you clicked an event the full details showed up at the top of the page, and searching for calendar items should also put you at this page. Sounds easy just put the calendar view on the page and set the calendars display form to be that page. But setting the display form to be the publishing page puts the ID of the calendar item in the URL of the publishing page which then confuses SharePoint as it thinks it has to lookup that id in the Pages list. 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. The Black Knight Sings - Wednesday, July 2, 2008 %>
359 Articles match "How To"
See all articles with
"How To"
| The Latest from DevelopMentor | MORE | | Integrating the #WebAPI HttpClient and ApiController in a single test 'In the two previous blog posts I showed how to unit test and ASP.NET WebAPI controller and how to unit test the client side code depending on the HttpClient class. After all testing an ApiController by just calling the methods makes it perfectly possible to call them in such a way that would never be possible using a real HTTP request. So in order to complete out testing we should test the integration of the client and server parts using an integration test. However there we added a custom TestingDelegatingHandler to return a fake result message. Maurice de Bejeir - Monday, May 27, 2013 Maurice de Beijer: Integrating the #WebAPI HttpClient and ApiController in a single test 'In the two previous blog posts I showed how to unit test and ASP.NET WebAPI controller and how to unit test the client side code depending on the HttpClient class. After all testing an ApiController by just calling the methods makes it perfectly possible to call them in such a way that would never be possible using a real HTTP request. So in order to complete out testing we should test the integration of the client and server parts using an integration test. However there we added a custom TestingDelegatingHandler to return a fake result message. The Problem Solver - Monday, May 27, 2013 Unit testing code depending on the ASP.NET WebApi HttpClient 'In a previous post I showed how to unit test an ASP.NET WebAPI Controller. In this case the client application contains the following class to load books from the REST WebAPI controller: 1: public class BooksClient. This class uses the HttpClient to request the data from the service and extracts the books from the body before returning them. If we want to test this class we need to pass in an HttpClient object. This HttpMessageHandler is used as the pipeline to send requests and we can completely replace this with our own implementation. 14: {. Maurice de Bejeir - Monday, May 20, 2013 | -
| The Best from DevelopMentor | MORE | - How to improve a team's velocity?
By way of wrapping up my velocity mini-series ( Two ways to fill and iteration , Filling an iteration too well , and Velocity Targeting and Velocity Inflation ) I’m going to end with some advice on how to improve a team’s velocity. Over time these add up to big improvements. To use economic logic: this is about improving the supply-side. The supply-side argument (largely monetarist) suggests the way to solve unemployment is not to increase demand (Keynes style) but to loosen and liberalise the labour market. But back to software. Allan Kelly's Blog - Thursday, July 1, 2010 - How to rip audio books
So i listen to a lot of audio books, and here's how i create the mp3 of them. Overview we are going to create bite size files about 30 minutes each. link] 4) set your encoding bitrate to 64k & stereo, this is a very high quality audio book. To do this double click a track. then label them, and create the id tags. finally we'll attach a picture. Make sure the book is UNABRIDGED 1) get a ipod - i prefer the nano. link] Ripping 2) download audiograbber & install. link] 3) download lame encoder & install. select the Sectors>Last. And there you go Llewellyn Falco - Sunday, July 6, 2008 - How to build a Development/Test/Demo CA
So I ended up running Windows Cerificate Services which proved to be an easy to use, robust solution. just had to rebuild my Test CA (on Hyper-V) so I thought I'll document the important steps (for self-reference and whoever might be interested). They usually expire on the very day where you have to do an important demo. Now by default there is an entry pointing to the CA's Netbios name. better solution is to create a revocation list once, and store that at a publicly available location. Next you have to publish a CRL. Set it to e.g. five years. www.leastprivilege.com - Thursday, August 14, 2008 - How to get started with Knockout.js
Once you get into doing more client side JavaScript code with business applications and REST services you are going to run into the question of how to construct the client side HTML required to show the data to the users. Using jQuery Assuming most people are going to be using jQuery on the client you might start with some jQuery code to generate HTML. And in all likelihood the actual HTML that needs to be generated will be quite a bit more complex. The next step people tend to take is using templates. click( function () {. $.getJSON( The Problem Solver - Monday, February 6, 2012 - How to discover what font was used
Sometimes you’re working on a website and you get some images with text in them, but no one remembers what fonts was used in the image. No fear! There is a website call “What The Font” that will take your picture and tell you what font was used: [link]. ASP.NET DevelopMentor Courses - Monday, December 26, 2011 %>
| | |