VisualStudioFeeds

All Visual Studio blogs in one place

AddThis Social Bookmark Button
The ECM features of SharePoint 2010 are excellent. The best thing is the extendibility of the platform using SharePoint designer and Visual Studio. By default SharePoint includes field types such as Single line text, multi-line text etc. The following is the snapshot of the fields available in SharePoint 2010 The out of the box field controls are useful for most situations, but still you may need additional field types when building business applications. Fortunately you can build custom field controls using Visual Studio 2010 and deploy to SharePoint. Custom field control
can provide a unique editing and display experience. Custom field controls can be used to include custom client-side validation and a unique editing experience. In this article I am going to demonstrate how you can build custom field control for SharePoint 2010. For the purpose of this article, I am going to build a custom field control that inherits the single line of text. When displaying the control, it will show the entered text in

tags. Also the field will convert the text to upper case while displaying. The custom field will throw error if it contains...(Read whole news on source site)


AddThis Social Bookmark Button
A question that pops up occasionally in ASP.NET forums or sites like Stack Overflow is how to change a control’s output dynamically. Well, since the CSS Friendly Control Adapters came out, I knew how to do it statically, through static registration on a .browser file (it can also be done dynamically, for all controls of a certain type, by adding a fully qualified type name to HttpContext.Current.Request.Browsers.Adapters collection), but I decided to go and try to do it dynamically, without registration. More specifically, I wanted to achieve two things:
Apply a XSL transformation to the generated output, provided it is XML-compliant; Change the output through code in an event handler-like fashion. So, here’s what I came up with:
1: <%@ Register Assembly="WebApplication1" Namespace="WebApplication1" TagPrefix="web" %> 2: ... 3: 4:  5:
I have two control declarations, one...(Read whole news on source site)

AddThis Social Bookmark Button
If you are using PSake to build .net projects and your project has a silverlight project in it you may get the following error. C:\Program Files (x86)\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.Common.targets(104,9): error : The Silverlight 4 SDK is not installed. [C:\Development\Source\Main\Libraries\SilverlightShared\Silverlight.csproj] When I encountered this I was not sure what to do since I was telling PSake that I was building with the ‘–framework 4.0; option.  However it appears that PSake does not look in the right path for the CORRECT MSBuild version.  The way that I found to solve this problem was to fully qualify the version
of MSBuild that I wanted to use.  I did the following C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe /verbosity:m $SolutionFileWithPath I have spoken with James (the author of PSake and he thinks he can have a fix for this) but just incase he does not get it or you have this problem now at least you know how to solve it. Till next time,
...(Read whole news on source site)

AddThis Social Bookmark Button
Technology has been changing at a rapid pace over the past few years and with conference season almost upon us it’s a great time to head to one of the great conferences like ASP.NET and HTML5 Connections from March 26-29 at the MGM Grand in Las Vegas, NV. I’ll be there with a whole new round of sessions myself including talks on Windows 8, XAML, jQuery, JavaScript Patterns, Knockout, MVVM with HTML5, and JsRender. Of course, there’s much much more too by including a can’t miss keynote by Scott Guthrie and many great speakers like:
Dan Wahlin (fantastic presenter and a great personal friend of mine) Stephen Walther (awesome presenter, knows his stuff cold) Richard Campbell (brilliant man of DotNet Rocks fame) Mads Kristensen (creator of many awesome plug ins for Visual Studio) Scott Hanselman (one of the best and funniest presenters in our industry) And of course there are many more! Sessions are only part of a conference experience. Yeah there’s the parties too … but the real value is in the hallway conversations and the people you meet and continue to...(Read whole news on source site)

AddThis Social Bookmark Button
I have been writing few series of new HTML5 input types and this is another post on same series. In this post I am going to explain Number input types. The number type is for numeric values. When you use number input type it will have spinner with up and down arrow and with the help of this you can increase or decrease of value. Attributes of Number Input type: There are four attributes of Number input types. Value : This attribute is used to specify the default value of the input type once
its first loaded. So what ever you put there in input value it will be there. Min: As name suggest it defines minimum value for a range that you can you can choose in number input types. Max: It defines maximum number value for the range a number input type can have. Step: This attribute defines the number which will decrease or increase number value. If you don’t specify the value for it the default value for this will be 1. So now we know...(Read whole news on source site)

AddThis Social Bookmark Button
Recently I decided I would kill two birds with one stone, I figured I would learn a bit of Powershell and setup some build scripts for our project.  I have been wanting to play around with Powershell for the longest time but could never really either find the time or the reason to play with it.  So I figured that setting up build scripts would be a perfect use of my time (I know I could have choose any other build language/framework but PSake meet my need). In this post I will walk you though how to
setup a build from scratch.  I will warn that because I am a COMPLETE NOOB with powershell it is very likely that my powershell code is less than optimal but it meets my needs. In my script we are going to accomplish 3 things: Setup a PSake Task to perform a clean on our solution Setup a PSake Task to perform a build on our solution Setup a PSake Task to run Tests in our solution Before you continue I would suggest you download...(Read whole news on source site)

Search

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Contact

Email:
Subject:
Message:
Anti-spam: How many eyes has a typical person?

Follow us on FB

Home