Hi Michael,
Glad I could help....You are rigth, there is a lack of JScript snippets, but
you can find C# out there. There you can usually figure out the JScript
equivalent...by trial and error at least.
Good luck with your developments.
Regards,
Franck M. Dauché
> Frank,
>
[quoted text clipped - 53 lines]
> > > > >
> > > > > Thanks,
Michael Morse - 10 Nov 2005 07:09 GMT
Franck,
Finally got your name right I see, sorry!
Hey, I 've gotten that event to fire ofcourse but how can I tell what node
cause the event. I specifically need it's XPath. When I try
eventObj.Source.nodeName or eventObj.Source.Site.nodeName i'm not seeing
anything to useful yet.
Is there a way I can find out which node caused the event?
> Hi Michael,
>
[quoted text clipped - 66 lines]
> > > > > >
> > > > > > Thanks,
Franck Dauché - 10 Nov 2005 17:21 GMT
Hi Michael,
You won't be able to access the full XPath from just on property. In fact
you need to build your XPath.
From your first node: eventObj.Source, you can get the name through
nodeName. Then you have to use node.parentNode to go back one level in your
schema and get the name of that node that you append to the previous one, all
the way back to the root.
Does it make sense?
Hope that it helps.
Regards,
Franck Dauché
> Franck,
>
[quoted text clipped - 77 lines]
> > > > > > >
> > > > > > > Thanks,
Michael Morse - 10 Nov 2005 17:32 GMT
I keep getting the value #text when I do
XDocument.UI.Alert(eventObj.Source.nodeName);
Am I doing something wrong?
> Hi Michael,
>
[quoted text clipped - 94 lines]
> > > > > > > >
> > > > > > > > Thanks,
Franck Dauché - 10 Nov 2005 19:05 GMT
Hi Michael,
I was thinking in terms of C#. Try to use:
var node = eventObj.Parent;
XDocument.UI.Alert(node.nodeName);
Franck
> I keep getting the value #text when I do
> XDocument.UI.Alert(eventObj.Source.nodeName);
[quoted text clipped - 99 lines]
> > > > > > > > >
> > > > > > > > > Thanks,
Michael Morse - 10 Nov 2005 19:32 GMT
JJJJJJJJJJAAAAAAAAAAACCCCCCCCCCCCCCKKKKKKKKKK POT!
> Hi Michael,
>
[quoted text clipped - 107 lines]
> > > > > > > > > >
> > > > > > > > > > Thanks,