XML Island DSO binding

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default XML Island DSO binding

    Trying to due current recordset (DSO) binding using an XML Data
    Island. The data displays correctly when the page loads. I am
    embedding the datasrc and datafld attributes within a TemplateColumn
    (asp:Label) in a DataGrid. Whenever I try to do a move next on the
    recordset, the browser reports it is null. I have seen every article
    on msdn and other sites. Searched high and low with no joy. Any help
    is appreciated. I intend to later on use dhtml to modify the datafld
    attribute as the user makes a selection in the browser.

    Snippets of the aspx is below.

    Thanks,

    Chris

    <xml id="xmlIsland" src="ckxml.xml"></xml>


    <asp:TemplateColumn HeaderText="Preview">
    <ItemTemplate>
    <asp:Label id=SrcPreview Text='<%# DataBinder.Eval(Container,
    "DataItem.SourcePreview") %>' runat="server" datasrc="#xmlIsland"
    datafld="Col_x0020_A" DATAPAGESIZE=1>
    </asp:Label>
    </ItemTemplate>
    </asp:TemplateColumn>

    <INPUT id="cmdNavFirst" onclick="xmlIsland.recordset.MoveFirst()"
    type="button" value="<<">
    <INPUT id="cmdNavPrev" onclick="xmlIsland.recordset.MovePrevious(); if
    xmlIsland.recordset.BOF)xmlIsland.recordset.MoveFi rst();"
    type="button" value="<">
    <INPUT id="cmdNavNext" onclick="xmlIsland.recordset.MoveNext();
    if(xmlIsland.recordset.EOF)xmlIsland.recordset.Mov eLast();"
    type="button" value=">">
    <INPUT id="cmdNavLast" onclick="xmlIsland.recordset.MoveLast()"
    type="button" value=">>">
    chrisk Guest

  2. Similar Questions and Discussions

    1. Binding XML
      Hi all, I'm working with XML but creating a binding between the xmlconnector, the dataset and the the datagrid with the usage of actionscript...
    2. New Game: Stunt Island 3D
      Hi all, Any bmx biking or motocross madness fans out there? If so, here's a new game in that genre that you might like:...
    3. Complex data binding question, binding child objects of a custom collection.
      I have a custom collection of objects, each of which includes a child object called MyUserOpener. In declarative binding, I can bind this property...
    4. Printing Island Spreads within a Document
      Help! I am trying to print a proposal that is 81/2 X 11 letter size but within this document there are some tabloid size fold outs. When I print...
    5. value binding and function binding
      Hi I was just wandering through some lisp code and I saw this: (let ((x 1)) (flet ((x (y) (+ x y))) (x x))) (I'm not sure if the indentation...
  3. #2

    Default Re: XML Island DSO binding

    Hi,

    Currect me if i wrong,

    on the client side you got plain XML and not an (recordset) object ?

    Natty Gur, CTO
    Dao2Com Ltd.
    34th Elkalay st. Raanana
    Israel , 43000
    Phone Numbers:
    Office: +972-(0)9-7740261
    Fax: +972-(0)9-7740261
    Mobile: +972-(0)58-888377


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur Guest

  4. #3

    Default Re: XML Island DSO binding

    The XML tags tell IE to recognize it as an XML Island and creates a
    DSO recordset for reference by the "id" attribute found within the XML
    tag.
    chrisk Guest

  5. #4

    Default Re: XML Island DSO binding

    The DSO provides a client side recordset to work with automatically
    for an XML Island.

    Natty Gur <natty@dao2com.com> wrote in message news:<#2TLJOYWDHA.2376@TK2MSFTNGP11.phx.gbl>...
    > Hi,
    >
    > Currect me if i wrong,
    >
    > on the client side you got plain XML and not an (recordset) object ?
    >
    > Natty Gur, CTO
    > Dao2Com Ltd.
    > 34th Elkalay st. Raanana
    > Israel , 43000
    > Phone Numbers:
    > Office: +972-(0)9-7740261
    > Fax: +972-(0)9-7740261
    > Mobile: +972-(0)58-888377
    >
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!
    chrisk Guest

  6. #5

    Default Re: XML Island DSO binding

    [url]http://www.15seconds.com/issue/010205.htm[/url]

    Natty Gur, CTO
    Dao2Com Ltd.
    34th Elkalay st. Raanana
    Israel , 43000
    Phone Numbers:
    Office: +972-(0)9-7740261
    Fax: +972-(0)9-7740261
    Mobile: +972-(0)58-888377


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur Guest

  7. #6

    Default Re: XML Island DSO binding

    No, I actuall already created a similar sample with my own island on a
    different webform. I believe you may be correct about the smart
    navigation and post back. My sample doesn't have a FORM element but
    of course my real-world WebForm does have FORM tags.
    chrisk Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139