I’ve place a badge on my home page that displays my two latest Pownce posts, and dedicated an entire page Pownce Feeds that lists my 30 most recent Pownce posts. Things that ramble off my brain that don’t deserve a full blog post will get Pownced.
I’ve place a badge on my home page that displays my two latest Pownce posts, and dedicated an entire page Pownce Feeds that lists my 30 most recent Pownce posts. Things that ramble off my brain that don’t deserve a full blog post will get Pownced.
Here’s how to format a DateTime value to a Short Date when Binding in ASP.Net:
<%# Eval(”StartDate”, “{0:d}”) %>
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 [...]
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
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 [...]
If you’re having trouble installing any Windows Live applications using the Windows Live Installer, you can browse to this Windows Live SkyDrive folder and download the individual installers themselves. You won’t get all of the functionality (There is no shortcut to Windows Live Writer for me, but I can get to it through Internet [...]
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 [...]
The Coda Slider is an Ajax tabs that transitions from tab to tab in a really neat manner. All you have to do is wrap your tab pages in some divs with specific classes assigned to them and you’re good to go. The required javascript is downloadable, and requires jQuery.
Coda-Slider 1.1.1