Welcome Guest Search | Active Topics | Sign In | Register

EO.WebBrowser - Querystring with multiple parameters not working with LoadLayoutXML Options
Scott T
Posted: Wednesday, February 26, 2014 11:32:28 AM
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.


eo_support
Posted: Thursday, February 27, 2014 11:16:41 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

The LayoutFileXML your code produced is invalid XML.

Thanks!
Scott T
Posted: Thursday, February 27, 2014 11:19:45 AM
Rank: Member
Groups: Member

Joined: 11/7/2008
Posts: 16
the XML was copied from a file created by your sample app???
eo_support
Posted: Thursday, February 27, 2014 11:34:45 AM
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!
Scott T
Posted: Thursday, February 27, 2014 11:46:22 AM
Rank: Member
Groups: Member

Joined: 11/7/2008
Posts: 16
Obviously.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.