Telerik Forums
UI for WPF Forum
3 answers
181 views
Are there any plans to offer a RadRibbonTextBox control in the WPF suite?  This control would be similar to the "Search People" input field in the Outlook 2013 Ribbon.  If not, do you see any technical limitations or hurdles we would need to overcome to implement such a control?

Thanks,
Dan East, Bentley Systems, Inc.
Pavel R. Pavlov
Telerik team
 answered on 25 Sep 2013
1 answer
251 views
I want to override the 'Selected' state for an AppointmentItem.  To do this, I know that I must override the ControlTemplate for AppointmentItem and look at the states for the Selected event.  Using either Visual Studio or Blend, I 'edit a copy' to allow for the creation of the required resources to work from (TargetType="{x:Type telerik:AppointmentItem}").  As soon as this control template is generated & used (as-is -- before making my desired changes), double clicking an appointment to edit the properties no longer works.  If I remove/comment-out the control template, the double click to edit event fires normally.

Any assistance would be greatly appreciated.
Kalin
Telerik team
 answered on 25 Sep 2013
3 answers
122 views
Hi Team,

I am using following code to implement drag and drop the items with in the listbox. But in the same View i have GridView control. If i drag and drop the listboxitem into the GridView my item is deleted from the Listbox. I should restrict this. I am following MVVM pattern.

Please give me a solution.

My Code:

<drag:ListBoxDragDrop.Behavior>
        <drag:ListBoxDragDropBehavior AllowReorder="True" ItemType="{x:Type Mod:Model}"></drag:ListBoxDragDropBehavior>
        </drag:ListBoxDragDrop.Behavior>
T
hanks in Advance.
Vladi
Telerik team
 answered on 25 Sep 2013
15 answers
404 views
Hello!
I've created module to save and restore RadGridView look do database. After reorder or resize column, application save string as xml file with grid properties/settings.
There is ReadStream method:

public static void ReadStream(Telerik.Windows.Controls.RadGridView dg, string nameInDB)
        {
            System.IO.Stream stream;
          (...read stream from database)

                                stream = new System.IO.MemoryStream(System.Text.Encoding.UTF8.GetBytes(rdr.GetString(rdr.GetOrdinal("stream"))));
                                Telerik.Windows.Persistence.PersistenceManager manager = new Telerik.Windows.Persistence.PersistenceManager();
                                manager.Load(dg, stream);
                        
            stream = null;
        }

Problem is that sometimes (after I have no idea what happened) I got error:
Source type must be an enumerable type, which closing my application.
Im pretty sure it's about ReadStream, becouse when I clear 'stream' in database everything work's great.

Any idead how can I solve this? ;)

