2012
CSS Tricks Quickie – Multiple Border Styles and Radius
Did you know that you can set multiple border styles for the sides of divs and images. By using the following css script, you can define any multiple borders you want:
div
{
border-width:5px;
border-style:dotted solid;
}
By using this with another css trick, the border radius, you can set some nice effects when hovering images. The radius css is below (all three must be include to work in all browsers):
-moz-border-radius:13px;
-webkit-border-radius:13px;
border-radius:13px;
Do you have some more simple tricks? Let me know in the comments
Happy CSSing!
2011
Improved Alexa Ranking by 1 million positions in 12 hours | Project Nine
Yesterday early in the morning, at about 2 o’clock I was still up, and spared a few minutes to try out some optimisations on my own site, www.nine.com.mt. In the afternoon I had a great surprise, the optimisations I did improved my Alexa ranking position by much over 1 million positions. I know I’m still far far below but using some simple optimisations, your website can also start ranking higher.
Click here to find out the simple optimisations I did on Project Nine’s website to get this result with your own site…
2011
For Loop with Negative Step | Quickie
Cannot believe that I’m writing some helpful examples using VB.Net, but that is the language that we’re using at work, so have to adapt now. Next find how to make a loop with a negative step (decreasing step):
Imports System Public Class MainClass Shared Sub Main() For intCount As Integer = 10 To 1 Step -1 'Add the item to the list System.Console.WriteLine(intCount) Next End Sub End Class
2011
Add AutoNumber to GridView showing the RowNumber | Quickie
<asp:TemplateField>
<ItemTemplate>
<%# Container.DataItemIndex + 1 %>
</ItemTemplate>
</asp:TemplateField>
2011
Solution | Unable to write output file ‘…pdb’; unspecified error
During this weekend, I started having a problem when building a solution in Visual Studio. It would load the following error:
Unable to write to output file Solution_Name.pdb
This Visual Studio solution has 8 projects, and a lot of files and folders. I tried several solutions that I found on the net, which worked for others, but none worked for my case including:
- Delete the .pdb file from the solution – Didn’t Work
- Delete the Debug folder – Still Didn’t work
- Delete the whole obj Folder – Nothing Continue reading »
2011
Get data from an SQLDataSource to a DataTable and Bind Grid
This week, I needed to bind a gridview to and SQLDataSource. The only problem is that I need to include extra rows. How to do this? First I removed the binding code to bind the grid directly from HTML (in gridview remove the DataSourceID attribute).
Then I wanted to get the data from the SQL Data source and convert to a data table to insert and update the table as needed. Next is the code to get the data… Continue reading »
2011
ASP.Net 4.0 Validate Request
When creating a CMS sometimes you need to allow certain tags pass through the ASP.Net Validation. To allow tags be posted, in v2.0, you had to include the following tag in the page directive:
ValidateRequest="false"
But in .Net 4.0, this is not enough. You also need to include the next tag (httpRuntime) in the web.config file under <system.web>:
<system.web>
<compilation debug="true" targetFramework="4.0" />
<httpRuntime requestValidationMode="2.0" />
</system.web>
There is also other information on Error validation in .Net 4.0 here
Resources: here
2011
ASP.Net | Read Values from Javascript
Today I started checking out some videos about Windows CardSpace and ASP.Net for logging in and I saw how he used javascript to get client side input and use it in ASP.Net in the C# code.
First you need to create a HiddenField on your webForm and name it TokenField (any name would actually do)
<asp:HiddenField ID=”TokenField” runat=”server” />
To set the Hidden Field value in JavaScript use the following code: Continue reading »
2010
Create your favicon.ico easily
To easily create a favicon.ico to be used on a website, you can use the following website. Here you can either enter the URL of the image or upload the png logo you want to use; then a download link is created where you can download the ico:
Some tips for you favicon image. Continue reading »
2010
URLRewriter Submit Button Error | Intelligencia
Today I was using Intelligencia URLRewriter to use Search Engine Friendly URL’s to improve my site’s SEO.
The Problem?
All was working fine until I inserted a button in the page. When I clicked the button, the URL address showed the original URL and stopped working… the button didn’t even do the postback.
The Solution… Continue reading »
What you missed
Check these Out!
Favourite Links
Tags
Archives
- May 2013 (2)
- January 2013 (2)
- December 2012 (5)
- November 2012 (4)
- October 2012 (3)
- September 2012 (1)
- August 2012 (4)
- July 2012 (2)
- June 2012 (1)
- May 2012 (10)
- February 2012 (6)
- December 2011 (2)
- October 2011 (3)
- September 2011 (1)
- April 2011 (6)
- March 2011 (14)
- February 2011 (9)
- January 2011 (10)
- December 2010 (6)
- November 2010 (10)
- October 2010 (6)
- September 2010 (10)
- August 2010 (4)
- June 2010 (10)
- May 2010 (2)
- April 2010 (1)
- March 2010 (1)
- July 2009 (1)
- June 2009 (1)
- April 2009 (4)
- March 2009 (1)
- February 2009 (5)
- January 2009 (10)
- December 2008 (8)
- November 2008 (4)
- September 2008 (6)
- August 2008 (11)
- June 2008 (2)
- May 2008 (3)
- March 2008 (1)
- February 2008 (1)
- November 2007 (1)
- September 2007 (2)
- July 2007 (2)
- June 2007 (1)
- May 2007 (2)
- February 2007 (3)
- January 2007 (4)
- November 2006 (1)
- October 2006 (1)
Categories
- Android (3)
- Apple (5)
- ASP.Net (37)
- Be Creative (1)
- Blackberry OS (1)
- CMS (5)
- Creative Computing (4)
- Crystal Reports (5)
- Day to Day (22)
- Deep Design Malta (8)
- Design and Development (22)
- Development Tools (15)
- Facebook (1)
- Games (3)
- Google Analytics (3)
- Google Gmail (1)
- Hotmail (1)
- Internet Explorer (7)
- iPhone/3G (19)
- iPod Touch (6)
- JavaScript (13)
- JQuery (3)
- Lumia (4)
- Microsoft (18)
- Microsoft SQL Server (21)
- Microsoft Visual Studio (27)
- MS Office (3)
- MVC (2)
- My Blog (3)
- NetBeans (1)
- Nokia (4)
- Off Topic (16)
- Online Services (3)
- Permissions (1)
- Phones and Tablets Platforms (7)
- Project NINE (11)
- PSP NGP (1)
- Quickie (9)
- SEO (7)
- Silverlight For WP7 (4)
- Sitefinity (1)
- Sony (1)
- Uncategorized (32)
- Utilities (57)
- VB .Net (1)
- Windows 7 (14)
- Windows 8 (3)
- Windows Live (3)
- Windows Mobile (5)
- Windows Phone 7 (18)
- Windows Phone 8 (1)
- Windows Vista (15)
- Wordpress (1)
- WP Apps (2)
- Yellow Pages (4)











