Moustafa Refaat
Login   Search
Skip Navigation Links
Home
Publications
Service Offerings
Downloads and Samples
My Resume
Endorsements
Contact Me
Books
Technical Articles
Software Packages
Scroll up
Scroll down
BizTalk The Practical Course
Mastering The BizTalk Technical Interview
Soduku:Challenging Puzzels
Scroll up
Scroll down
Design Patterns Review
Software Architecture Basics Review
Simplified BizTalk Content Based Routing for a Pass_Throu data
An Extensible Light Xml Rules Engine Component
Secure Messaging Solution
Create a SQL Database Programmatically
BizTalk Unzip Adapter
Implementing Singleton pattern with BizTalk Orchestrations
Developing BizTalk Custom Adapters
The BizTalk ESB Toolkit 2.0 experience Series
Scroll up
Scroll down
Setting the ESB Toolkit on the 64 Bit Machines
How The ESB Works
Sample Custom Resolver
Scroll up
Scroll down
Recent Training
Scroll up
Scroll down

News List

  • Toronto Code Camp Presentation is uploaded
  • BizTalk: The Practical Course is recommended by Micorsoft
  • Canadian Gigs Network (www.CanadianGigs.Net) a job web site focusing on Canadian Jobs
  • BizTalk Technical Interview Preparation
  • GT-DataSafe© Online Backup for Amazon Storage Services 3.0 is released
  • Soduku Challenging Puzzles
  • BizTalk: The Practical Course
  • Mastering The BizTalk Technical Interview is Published.

Technical Articles

  • SharePoint List Simplified Configuration Store
  • WCF and xsd:choice how to implement!
  • WCF: Refactoring a Plain old XML web service to a WCF Service
  • Setting the ESB Toolkit on the 64 Bit Machines
  • The BizTalk ESB Toolkit 2.0 experience Series
Skip Navigation Links>Home

 Welcome to my website, in the following pages you will find information about my experience, publications, software products I developed, and synopsis of the services I provide in the areas of software development, design, and architecture. As a software consultant, I worked on different roles, such as BizTalk Developer, SharePoint Developer, BizTalk Architect, Enterprise Architect, Technical Lead, and Instructor. I mainly provide services in the  GTA (Toronto, ON) , though I have provided services in Calgary AB, St Johns NFLD, Chicago IL, and Denver CL in the past. I work with many technologies but I am mainly focused on Microsoft .Net platform. Some of the technologies that I specialize in are:

  • BizTalk
  • SharePoint
  • ASP.Net
  • .Net 3.5
  • Amazon Web Services
  • Oracle
  • MS Dynamics CRM and GP

Lately I have been focusing on the cloud with Azure and Amazon web services.  Feel free to contact me at Moustafa@MoustafaRefaat.com if you have any questions regarding any of my posts, books, services, or products.

DateNews
07/05/2010Toronto Code Camp Presentation is uploaded
11/12/2009BizTalk: The Practical Course is recommended by Micorsoft
10/09/2009Canadian Gigs Network (www.CanadianGigs.Net) a job web site focusing on Canadian Jobs
07/08/2009BizTalk Technical Interview Preparation
11/07/2009GT-DataSafe© Online Backup for Amazon Storage Services 3.0 is released
06/04/2009Soduku Challenging Puzzles
06/04/2009BizTalk: The Practical Course
17/03/2008Mastering The BizTalk Technical Interview is Published.

Rss
<September 2010>
SuMoTuWeThFrSa
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789
Using the Anything Slider with SharePoint Content Query Web part
I was working on an integrating the anythingslider with the SharePoint Content Query Web Part, Dave Cavins gives and example on using it with the dataview web part which is not available anymore so I had to use the content query web part. After going through many trials , I had to change the “ContentQueryMain.xsl” style sheet and the ItemStyle.xsl.
  1. On the  ItemStyle.xsl, I have added a new custom style for my anything slider
            <xsl:template name="AnyThingCustomStyle" match="Row[@Style='C4ICustomStyle']" mode="itemstyle">
                        <li>
                         <div class="textSlide">
                                    <!-- display the item title and a link to the item -->
                                    <h3><xsl:value-of select="@Title" /></h3>
                                    <!-- display the body of the item -->
                                    <div id="quoteSlide">
                                        <blockquote>
                                                            <xsl:value-of select="@Body" disable-output-escaping="yes" />
                                                </blockquote>
                                    </div>
                         </div>
                        </li>
            </xsl:template>
 
  1. And I modified the  ContentQueryMain.xsl main loop to contain a choose and in case it is “AnyThingCustomStyle” it uses a different template than the one used with the default templates
    <xsl:choose>
         <xsl:when test="$IsSlider=' AnyThingCustomStyle '">
         
           <div class="anythingSlider">
                                                <div class="wrapper">
                                                            <ul>
                                                                        <xsl:for-each select="$Rows">
                                                            <xsl:variable name="CurPosition" select="position()" />
                                                                <xsl:call-template name="OuterTemplate.CallItemTemplate">
                                                            <xsl:with-param name="CurPosition" select="$CurPosition" />
                                                            </xsl:call-template>
                                                </xsl:for-each>
                                                </ul>
                                    </div>
                         </div>
                 
        </xsl:when>
         <xsl:otherwise>
 
I hope you will find this helpful, and if you have any questions about this blog shoot me an email to Moustafa@MoustafaRefaat.com
 
{28/02/2010 3:53 PM}
Comments:
Using the Anything Slider with SharePoint Content Query Web part
Can you please explain a little more how to set this up.
Posted 14/06/2010 11:20 AM by Rebecca

Please enter a title
Title
Please enter your name
Author
Please enter a comment
Comment
Please enter the characters displayed in the image Invalid Anti Bot Code
Anti Bot Image   
  
Rss
 
BizTalkGear.com
BizTalk components
Genetic Thought Software Inc
Genetic Thought Web Site where you can by my software products
SodukuPro.com
Play Sudoku Online or buy a PC based edition

Rss
Key Subjects
  • BizTalk
  • EMail
  • SharePoint
  • Architecture
  • EAI
  • Exception Management
  • Web Developmenet
  • Deployment
  • Security
  • Busienss Rules
  • SQL Server
  • ESB Toolkit
  • WCF
Copyright © Moustafa Refaat 2004 - 2009. All Rights Reserved.