How do you treat each item created by an itemRenderer as an individual item?

I have a list that is populated by an itemRenderer. The itemRenderer creates a horizontal list of icons. I want to treat each icon generated by the itemRenderer separately so that I can make changes according to the icon that is selected. How do I do this?

I found this one, but this just reference to use values
http://www.lynda.com/SharePoint-tutorials/Calculating-numbers-using-Do-Calculation/144025/161242-4.html?famodalonplay=1&vid=6&fatoc=1
did you tried using object model for divide in the sharepoint list?
To divide numbers in two or more columns in a row, use the division operator (/).
Column1
Column2
Formula
Description (possible result)
15000
12
=[Column1]/[Column2]
Divides 15000 by 12 (1250)
15000
12
=([Column1]+10000)/[Column2]
Adds 15000 and 10000, and then divides the total by 12 (2083)
http://msdn.microsoft.com/en-us/library/office/bb862071(v=office.14).aspx

Similar Messages

  • Working with Drumloops; How do you treat yours in mixing?

    Hey guys,
    I just bought the disc from www.sessionloops.com with all the various musical drum styles "You Too 90's" "Slow Floyd", etc. I really like them! They sound great and are cheap compared to alot of other companies...
    Anyway, if anyone else is dealing with drum loops...how do you treat them? Do you leave them un-eq'd? I am assuming alot of eq'in was done when the drum tracks were recorded originally.....do you add additional eq'in and compression to these loops?
    Any information would be amazing! Share your stories with me please

    Thanks, both of you for your answers.....the type of
    loops I bought, I am unable to seperate the eq for Hi
    Hats or Kick Drum.....because its one continous .aiff
    file of the loop (verse, chorus, etc.)
    Or, can I still accentuate certain parts of the drum
    (hi-hat, kick drum) by fiddlin' with different
    frequencies?
    Yeah try some of the GB EQ's from the menu, often they work well and give you just enough for what you need.
    Such as the settings:
    "Add Fullness To Snare" or "Add Brightness" Or "Add Sharpness" or the like for Hi hat or snare EQ.
    Also:
    "Enhance Bass Drum" Or "Big Drum" that kind of EQ Preset for more impact.
    These presets will help you enhance the areas you need. As your sonic perception for EQ becomes more sophisticated you can move on to more advance EQ devices. But these presets should be pretty good!

  • How do you get SFW5 to create a transport when activating components?

    How do you create a transport in order to transport the activation of a component to the next system in the landscape?
    In my sandbox system whenever I activate a component no transport is created. I have manually created a transport using system setting --> transport and then triggered the activation. The transport is not updated with anything.

    Hi Rick,
    Check this link Several question on activation and transporting
    Thanks
    Sunny

  • How Do You Use XML To Create Image Upload On A WebSite?

    Hello,
    Could some one please help me understand how to create web image gallery and web video gallery using XML? I have found few xml codes that could be used to do this but I am not so sure how to use them. I want my clients to be able upload images and videos with linking thumbnails to Image and or Videos. Do you think the codes I included in this question will help me achive this goal? And do I need to put all in one and in the same directory so it will work? Please help with your idea and tell me how you would use these codes and how you may step-by-step implement the idea your self to your own web site.
    I have also included the instruction I found on the web with the codes.
    Starting with You Tube, API on their video gallery, here are the codes I found,
    Assume you are to use the YouTube, XML code; What will you change here so it will work on your own www.domain.com?
    <% Dim xml, xhr, ns, YouTubeID, TrimmedID, GetJpeg, GetJpeg2, GetJpeg3, thumbnailUrl, xmlList, nodeList, TrimmedThumbnailUrl Set xml = Server.CreateObject("MSXML2.FreeThreadedDOMDocument")
    xml.async = False
    xml.setProperty "ServerHTTPRequest", True
    xml.Load("http://gdata.youtube.com/feeds/api/users/Shuggy23/favorites?orderby=updated") If xml.parseError.errorCode <> 0 Then
        Response.Write xml.parseError.reason End If Set xmlList = xml.getElementsByTagName("entry") Set nodeList = xml.SelectNodes("//media:thumbnail") For Each xmlItem In xmlList
        YouTubeID = xmlItem.getElementsByTagName("id")(0).Text
        TrimmedID = Replace(YouTubeID, "http://gdata.youtube.com/feeds/api/videos/", "")
        For Each xmlItem2 In nodeList
            thumbnailUrl = xmlItem2.getAttribute("url")
            Response.Write thumbnailUrl & "<br />"
        Next     Next    
    %>
    For the image gallery, the following are the codes I found with your experience do I need to use the entire codes or just some of them that I should use?
    CODE #01Converting Database queries to XML
    Using XML as data sources presumes the existence of XML. Often, it is easier to have the server create the XML from a database on the fly. Below are some scripts for common server models that do such a thing.
    These are starting points. They will need to be customized for your particular scenario.
    All these scripts will export the data from a database table with this structure:
    ID: integer, primary key, autoincrement
    AlbumName: text(255)
    ImagePath: text(255)
    ImageDescription: text(2000)
    UploadDate: datetime
    The output of the manual scripts will look like:
    <?xml version="1.0" encoding="utf-8" ?>
      <images>
         <image>
              <ID>1</ID>
              <album><![CDATA[ Family ]]></album>
              <path><![CDATA[ /family/us.jpg ]]></path>
              <description><![CDATA[ here goes the description ]]></description>
              <date><![CDATA[ 2006-11-20 10:20:00 ]]></date>
         </image>
         <image>
              <ID>2</ID>
              <album><![CDATA[ Work ]]></album>
              <path><![CDATA[ /work/coleagues.jpg ]]></path>
              <description><![CDATA[ here goes the description ]]></description>
              <date><![CDATA[ 2006-11-21 12:34:00 ]]></date>
         </image>
      </images>
    These are all wrapped in CDATA because it is will work with all data types. They can be removed if you know you don't want them.
    Note: If using the column auto-generating versions, ensure that all the column types are text. Some databases have data type options like 'binary', that can't be converted to text. This will cause the script to fail.
    CODE #02ASP Manual: This version loops over a query. Edit the Query and XML node names to match your needs.
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <%
    Dim MM_conn_STRING
    MM_conn_STRING = "dsn=image_gallery;uid=xxxx;pwd=xxxx"
    %>
    <%
    Dim rsImages
    Dim rsImages_cmd
    Dim rsImages_numRows
    ' Query the database and get all the records from the Images table
    Set rsImages_cmd = Server.CreateObject ("ADODB.Command")
    rsImages_cmd.ActiveConnection = MM_conn_STRING
    rsImages_cmd.CommandText = "SELECT ID, AlbumName, ImagePath, ImageDescription, UploadDate FROM images"
    rsImages_cmd.Prepared = true
    Set rsImages = rsImages_cmd.Execute
    ' Send the headers
    Response.ContentType = "text/xml"
    Response.AddHeader "Pragma", "public"
    Response.AddHeader "Cache-control", "private"
    Response.AddHeader "Expires", "-1"
    %><?xml version="1.0" encoding="utf-8"?>
    <images>
      <% While (NOT rsImages.EOF) %>
         <image>
              <ID><%=(rsImages.Fields.Item("ID").Value)%></ID>
              <album><![CDATA[<%=(rsImages.Fields.Item("AlbumName").Value)%>]]></album>
              <path><![CDATA[<%=(rsImages.Fields.Item("ImagePath").Value)%>]]></path>
              <description><![CDATA[<%=(rsImages.Fields.Item("ImageDescription").Value)%>]]></description>
              <date><![CDATA[<%=(rsImages.Fields.Item("UploadDate").Value)%>]]></date>
         </image>
        <%
           rsImages.MoveNext()
         Wend
    %>
    </images>
    <%
    rsImages.Close()
    Set rsImages = Nothing
    %>
    CODE #03
    Automatic: This version evaluates the query and automatically builds the nodes from the column names.
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <%
    Dim MM_conn_STRING
    MM_conn_STRING = "dsn=image_gallery;uid=xxxx;pwd=xxxx"
    %>
    <%
    Dim rsAll
    Dim rsAll_cmd
    Dim rsAll_numRows
    ' Query the database and get all the records from the Images table
    Set rsAll_cmd = Server.CreateObject ("ADODB.Command")
    rsAll_cmd.ActiveConnection = MM_conn_STRING
    rsAll_cmd.CommandText = "SELECT * FROM Images"
    rsAll_cmd.Prepared = true
    Set rsAll = rsAll_cmd.Execute
    ' Send the headers
    Response.ContentType = "text/xml"
    Response.AddHeader "Pragma", "public"
    Response.AddHeader "Cache-control", "private"
    Response.AddHeader "Expires", "-1"
    %><?xml version="1.0" encoding="utf-8"?>
    <root>
      <% While (NOT rsAll.EOF) %>
         <row>
             <%
                 For each field in rsAll.Fields
                 column = field.name
             %>
              <<%=column%>><![CDATA[<%=(rsAll.Fields.Item(column).Value)%>]]></<%=column%>>
              <%
                 Next
              %>
         </row>
        <%
           rsAll.MoveNext()
         Wend
    %>
    </root>
    <%
    rsAll.Close()
    Set rsAll = Nothing
    %>

    OK, I understand - thanks for that.
    I thought the whole process was supposed to be a bit more seemless? Having to upload/download documents and manually keep them in sync will leave a lot of room for errors.
    It's kinda painful the way iOS doesn't have folders. It makes things incompatible with the Mac and means you can't group files from multiple apps into a single project - who organises their digital life by the apps they use?
    I think I'll recommend they use their iPad only.
    Thanks for that.
    Cheers
    Ben

  • How do you alphabetize a previously created list?

    I have created a list while writing in a document.  I entered each item as the data came in.  Each item is followed by a paragraph mark.  Now I would like to alphabetize the list.  How do I do this?

    In what application? Have you looked at the Help files for the application?

  • How do you email a newsletter created in Pages?

    I created a 2 page newsletter in pages for my small business and I want to email the newsletter to my contact list. How do I do this?

    Here is a solution:
    Make sure it is really only one page...
    1. Take a PNG screenshot of the entire page (make sure it is enlarged to a decent size).
    2. Upload the screenshot somewhere on the web (i.e. to flickr, or to your personal/business web server in say, an "images" folder) and copy the url address of the image address
    3. Open TexEdit to create an HTML document. Insert the following code and fill in your information where the caps are:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <title>YOUR BUSINESS NAME HERE</title>
    </head>
    <body>
    <map name="Map" id="Map"><area shape="rect" coords="4,79,202,129" href="http://YOURCOMPANYURL" />
    </map>
    </body>
    </html>
    5. Now, once all filled in, save the document and then change the extension of the TextEdit document to HTML.
    6. Open it with Safari and you should see your full page newsletter/ad. Go to Safari>File>Mail Contents of this Page... you will then be able to email your newsletter/ad as a webpage via email. Anyone who can view html messages will likely see your webpage: because it is a picture, you won't have any problems with it not displaying properly on other people's computers.
    You can also try a program called Mailings. It makes it fairly easy to create and send HTML emails: make sure you have screenshots uploaded to the web of your newsletter/ad.
    Message was edited by: Ryan Vetter1

  • How do you list all your created scripts?

    Hi all.....
    Is there a way to list all of the scripts that you have created that are in your database? I tried the SELECT * FROM CAT but that wont list your scripts. Any ideas?

    786304 wrote:
    If we have stand alone procedures and functions
    user_source or dba_source gives the list
    **If we have the procedures and functions within the packages How will us know?**
    Can anybody give me the query for that one
    Thanks,Hi,
    Check out this.
    SELECT dbms_metadata.get_ddl('PACKAGE','your_package_name') FROM dual;
    SELECT dbms_metadata.get_ddl('PACKAGE_BODY','your_package_name') FROM dual;Hope this Helps.
    regards,
    achyut k

  • How do you burn a movie created in iMovie 10 to DVD?

    I would like to use the new iMovie with Maverick but I don't know how to take the finised movie and export it onto a dvd.  Any suggestions?

    Go to File>Share>File, choose the size (probably should choose either SD or Large) then click Next, give it a name, then click Save.
    Go to iDVD. Go to File>Import>Video and select the file you just created. It will bring the video into your iDVD project.
    This was always the way I did it in the previous version of iMovie. Works just fine.

  • How do you save css rules created in web inspector?

    Being a web developer, I usually use Firebug on Firefox to test CSS when I'm developing a website. Ever since I got my new iMac, I've really grown to love Safari. I like the Web Inspector but I cannot seem to find a way to copy any of the CSS rules I create for testing. Is there an effective way to create CSS rules and copy the whole CSS rule (property + declarations) so I can paste them somewhere else?

    You can import and replace any styles you want from other documents, but templates are templates. That is what they are for.
    Styles are document specific for a reason. Imagine the fun and games if the styles in one document changed the behavior of same name style in other unopened documents. You would be chasing your tail forever.
    Someone would send you a file and it would inexplicably change layout and appearance just because your styles didn't match.
    Peter

  • How do you allow users to create comments on a pdf document?

    Please can you assist I previously loaded a pdf document and was able to share with others, they could see my comments as I was adding these. They could also add comments and click publish for me to see these. .
    The second time round it does not seem to work and does not allow me to mark up my comments (it only allows download). I have tried collaborate live but that does not seem to work either.
    Thank you.

    You should be able to take the permissions you have set and "apply to enclosed items." I am trying to attach a picture of what this looks like so my apologies if it does not work.
    Highlight your folder you want and go to File>Get Info or command+I and at the bottom where it has Sharing and Permissions, click the lock button to authenticate. Click the gear and click "apply to enclosed items". See if that works.

  • How do you number each line in pages?

    I would like to number each line I a document t I am writing how is it done in pages

    Pages has no numbering facility as such. The work arounds are extremely clumsy.
    Try iText Pro and LibreOffice instead.
    Peter

  • How do you get past the create partition step?  Trying to indtall Windows 7 using Boot Camp 5

    Trying to install Windows 7 on a MacBook Pro with Mavericks.  Currently run Win7 using VMware but experiencing poor performance and lockup.  Have tried to use Boot Camp but cannot get past the 'creating partition' step.  The blue bar shows some progress (about 10%), but then after some time it produces a generic error message thst it cannot create the partition. 

    Hold the option while turning on the computer. You should see your statup drives. Just choose the OS X drive and eject your disc once in OS X.

  • How do you use Class Auto Create Parameter of Web Resource Type in WPC?

    In our project, we decided to use wpc for news implementation and we need that content web be  automatically  placed on a container.
    I saw the parameter, but I didn't find more helpful information
    Regards.
    null

    Thanks so much!
    Like I said I am new to Apple products so it's still unclear to me which programs I do or don't need as I'm setting up and configuring all my software and devices.
    The Logitech Control Center appears to work perfectly for what I was trying to do!
    I accidently clicked "This helped me" instead of "This Solved My Question", sorry about that this was a solve!

  • How to ripple delete a clip that has been broken out to individual items. (video and dual mono clips)

    I have several hours video with dual mono audio tracks that I want to adjust volume etc descretly.  I know I can "break apart clip items" to adjust each audio channel separately. But, after breaking apart the clip items, is there a way to ripple delete a section of video and both audio tracks at once?  I have tried selecting and deleting but can only delete one "track" at a time. I have assembled them into a compound clip and cut out a selection, but, after a couple of cuts, the I got phantom audio playing way out of sync. I have tried using the blade tool, but, when I make the cut(s), the second audio channel slides up to "track one"... Any help would be appreciated.

    glad that worked out for you. Yes trace is your friend.
    BTW you need to use the array notation for everything and it is generally not such a great idea to use _root -- just in case you later load content into another swf the _root will change.
    So if this were me....
    var sp:ScrollPane=quiltpane
    var myContent:MovieClip=sp.spContentHolder.quilt;
    And then later
    myContent["square"+loopcount];
    Easier to read, easier to type. You can give those different names that are more meaningful for you. Also you will get code hinting since the variables are typed -- you won't get that with the array notation. You could even do something like:
    for(var loopcount=0;i<numSquares;i++){
    var curSquare:MovieClip=myContent["square"+loopcount];
    curSquare._alpha=blah blah
    blah blah blah.

  • How do you add folders to the music library instead of just individual files in iTunes 10?

    When I try to add folders to the library like I used to be able to, the only option that appears is 'Add files to library' - any tips?

    You can restore much of the look & feel of the previous version with these shortcuts:
    CTRL+B to turn on the menu bar (also opens temporarily with ALT).
    CTRL+S to turn on the sidebar (your device should be listed here as before).
    CTRL+/ to turn on the status bar.
    Click the magnifying glass top right and untick Search Entire Library to restore the old search behaviour.
    Use View > Hide <Media Kind> in the cloud or Edit > Preferences > Store anduntick Show iTunes in the cloud purchases to hide the cloud items. The second method eliminates the cloud status column (and may allow iTunes to start up quicker).
    The first one will give you access to File > Add Folder to Library.
    tt2

Maybe you are looking for

  • Bridge CC Adobe Bridge CC 6.0.1 Update Update is not applicable. Error Code: U44M2P28

    (MAC) I downloaded Bridge CC and accidently deleted it unproperly. I just trashed it in the trash can and emptied it. I can't restore/ re-download it becuase it still says on Creative Cloud that Bridge is up to date, but when I looked online to prope

  • Mail - Dreamweaver - Hotmail Problem

    Hi, I downloaded the trail version of Adobe Dreamweaver and it sort of works. I can create a html newsletter and sent it using Mail.app... HOWEVER... The images appear in Mail and Outlook Express but they do not appear when you look at the e-mail thr

  • Sort photos out of an album

    I have (had) a series of albums in which I saved specific photos, e.g., Lake 2014 was to contain only pics from 2014.  However, that album now contains pics from other years as well; how do I sort the non-2014 pics out, then place them correctly in t

  • 5S Vibrating when fully charged in DND mode?

    I charge my 5S at night when sleeping, as I did with my 4S. I turn the phone on silent and put in do not disturb mode. However, I still get a full battery vibration in the middle of the night. I never had this problem with the 4s. Is there a way to f

  • Problems passing parameters

    I have problems passing parameters from the html to the applet which is driving me crazy !!! HTML: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Test</title> <meta http-equ