Not sure if it help, but there is code (stream) I have in database:
<?xml version="1.0"?>  <RawData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">    <SerializationString>&lt;?xml version="1.0" encoding="utf-16"?&gt;  &lt;Data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;    &lt;T&gt;      &lt;TI K="102606522" N="Telerik.Windows.Controls.RadGridView, Telerik.Windows.Controls.GridView, Version=2013.2.724.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7" /&gt;      &lt;TI K="-664072138" N="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /&gt;      &lt;TI K="883639814" N="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /&gt;      &lt;TI K="-1932319100" N="Telerik.Windows.Controls.GridViewLength, Telerik.Windows.Controls.GridView, Version=2013.2.724.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7" /&gt;      &lt;TI K="15099789" N="Telerik.Windows.Controls.GridView.GridViewLengthConverter, Telerik.Windows.Controls.GridView, Version=2013.2.724.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7" /&gt;      &lt;TI K="-2019819835" N="polcom.Additions.ColumnProxy, VisionPOS, Version=2013.9.18.1, Culture=neutral, PublicKeyToken=null" /&gt;      &lt;TI K="-1544587235" N="System.Collections.Generic.List`1[[polcom.Additions.ColumnProxy, VisionPOS, Version=2013.9.18.1, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /&gt;      &lt;TI K="-880364446" N="System.Collections.Generic.List`1[[polcom.Additions.SortDescriptorProxy, VisionPOS, Version=2013.9.18.1, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /&gt;      &lt;TI K="-213719500" N="System.Collections.Generic.List`1[[polcom.Additions.GroupDescriptorProxy, VisionPOS, Version=2013.9.18.1, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /&gt;      &lt;TI K="-1313846753" N="System.Collections.Generic.List`1[[polcom.Additions.FilterSetting, VisionPOS, Version=2013.9.18.1, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /&gt;    &lt;/T&gt;    &lt;P&gt;      &lt;PV Key="1" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;kod&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="2" TypeKey="883639814"&gt;        &lt;Value xsi:type="xsd:int"&gt;0&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="3" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;Kod&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="4" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;Auto&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="5" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;ilosc&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="6" TypeKey="883639814"&gt;        &lt;Value xsi:type="xsd:int"&gt;2&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="7" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;Stan magazynowy&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="8" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;nazwa&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="9" TypeKey="883639814"&gt;        &lt;Value xsi:type="xsd:int"&gt;3&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="10" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;Nazwa POS&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="11" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;nazwa2&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="12" TypeKey="883639814"&gt;        &lt;Value xsi:type="xsd:int"&gt;4&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="13" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;Nazwa paragon&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="14" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;cena&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="15" TypeKey="883639814"&gt;        &lt;Value xsi:type="xsd:int"&gt;5&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="16" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;Cena netto&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="17" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;cena2&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="18" TypeKey="883639814"&gt;        &lt;Value xsi:type="xsd:int"&gt;1&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="19" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;Cena brutto&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="20" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;vat&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="21" TypeKey="883639814"&gt;        &lt;Value xsi:type="xsd:int"&gt;6&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="22" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;VAT&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="23" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;jMiary&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="24" TypeKey="883639814"&gt;        &lt;Value xsi:type="xsd:int"&gt;7&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="25" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;Jednostka miary&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="26" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;grupa&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="27" TypeKey="883639814"&gt;        &lt;Value xsi:type="xsd:int"&gt;8&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="28" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;Grupa towarowa&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="29" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;czyProdukt&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="30" TypeKey="883639814"&gt;        &lt;Value xsi:type="xsd:int"&gt;9&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="31" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;Produkt?&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="32" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;czyPolprodukt&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="33" TypeKey="883639814"&gt;        &lt;Value xsi:type="xsd:int"&gt;10&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="34" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;Półprodukt?&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="35" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;czySurowiec&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="36" TypeKey="883639814"&gt;        &lt;Value xsi:type="xsd:int"&gt;11&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="37" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;Surowiec?&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="38" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;categoryID&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="39" TypeKey="883639814"&gt;        &lt;Value xsi:type="xsd:int"&gt;12&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="40" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;idProduktu&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="41" TypeKey="883639814"&gt;        &lt;Value xsi:type="xsd:int"&gt;13&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="42" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;nazwa3&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="43" TypeKey="883639814"&gt;        &lt;Value xsi:type="xsd:int"&gt;14&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="44" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;nazwa4&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="45" TypeKey="883639814"&gt;        &lt;Value xsi:type="xsd:int"&gt;15&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="46" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;opis&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="47" TypeKey="883639814"&gt;        &lt;Value xsi:type="xsd:int"&gt;16&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="48" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;pkwiu&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="49" TypeKey="883639814"&gt;        &lt;Value xsi:type="xsd:int"&gt;17&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="50" TypeKey="-664072138"&gt;        &lt;Value xsi:type="xsd:string"&gt;rysunek&lt;/Value&gt;      &lt;/PV&gt;      &lt;PV Key="51" TypeKey="883639814"&gt;        &lt;Value xsi:type="xsd:int"&gt;18&lt;/Value&gt;      &lt;/PV&gt;    &lt;/P&gt;    &lt;R&gt;      &lt;RV Key="59140967" IsRoot="true" TypeKey="102606522"&gt;        &lt;D&gt;          &lt;PD PN="Columns" VK="0" RK="2724161" TK="-1544587235" TCK="0" /&gt;          &lt;PD PN="SortDescriptors" VK="0" RK="30715040" TK="-880364446" TCK="0" /&gt;          &lt;PD PN="GroupDescriptors" VK="0" RK="4890297" TK="-213719500" TCK="0" /&gt;          &lt;PD PN="FilterDescriptors" VK="0" RK="60569775" TK="-1313846753" TCK="0" /&gt;        &lt;/D&gt;      &lt;/RV&gt;      &lt;RV Key="19330484" IsRoot="false" TypeKey="0"&gt;        &lt;D&gt;          &lt;PD PN="UniqueName" VK="1" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="DisplayOrder" VK="2" RK="0" TK="883639814" TCK="0" /&gt;          &lt;PD PN="Header" VK="3" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="Width" VK="4" RK="0" TK="-1932319100" TCK="15099789" /&gt;        &lt;/D&gt;      &lt;/RV&gt;      &lt;RV Key="2724161" IsRoot="false" TypeKey="-1544587235"&gt;        &lt;D&gt;          &lt;PD PN="Columns[]" VK="0" RK="19330484" TK="-2019819835" TCK="0" /&gt;          &lt;PD PN="Columns[]" VK="0" RK="66170694" TK="-2019819835" TCK="0" /&gt;          &lt;PD PN="Columns[]" VK="0" RK="58665336" TK="-2019819835" TCK="0" /&gt;          &lt;PD PN="Columns[]" VK="0" RK="58225979" TK="-2019819835" TCK="0" /&gt;          &lt;PD PN="Columns[]" VK="0" RK="54271769" TK="-2019819835" TCK="0" /&gt;          &lt;PD PN="Columns[]" VK="0" RK="18683873" TK="-2019819835" TCK="0" /&gt;          &lt;PD PN="Columns[]" VK="0" RK="33937134" TK="-2019819835" TCK="0" /&gt;          &lt;PD PN="Columns[]" VK="0" RK="36998751" TK="-2019819835" TCK="0" /&gt;          &lt;PD PN="Columns[]" VK="0" RK="64553311" TK="-2019819835" TCK="0" /&gt;          &lt;PD PN="Columns[]" VK="0" RK="44108894" TK="-2019819835" TCK="0" /&gt;          &lt;PD PN="Columns[]" VK="0" RK="61435734" TK="-2019819835" TCK="0" /&gt;          &lt;PD PN="Columns[]" VK="0" RK="16050694" TK="-2019819835" TCK="0" /&gt;          &lt;PD PN="Columns[]" VK="0" RK="10238520" TK="-2019819835" TCK="0" /&gt;          &lt;PD PN="Columns[]" VK="0" RK="25037822" TK="-2019819835" TCK="0" /&gt;          &lt;PD PN="Columns[]" VK="0" RK="24013807" TK="-2019819835" TCK="0" /&gt;          &lt;PD PN="Columns[]" VK="0" RK="14797678" TK="-2019819835" TCK="0" /&gt;          &lt;PD PN="Columns[]" VK="0" RK="66070243" TK="-2019819835" TCK="0" /&gt;          &lt;PD PN="Columns[]" VK="0" RK="57761279" TK="-2019819835" TCK="0" /&gt;          &lt;PD PN="Columns[]" VK="0" RK="50089467" TK="-2019819835" TCK="0" /&gt;        &lt;/D&gt;      &lt;/RV&gt;      &lt;RV Key="66170694" IsRoot="false" TypeKey="0"&gt;        &lt;D&gt;          &lt;PD PN="UniqueName" VK="5" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="DisplayOrder" VK="6" RK="0" TK="883639814" TCK="0" /&gt;          &lt;PD PN="Header" VK="7" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="Width" VK="4" RK="0" TK="-1932319100" TCK="15099789" /&gt;        &lt;/D&gt;      &lt;/RV&gt;      &lt;RV Key="58665336" IsRoot="false" TypeKey="0"&gt;        &lt;D&gt;          &lt;PD PN="UniqueName" VK="8" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="DisplayOrder" VK="9" RK="0" TK="883639814" TCK="0" /&gt;          &lt;PD PN="Header" VK="10" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="Width" VK="4" RK="0" TK="-1932319100" TCK="15099789" /&gt;        &lt;/D&gt;      &lt;/RV&gt;      &lt;RV Key="58225979" IsRoot="false" TypeKey="0"&gt;        &lt;D&gt;          &lt;PD PN="UniqueName" VK="11" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="DisplayOrder" VK="12" RK="0" TK="883639814" TCK="0" /&gt;          &lt;PD PN="Header" VK="13" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="Width" VK="4" RK="0" TK="-1932319100" TCK="15099789" /&gt;        &lt;/D&gt;      &lt;/RV&gt;      &lt;RV Key="54271769" IsRoot="false" TypeKey="0"&gt;        &lt;D&gt;          &lt;PD PN="UniqueName" VK="14" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="DisplayOrder" VK="15" RK="0" TK="883639814" TCK="0" /&gt;          &lt;PD PN="Header" VK="16" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="Width" VK="4" RK="0" TK="-1932319100" TCK="15099789" /&gt;        &lt;/D&gt;      &lt;/RV&gt;      &lt;RV Key="18683873" IsRoot="false" TypeKey="0"&gt;        &lt;D&gt;          &lt;PD PN="UniqueName" VK="17" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="DisplayOrder" VK="18" RK="0" TK="883639814" TCK="0" /&gt;          &lt;PD PN="Header" VK="19" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="Width" VK="4" RK="0" TK="-1932319100" TCK="15099789" /&gt;        &lt;/D&gt;      &lt;/RV&gt;      &lt;RV Key="33937134" IsRoot="false" TypeKey="0"&gt;        &lt;D&gt;          &lt;PD PN="UniqueName" VK="20" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="DisplayOrder" VK="21" RK="0" TK="883639814" TCK="0" /&gt;          &lt;PD PN="Header" VK="22" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="Width" VK="4" RK="0" TK="-1932319100" TCK="15099789" /&gt;        &lt;/D&gt;      &lt;/RV&gt;      &lt;RV Key="36998751" IsRoot="false" TypeKey="0"&gt;        &lt;D&gt;          &lt;PD PN="UniqueName" VK="23" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="DisplayOrder" VK="24" RK="0" TK="883639814" TCK="0" /&gt;          &lt;PD PN="Header" VK="25" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="Width" VK="4" RK="0" TK="-1932319100" TCK="15099789" /&gt;        &lt;/D&gt;      &lt;/RV&gt;      &lt;RV Key="64553311" IsRoot="false" TypeKey="0"&gt;        &lt;D&gt;          &lt;PD PN="UniqueName" VK="26" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="DisplayOrder" VK="27" RK="0" TK="883639814" TCK="0" /&gt;          &lt;PD PN="Header" VK="28" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="Width" VK="4" RK="0" TK="-1932319100" TCK="15099789" /&gt;        &lt;/D&gt;      &lt;/RV&gt;      &lt;RV Key="44108894" IsRoot="false" TypeKey="0"&gt;        &lt;D&gt;          &lt;PD PN="UniqueName" VK="29" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="DisplayOrder" VK="30" RK="0" TK="883639814" TCK="0" /&gt;          &lt;PD PN="Header" VK="31" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="Width" VK="4" RK="0" TK="-1932319100" TCK="15099789" /&gt;        &lt;/D&gt;      &lt;/RV&gt;      &lt;RV Key="61435734" IsRoot="false" TypeKey="0"&gt;        &lt;D&gt;          &lt;PD PN="UniqueName" VK="32" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="DisplayOrder" VK="33" RK="0" TK="883639814" TCK="0" /&gt;          &lt;PD PN="Header" VK="34" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="Width" VK="4" RK="0" TK="-1932319100" TCK="15099789" /&gt;        &lt;/D&gt;      &lt;/RV&gt;      &lt;RV Key="16050694" IsRoot="false" TypeKey="0"&gt;        &lt;D&gt;          &lt;PD PN="UniqueName" VK="35" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="DisplayOrder" VK="36" RK="0" TK="883639814" TCK="0" /&gt;          &lt;PD PN="Header" VK="37" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="Width" VK="4" RK="0" TK="-1932319100" TCK="15099789" /&gt;        &lt;/D&gt;      &lt;/RV&gt;      &lt;RV Key="10238520" IsRoot="false" TypeKey="0"&gt;        &lt;D&gt;          &lt;PD PN="UniqueName" VK="38" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="DisplayOrder" VK="39" RK="0" TK="883639814" TCK="0" /&gt;          &lt;PD PN="Header" VK="38" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="Width" VK="4" RK="0" TK="-1932319100" TCK="15099789" /&gt;        &lt;/D&gt;      &lt;/RV&gt;      &lt;RV Key="25037822" IsRoot="false" TypeKey="0"&gt;        &lt;D&gt;          &lt;PD PN="UniqueName" VK="40" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="DisplayOrder" VK="41" RK="0" TK="883639814" TCK="0" /&gt;          &lt;PD PN="Header" VK="40" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="Width" VK="4" RK="0" TK="-1932319100" TCK="15099789" /&gt;        &lt;/D&gt;      &lt;/RV&gt;      &lt;RV Key="24013807" IsRoot="false" TypeKey="0"&gt;        &lt;D&gt;          &lt;PD PN="UniqueName" VK="42" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="DisplayOrder" VK="43" RK="0" TK="883639814" TCK="0" /&gt;          &lt;PD PN="Header" VK="42" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="Width" VK="4" RK="0" TK="-1932319100" TCK="15099789" /&gt;        &lt;/D&gt;      &lt;/RV&gt;      &lt;RV Key="14797678" IsRoot="false" TypeKey="0"&gt;        &lt;D&gt;          &lt;PD PN="UniqueName" VK="44" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="DisplayOrder" VK="45" RK="0" TK="883639814" TCK="0" /&gt;          &lt;PD PN="Header" VK="44" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="Width" VK="4" RK="0" TK="-1932319100" TCK="15099789" /&gt;        &lt;/D&gt;      &lt;/RV&gt;      &lt;RV Key="66070243" IsRoot="false" TypeKey="0"&gt;        &lt;D&gt;          &lt;PD PN="UniqueName" VK="46" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="DisplayOrder" VK="47" RK="0" TK="883639814" TCK="0" /&gt;          &lt;PD PN="Header" VK="46" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="Width" VK="4" RK="0" TK="-1932319100" TCK="15099789" /&gt;        &lt;/D&gt;      &lt;/RV&gt;      &lt;RV Key="57761279" IsRoot="false" TypeKey="0"&gt;        &lt;D&gt;          &lt;PD PN="UniqueName" VK="48" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="DisplayOrder" VK="49" RK="0" TK="883639814" TCK="0" /&gt;          &lt;PD PN="Header" VK="48" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="Width" VK="4" RK="0" TK="-1932319100" TCK="15099789" /&gt;        &lt;/D&gt;      &lt;/RV&gt;      &lt;RV Key="50089467" IsRoot="false" TypeKey="0"&gt;        &lt;D&gt;          &lt;PD PN="UniqueName" VK="50" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="DisplayOrder" VK="51" RK="0" TK="883639814" TCK="0" /&gt;          &lt;PD PN="Header" VK="50" RK="0" TK="-664072138" TCK="0" /&gt;          &lt;PD PN="Width" VK="4" RK="0" TK="-1932319100" TCK="15099789" /&gt;        &lt;/D&gt;      &lt;/RV&gt;    &lt;/R&gt;  &lt;/Data&gt;</SerializationString>    <ValueTypes>      <string>Telerik.Windows.Controls.RadGridView, Telerik.Windows.Controls.GridView, Version=2013.2.724.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7</string>      <string>System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</string>      <string>System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</string>      <string>Telerik.Windows.Controls.GridViewLength, Telerik.Windows.Controls.GridView, Version=2013.2.724.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7</string>      <string>Telerik.Windows.Controls.GridView.GridViewLengthConverter, Telerik.Windows.Controls.GridView, Version=2013.2.724.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7</string>      <string>polcom.Additions.ColumnProxy, VisionPOS, Version=2013.9.18.1, Culture=neutral, PublicKeyToken=null</string>      <string>System.Collections.Generic.List`1[[polcom.Additions.ColumnProxy, VisionPOS, Version=2013.9.18.1, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</string>      <string>System.Collections.Generic.List`1[[polcom.Additions.SortDescriptorProxy, VisionPOS, Version=2013.9.18.1, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</string>      <string>System.Collections.Generic.List`1[[polcom.Additions.GroupDescriptorProxy, VisionPOS, Version=2013.9.18.1, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</string>      <string>System.Collections.Generic.List`1[[polcom.Additions.FilterSetting, VisionPOS, Version=2013.9.18.1, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</string>    </ValueTypes>  </RawData>
Rossen Hristov
Telerik team
 answered on 25 Sep 2013
0 answers
81 views
Hi,

I have class and I want use this class as control or windows, so how to use it?

Example :  I have a class
 Telerik.Windows.Controls.RichTextBoxUI.Dialogs.RadRichTextBoxWindow
 
Now I want use this class as my control.

  I have seen demo, where already added, when I an trying to add, I get confused, whether it add as control or window.

  So whats the procedure to add it as control.

Thanks

Sopan Vaidya
Sopan
Top achievements
Rank 1
 asked on 25 Sep 2013
2 answers
111 views
Hi everyone,

Is it possible to scroll vertically a RadGridView to make a specified line the top line ?

Any help will be greatly appreciated.
Dimitrina
Telerik team
 answered on 25 Sep 2013
19 answers
779 views
I am new to the RadRichTextBox and have a specific requirement in my application... I would like to customize the default dialog window that pops up when you click "Hyperlink" on the RadRichTextBox toolbar.  Specifically, I want to add ComboBox controls to the dialog so that the user can select the path, file name, etc. for  specific documents to link to - the user will not know the address of the document and will not be able to manually type it in to the Address textbox, which is the only way I see to link to a document by default.

I see in the xaml markup of the RadRibbonButton:

telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=ShowInsertHyperlinkDialogCommand}"

I'm assuming this ShowInsertHyperlinkDialogCommand is in the Telerik assembly.  Do you have suggestions for accomplishing the requirements mentioned above?  Thanks
Sopan
Top achievements
Rank 1
 answered on 25 Sep 2013
5 answers
265 views

I have a RadPanelBar with galleries of gallery items. The binding is simple:

ItemTemplate="{StaticResource ToolboxTemplate}"

ItemContainerStyle="{StaticResource PanelBarItemFirstLevelStyle}"
ItemsSource="{Binding HierarchicalGalleryItems}"

 

And in the Viewmodel:
public ObservableCollection<Gallery> HierarchicalGalleryItems

This collection is filled with instances of Gallery which, in turn, have multiple instances of GalleryItem. I want to put a separator between some of these gallery items. How can this be done?

Thanks

Pavel R. Pavlov
Telerik team
 answered on 25 Sep 2013
1 answer
119 views
Hello, i want to show after search only filtered childtasks. Is there a possibility to hide all (non filtered) childtasks in ganttview
i.e. child property isVisible?
thanks ...

Polya
Telerik team
 answered on 25 Sep 2013
3 answers
423 views
Hello,

I've run into some issues with the RadCartesianChart where I want to display only integer values along the LinearAxis. It does not make sense to measure the item I'm plotting along this axis in decimals. Another thing I'd like is to have a DesiredTickCount of 5. I've tried setting the label format to not show decimals but then this leads to weirdness when the Maximum value calculated by the control is very low (ex. Maximum of 1 shows me 5 ticks with the labels of (blank), (blank), 1, 1, 2). I also tried to set the Major Step to 1 but that caused issues with the DesiredTickCount of 5 when the Maximum was greater than 5.

Is there some way to force the chart to only calculate in Integers? Or set the, for lack of better words, Minimum Maximum to just 5 so it calculates the ticks as integers?

Here is the code for my VerticalAxis:
<telerik:RadCartesianChart.VerticalAxis>
    <telerik:LinearAxis DesiredTickCount="5" Minimum="0">
        <telerik:LinearAxis.LabelTemplate>
            <DataTemplate>
                <TextBlock MinWidth="40" Margin="0,0,3,0" Text="{Binding}" TextAlignment="Right" />
            </DataTemplate>
        </telerik:LinearAxis.LabelTemplate>
    </telerik:LinearAxis>
</telerik:RadCartesianChart.VerticalAxis>
Petar Kirov
Telerik team
 answered on 25 Sep 2013
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?