﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - dialog</title><link>http://www.intersoftsolutions.com/Community/Tags/dialog/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Webcombo in jQuery Dialog control</title><link>http://www.intersoftsolutions.com/Community/Tags/dialog/</link><pubDate>Mon, 12 Aug 2013 06:06:29 GMT</pubDate><dc:creator>sinan.biondic@gmail.com</dc:creator><category>WebCombo</category><category>error</category><category>JQuery</category><category>dialog</category><category>control</category><category>not</category><category>working</category><description>&lt;p&gt;I have webcombo defined on page in a div holder that is used for displaying jquery dialog.&lt;/p&gt;
&lt;p&gt;Markup looks like this:&lt;/p&gt;&lt;pre&gt;&amp;lt;div class="careerOutlooksHolder"&amp;gt;
 &amp;lt;table&amp;gt;
 &amp;lt;tr&amp;gt;
 &amp;lt;td&amp;gt;&amp;lt;textarea class="txtCareerOutlook" id="txtCO1" runat="server"&amp;gt;&amp;lt;/textarea&amp;gt;&amp;lt;/td&amp;gt;
 &amp;lt;td&amp;gt;
 &amp;lt;iswebcombo:WebCombo ID="cmbRL1" runat="server" AllowWildCardSearch="false" Width="100" 
 Height="20" DataValueField="IdReda" DropDownRows="20" AllowAutoDataCaching="true"
 ViewStateStorage="PageCache" EnableWebResources="Auto" DataTextField="Naziv" ClientIDMode="Static"&amp;gt;
 &amp;lt;LayoutSettings ComboMode="MultipleColumns" EnableAnimation="False" AlwaysShowAllRowsOnDropdown="true" 
 EntryMode="AutoComplete" StatusBoxPosition="Top" StatusBoxVisible="true" &amp;gt;
 &amp;lt;ClientSideEvents OnAfterItemSelected="cmbRL_OnAfterItemSelected" /&amp;gt;
 &amp;lt;/LayoutSettings&amp;gt;
 &amp;lt;Columns&amp;gt;
 &amp;lt;iswebcombo:WebComboColumn Name="Naziv" HeaderText="&amp;lt;%$GetString:{%00_pub_Name%}%&amp;gt;" BaseFieldName="Naziv" /&amp;gt;
 &amp;lt;/Columns&amp;gt;
 &amp;lt;/iswebcombo:WebCombo&amp;gt;
 &amp;lt;/td&amp;gt;
 &amp;lt;/tr&amp;gt;
.....&lt;/pre&gt;
&lt;p&gt; &lt;span style="font-family: 'courier new', tahoma; font-size: 9pt;"&gt;careerOutlooksHolder div is turned into jQuery dialog on client-side pageLoad.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'courier new', tahoma; font-size: 9pt;"&gt;When dialog is opened, webcombo crashes on it's drop-down displayed. However if I use the same combo outside of the dialog, it works just fine.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;font style="font-family: 'courier new', tahoma;"&gt;&lt;span style="font-size: 12px;"&gt;error is as follows: &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;pre&gt;Type : System.Xml.XmlException, System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Data at the root level is invalid. Line 1, position 719.
Source : System.Xml
Help link : 
LineNumber : 1
LinePosition : 719
SourceUri : 
Data : System.Collections.ListDictionaryInternal
TargetSite : Void Throw(System.Exception)
HResult : -2146232000
Stack Trace : at System.Xml.XmlTextReaderImpl.Throw(Exception e)
 at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
 at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
 at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
 at System.Xml.XmlTextReaderImpl.Read()
 at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
 at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
 at System.Xml.XmlDocument.Load(XmlReader reader)
 at System.Xml.XmlDocument.LoadXml(String xml)
 at ISNet.WebUI.ISNetControl.LoadPostData(String postDataKey, NameValueCollection postCollection)
 at ISNet.WebUI.WebCombo.WebCombo.LoadPostData(String postDataKey, NameValueCollection values)
 at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
&lt;/pre&gt;
&lt;p&gt; As I said, it works just fine when it's not in dialog control.&lt;/p&gt;&lt;span courier="" new',="" tahoma;="" font-size:="" 9pt;'=""&gt; &lt;br /&gt;&lt;/span&gt;</description></item></channel></rss>