Ask a Question related to ASP.NET General, Design and Development.
-
chrisk #1
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
-
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... -
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:... -
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... -
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... -
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... -
Natty Gur #2
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
-
chrisk #3
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
-
chrisk #4
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
-
Natty Gur #5
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
-
chrisk #6
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



Reply With Quote

