﻿<?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 - WebCombo - &amp;nbsp;&amp;nbsp; in WebCombo Selected Text should shows as spaces after PostBack</title><link>http://www.intersoftsolutions.com/Community/WebCombo/nbspnbsp-in-WebCombo-Selected-Text-should-shows-as-spaces-after-PostBack/</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>&amp;nbsp;&amp;nbsp; in WebCombo Selected Text should shows as spaces after PostBack</title><link>http://www.intersoftsolutions.com/Community/WebCombo/nbspnbsp-in-WebCombo-Selected-Text-should-shows-as-spaces-after-PostBack/</link><pubDate>Wed, 24 Mar 2010 21:46:50 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><category>&amp;nbsp; WebCombo Selected Text</category><description>&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Hi David Parkin,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;Glad to hear that it solves your problem. For your information, the LayoutSettings-allowFloatingText means that it will allow some text to float in the right side of the WebCombo control&lt;font class="Apple-style-span" style="font-size: 15px; "&gt;&lt;span style="font-size: 13px; "&gt;.&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&lt;font class="Apple-style-span" style="font-size: 15px; "&gt;&lt;span style="font-size: 13px; " /&gt;&lt;/font&gt;&lt;span style="font-size: 13px; "&gt;&lt;span style="font-size: 12px; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;Please do not hesitate to ask if you have any other questions. Thank you and have a nice day.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;</description></item><item><title>&amp;nbsp;&amp;nbsp; in WebCombo Selected Text should shows as spaces after PostBack</title><link>http://www.intersoftsolutions.com/Community/WebCombo/nbspnbsp-in-WebCombo-Selected-Text-should-shows-as-spaces-after-PostBack/</link><pubDate>Wed, 24 Mar 2010 10:20:24 GMT</pubDate><dc:creator>TimeBandit</dc:creator><category>&amp;nbsp; WebCombo Selected Text</category><description>&lt;p&gt;Andi,&lt;/p&gt;
&lt;p&gt;Yes! Your latest example solves the problem! Many Thanks!&lt;/p&gt;
&lt;p&gt;Set EncodeOutput in initialize:&lt;/p&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;protected&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;override&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;void&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; OnInit(&lt;/span&gt;&lt;span style="color: #2b91af; font-size: 13px"&gt;&lt;span style="color: #2b91af; font-size: 13px"&gt;EventArgs&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; e)&lt;/span&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;WebCombo1.EncodeOutput = true; //works! &lt;/p&gt;
&lt;p&gt;base.OnInit(e);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;I did not find &lt;span lang="undefined"&gt;LayoutSettings-AllowFloatingText="False" was necessary in the WebCombo settings&amp;nbsp;in .aspx&amp;nbsp;mark up page.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Note: the Text column in the DataSource must be padded with spaces not "&amp; n b s p ;"&lt;br /&gt; &lt;/p&gt;</description></item><item><title>&amp;nbsp;&amp;nbsp; in WebCombo Selected Text should shows as spaces after PostBack</title><link>http://www.intersoftsolutions.com/Community/WebCombo/nbspnbsp-in-WebCombo-Selected-Text-should-shows-as-spaces-after-PostBack/</link><pubDate>Tue, 23 Mar 2010 23:20:58 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><category>&amp;nbsp; WebCombo Selected Text</category><description>&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Hi David Parkin,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; I attached you a new sample. In here, we can see that I set the text to " &amp;nbsp; &amp;nbsp;Brad" and when we show the DropDown list, it will not trim spaces. In order to do so, we will need to set the EncodeOutput to true in WebCombo initialize layout on the server side.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; I hope it helps. Thank you and have a nice day.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;</description></item><item><title>&amp;nbsp;&amp;nbsp; in WebCombo Selected Text should shows as spaces after PostBack</title><link>http://www.intersoftsolutions.com/Community/WebCombo/nbspnbsp-in-WebCombo-Selected-Text-should-shows-as-spaces-after-PostBack/</link><pubDate>Tue, 23 Mar 2010 10:05:18 GMT</pubDate><dc:creator>TimeBandit</dc:creator><category>&amp;nbsp; WebCombo Selected Text</category><description>&lt;p&gt;Thanks Andi,&lt;/p&gt;
&lt;p&gt;Your example works! But, that didn't solve the problem.&lt;/p&gt;
&lt;p&gt;The issues is appearing when I bind to DataSource. The Text from the DB is prefixed "&amp; n b s p ;".&lt;/p&gt;
&lt;p&gt;For some reason, it might even work for a few iterations of testing.&lt;/p&gt;
&lt;p&gt;Please take a look. I will happy to show you via WebEx ...&lt;/p&gt;
&lt;p&gt;More information:&lt;/p&gt;
&lt;p&gt;If I replace the "&amp; n b s p;" with space, I don't see "&amp; n b s p ;" in the selected Text, but the drop down trims text. However, when the user selects an item the spacing is now preserved in the selected Text. Note: Same behavior with " Andrew" in your example vs "&amp; n b s p;Andrew".&lt;/p&gt;
&lt;p&gt;Is there a way to tell DropDown not to trim spaces?&lt;/p&gt;</description></item><item><title>&amp;nbsp;&amp;nbsp; in WebCombo Selected Text should shows as spaces after PostBack</title><link>http://www.intersoftsolutions.com/Community/WebCombo/nbspnbsp-in-WebCombo-Selected-Text-should-shows-as-spaces-after-PostBack/</link><pubDate>Mon, 22 Mar 2010 23:07:30 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><category>&amp;nbsp; WebCombo Selected Text</category><description>&lt;p&gt;&lt;span style="font-size: 8pt; "&gt;Hi David Parkin,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 8pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; First of all, thank you for using our Community Forum. For your issue, I was trying to use them in the text value with prefix of "&amp;amp;nbsp;", however, it works fine in my end. Perhaps, I am missing something. I also attached you my simple running sample of WebCombo, could you modify them so that the issue is persisted.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 8pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; I hope it helps. Thank you and have a nice day.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 8pt; "&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 8pt; "&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;</description></item><item><title>&amp;nbsp;&amp;nbsp; in WebCombo Selected Text should shows as spaces after PostBack</title><link>http://www.intersoftsolutions.com/Community/WebCombo/nbspnbsp-in-WebCombo-Selected-Text-should-shows-as-spaces-after-PostBack/</link><pubDate>Mon, 22 Mar 2010 20:00:56 GMT</pubDate><dc:creator>TimeBandit</dc:creator><category>&amp;nbsp; WebCombo Selected Text</category><description>&lt;p&gt;When Selected Text is prefixed by "&amp; n b s p;" (remove spaces in this string ... a space in html), the selected item retains the space. On postback "&amp; n b s p;" are displayed. &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Does anyone know how get the WebCombo Selected Text to not show   on PostBack()?&lt;/p&gt;</description></item></channel></rss>