|
Rank: Member Groups: Member
Joined: 11/7/2008 Posts: 16
|
I have a website that has multiple parameters in a query string. I tested that this url works in firefox and chrome. When i run it in EO.WebBrowser I get an error.
If I change the _URLName to only contain one querystring everything works just fine.
I am using your sample and I modified by assigning a url to _URLNAME like below:
_URLName = "http://localhost/configcontainer/config_container.html?XFRCUDID=5695661282513041653081747&CONFIGID=XXX5710107531217641649082&MODEL=PL10&Opt1=1&Opt2=1";
LayoutFileXML = "<?xml version='1.0' encoding='utf-16'?>" + "<DockContainer Version='1'>" + "<Views>" + "<DockView IsActive='true' IsDocumentView='true'>" + "<Items>" + //"<Item ItemId='WebView:' StateData='https://www.google.com/' />" + "<Item ItemId='WebView:' StateData='" + _URLName + "' />" + "</Items>" + "</DockView>" + "</Views>" + "</DockContainer>";
And then I assign it like this: m_DockContainer.LoadLayoutXml(LayoutFileXML);
And get this error: '=' is an unexpected token. The expected token is ';'. Line 1, position 262.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
The LayoutFileXML your code produced is invalid XML.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 11/7/2008 Posts: 16
|
the XML was copied from a file created by your sample app???
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
Please ask someone around you to help you on this. We are not in a position to explain XML syntax to you.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 11/7/2008 Posts: 16
|
Obviously.
|
|