in

InfoPath Dev

Data cannot be modified in Sharepoint

Last post 06-04-2008 09:20 AM by DragonX2. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 06-04-2008 09:20 AM

    Data cannot be modified in Sharepoint

    Hi, 

    I've uploaded my form to sharepoint, and I'm trying to get the form to edit some of the values. Here's what I did:

            public void One_Changed(object sender, XmlEventArgs e)
            {
                string one = e.Site.Value;

                if (one == "Hello")
                {
                    e.Site.SelectSingleNode("../my:Message", NamespaceManager).SetValue("Value is Hello!");
                }
                else
                {
                    e.Site.SelectSingleNode("../my:Message", NamespaceManager).SetValue("Value is Good Bye!");
                    e.Site.SelectSingleNode("../my:Two", NamespaceManager).SetValue("");
                }
            }

     However, for some reason, setvalue()  works on my desktop, but doesn't on sharepoint. Nothing happens at all. Any ideas why?
     

Page 1 of 1 (1 items)
Copyright © 2003-2007 Qdabra Software. All rights reserved.
View our Terms of Use.