With all of the goodies included with Service Pack 1 for Visual Studio 2008, the one thing that Microsoft did not do right is Javascript formatting. First of all, it’s really slow. Second of all, it doesn’t seem to be consistent with it’s indenting.
For me, I’d like to do my own formatting. So, to turn [...]
02 Mar, 2008
Posted by: kyanachik In: ASP.Net
Flotzam, a life streaming screensaver based all on Microsoft’s new Windows Presentation Foundation (WPF) put out a contest for redesigned UI. Here’s a screencast of the winner.
Flotzam Design Contest Winner
Here are feeds to track the action going on at Sharepoint Conference 2008:
Blogstream (via Technorati): http://feeds.technorati.com/search/SPC2008?authority=a4&language=en
Photostream (via Flickr): http://api.flickr.com/services/feeds/photos_public.gne?tags=SPC2008&lang=en-us&format=atom
Videostream (via MSN Soapbox): http://soapbox.msn.com/rss.aspx?searchTerm=SPC2008
You can also monitor: http://mysharepointcommunity.com/SPC2008
Here’s how to format a DateTime value to a Short Date when Binding in ASP.Net:
<%# Eval(”StartDate”, “{0:d}”) %>
28 Feb, 2008
Posted by: kyanachik In: ASP.Net
The Sharepoint GridView is not as fancy as the ASP.Net Listview, therefore it’s better to use an ASP.Net Listview to display a data table and style the table with the Sharepoint style classes. Here are my notes on how to style a data table for Sharepoint:
Table
Table [...]
Here’s an example of how to dynamically set the where property on a LinqDataSource to filter data based on user input from a textbox. In this case we have a Linq entity called ContractsEntity that has a table called ContractHeaders. Not shown in this example is the listview (in the Ajax UpdatePanel) that is bound [...]
27 Feb, 2008
Posted by: kyanachik In: ASP.Net
This is a great walk through on how to install ASP.Net 2.0 Ajax Extensions in Sharepoint so you can write and use Ajax-enable applications within sharepoint. Use this in conjunction with Microsoft .Net 3.5 applications and you can get some nice apps written quickly using LinqDataSource, Listviews, and ASP.Net Ajax. A tutorial is coming [...]
27 Feb, 2008
Posted by: kyanachik In: ASP.Net
When debugging an application I’m writing in Sharepoint I’m always trying to find the Sharepoint logs, so I posted this for me to remember. The logs are located here:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\LOGS
27 Feb, 2008
Posted by: kyanachik In: ASP.Net
Remote Desktop into WebServer1.
Download the .exe file from the internet and save it to c:\Documents and Settings\[USERNAME]\My Documents\Application Templates.
Create a new folder in the Application Templates folder with the name of the new application template to be installed (i.e. Knowledge Base).
Run the .exe file, which is a self-extracting zip file and choose [...]
27 Feb, 2008
Posted by: kyanachik In: ASP.Net
Make sure you have the Microsoft .Net 3.5 Framework installed on your servers, and place the following in each Web Application’s web.config file under configuration/system.web/pages:
<controls>
<add tagPrefix=”asp” namespace=”System.Web.UI.WebControls” assembly=”System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35″ />
</controls>
The web.config files are generally found here: C:\Inetpub\wwwroot\wss\VirtualDirectories\[PORT NUMBER]. If the controls tag is already present in the pages tag, then put the <add [...]