Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  User Defined Ta...  How do I use UDT as a phone book with letters bar
Previous Previous
 
Next Next
New Post 9/23/2008 2:27 PM
User is offline Yehuda Tiram,
128 posts
9th Ranked


How do I use UDT as a phone book with letters bar 

 

Hi,
I use UDT as a phone book. My client want to have this list sliced by the letters.
I thought that I can filter the list by the letters with an extra field. when a record is filled the first letter will be put in this field. Then the xsl file will show only the records that have a certain letter (Like y for Yehuda)
I used the following code to show only the correct records and it works for a fixed letter:
<xsl:template match="/udt:UserDefinedTable">
    <xsl:variable name="currentData" select="udt:Data[contains(udt:Lists,'Y')]" />
    <table>
      <xsl:apply-templates select="$currentData" mode="list">
      </xsl:apply-templates>
    </table>
 </xsl:template>
 
I thought that I'll put links in a bar for every letter and send a query string that will reload the xsl with the link letter instead of the "Y" in the example above.
 
My problem is that I do not know how to code the xsl correctly.
 
I am not even attempting to use a more sophisticated method like letting the xsl take the first letter from the name field (Instead of having the admin insert it manually to a special field, but if there's a way to do it will be great)
Thank you for any advice.
Yehuda.
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  User Defined Ta...  How do I use UDT as a phone book with letters bar
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DotNetNuke Hosting Provider UK
UK leading DotNetNuke Hosting provider. Owned and operated by a Microsoft Gold Certified Partner.
www.DNN-Portals.co.uk
Alliance Systems & Programming Inc
Alliance is not just our name... it's how we do business. We partner with our clients, learning their business processes and standards and then applying our expertise to help them improve their workflow and profitability.
www.Alliancesys.com
Customer Connect
Customer Connect provides cutting edge solutions that deliver sales, marketing and customer service results.
www.customer-connect.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP