SharePoint 2007: Priority/Progress Bar using color coding within a SharePoint List

This article was inspired by these two articles Apply color coding to your SharePoint lists and Status/Progress Bar. the final calculated column is a priority/progress bar that uses the default Priority options within a task list in combination with the [% complete] column to finally give you something like this:

Priority/Progress Bar

As you may have notice, I have a task that is flagged as “Complete”, however, because I forgot to update my percentage from 75% to 100% SharePoint will, by default, list that in the [% complete] column, while with my solution, this has been taken care of, the percentage is displayed correctly at a “100%”. The same thing apply if you listed a task as “Not Started” but provided a percentage greater than “0%”. all you have to do now is hide the [% complete] column. The advantage of this solution is that you have your progress bar and priority color coding combined within the same column just like you would have in a Gantt view.


Read the rest of this entry »

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading ... Loading ...

Tags : ,

Transfer data from one Gridview to another in Asp.net

I struggled with this for hours, I couldn’t find any good and complete answer. The solution I found on line uses list and kept trowing exceptions at the gridView1.DataBind() line. so here is my way of doing this. I hope this may help someone else just trying to get the content of one gridview and displaying it in another:

In may case I had MultyView form that contains a gridview at the 6th step and I wanted to display the content of the the whole form in the final step as a summary before the user can submit it.
I’m not going to go through all the details, but this was part of the webform developed for a WorkflowGen Process.


Read the rest of this entry »

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading ... Loading ...

SharePoint Custom Permission Level: How to add a contributor with no delete access.

SharePoint 2007
This post is to show you how to use the out-of-the-box SharePoint (WSS) to allow a certain group of users to add items to a site, a document library, or a list, but not be able to edit or delete the items once added.

Read the rest of this entry »

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading ... Loading ...

Tags : ,

Enumeration in PHP

An enumeration is a set of constant values, each of which is given a descriptive name.
Each value in an enumeration corresponds to a preset integer. In your code, however, you can refer to an enumerated value by name, which allows you to create more readable code and also simplify your coding experience.

Enumerations provide an alternative to the #define preprocessor directive with the advantages that the values can be generated for you and obey normal scoping rules.

Read the rest of this entry »

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Illustrator Tutorial: How to create a WordPress logo?

The challenge of this tutorial is to use various design techniques to replicate the WordPess logo. This tutorial is a good exercise for a lot of beginners to learn and discover how the pathfinder palette can be such an important tool in combining and making more complex objects more quickly and efficiently than what they may otherwise do.

Read the rest of this entry »

1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 4.67 out of 5)
Loading ... Loading ...

Tags :

PHP Basics: DataTypes

In PHP, a variable’s datatype determines the values it may contain, plus the operations that may be performed upon it. for instance, It will make perfect sense to add variables whose values are numbers (2 + 3), but adding variables whose values are characters (x + y) wont make much sense.

PHP supports many different datatypes, but they are generally broken into three categories:
scalar, composite, and special.

Read the rest of this entry »

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

PHP Basic: Operators

If you have had previous programming experience in PHP or in any other programming language for that matter, you should be very familiar with the concept of operators. Operators allow you to manipulate data objects called operands in a number of ways. For instance you can use them to compare, assign, multiply, add, subtract, concatenate or do any mathematic functions.

Read the rest of this entry »

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

PHP Basics: Variables

What’s a Variable?

A variable is a symbolic representation of a value such as integer, string, or function result. But as its name suggest, it can change over time or vary so that it can be used many times within a script.

Variables in PHP

In PHP, variable names are going to start with a “$” sign, then they are going to be followed by a letter or an underscore “_”. A variable name is case-sensitive and can contain letters, numbers, underscores, or dashes (a-z, A-Z, 0-9, _, or -), but no spaces otherwise PHP will think that it is a new entity.

Read the rest of this entry »

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Tags : ,

PHP Basics: Syntax

About PHP:
PHP is a server side scripting language that does something in response to events unlike a programming language that can do things even when it’s not responding to events. JavaScript is an example of another popular scripting language but unlike JavaScript, PHP is going to run on the server side (Web Server) not on the client side (User Browser).

Read the rest of this entry »

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Tags : , ,

How to Install Apache, PHP, MySQL & phpMyAdmin for Vista

There is no doubt that PHP is one of the most popular web programming language, at least in the sense of being heavily used. The fact that it is so easy to code and deploy besides the natural attitude of its programmers who tend to be more open and pragmatic contributed a lot in its propagation unlike other programming languages witch have been (and continue to be) massively marketed.

Read the rest of this entry »

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Tags : , , , , ,