Cannot display some of the MenuItem when there are many menu items

6 posts, 1 answers
  1. Ric
    Ric avatar
    8 posts
    Member since:
    Aug 2010

    Posted 23 Nov 2010 Link to this post

    Hi All,

    I am working on a WPF Rich Client Application in C# with Telerik RadContextMenu and RadGridView (Version 2009.3.1314.35), and found that when the Context Menu item is so large that takes up the remaining height from the mouse pointer to the bottom of the screen, some of the menu item cannot be shown.

    What can we do to solve this problem?

    Thanks
    Ric Yik

    Here is my code which is having problem.

    <Window x:Class="ContextMenu.Window1"
        Title="Window1" Height="300" Width="300"
        xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
        xmlns:telerikGridControl="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"
        xmlns:telerikGrid="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView"
        xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
        >
        <Grid>
            <telerikGridControl:RadGridView x:Name="radGridView">
                <telerikNavigation:RadContextMenu.ContextMenu>
                    <telerik2:RadContextMenu x:Name="tradeSpaceContextMenu">
                        <telerik2:RadMenuItem Header="001" />
                        <telerik2:RadMenuItem Header="002" />
                        <telerik2:RadMenuItem Header="003" />
                        <telerik2:RadMenuItem Header="004" />
                        <telerik2:RadMenuItem Header="005" />
                        <telerik2:RadMenuItem Header="006" />
                        <telerik2:RadMenuItem Header="007" />
                        <telerik2:RadMenuItem Header="008" />
                        <telerik2:RadMenuItem Header="009" />
                        <telerik2:RadMenuItem Header="010" />
                        <telerik2:RadMenuItem Header="011" />
                        <telerik2:RadMenuItem Header="012" />
                        <telerik2:RadMenuItem Header="013" />
                        <telerik2:RadMenuItem Header="014" />
                        <telerik2:RadMenuItem Header="015" />
                        <telerik2:RadMenuItem Header="016" />
                        <telerik2:RadMenuItem Header="017" />
                        <telerik2:RadMenuItem Header="018" />
                        <telerik2:RadMenuItem Header="019" />
                        <telerik2:RadMenuItem Header="020" />
                        <telerik2:RadMenuItem Header="021" />
                        <telerik2:RadMenuItem Header="022" />
                        <telerik2:RadMenuItem Header="023" />
                        <telerik2:RadMenuItem Header="024" />
                        <telerik2:RadMenuItem Header="025" />
                        <telerik2:RadMenuItem Header="026" />
                        <telerik2:RadMenuItem Header="027" />
                        <telerik2:RadMenuItem Header="028" />
                        <telerik2:RadMenuItem Header="029" />
                        <telerik2:RadMenuItem Header="030" />
                        <telerik2:RadMenuItem Header="031" />
                        <telerik2:RadMenuItem Header="032" />
                        <telerik2:RadMenuItem Header="033" />
                        <telerik2:RadMenuItem Header="034" />
                        <telerik2:RadMenuItem Header="035" />
                        <telerik2:RadMenuItem Header="036" />
                        <telerik2:RadMenuItem Header="037" />
                        <telerik2:RadMenuItem Header="038" />
                        <telerik2:RadMenuItem Header="039" />
                        <telerik2:RadMenuItem Header="040" />
                        <telerik2:RadMenuItem Header="041" />
                        <telerik2:RadMenuItem Header="042" />
                        <telerik2:RadMenuItem Header="043" />
                        <telerik2:RadMenuItem Header="044" />
                        <telerik2:RadMenuItem Header="045" />
                        <telerik2:RadMenuItem Header="046" />
                        <telerik2:RadMenuItem Header="047" />
                        <telerik2:RadMenuItem Header="048" />
                        <telerik2:RadMenuItem Header="049" />
                        <telerik2:RadMenuItem Header="050" />
                        <telerik2:RadMenuItem Header="051" />
                        <telerik2:RadMenuItem Header="052" />
                        <telerik2:RadMenuItem Header="053" />
                        <telerik2:RadMenuItem Header="054" />
                        <telerik2:RadMenuItem Header="055" />
                        <telerik2:RadMenuItem Header="056" />
                        <telerik2:RadMenuItem Header="057" />
                        <telerik2:RadMenuItem Header="058" />
                        <telerik2:RadMenuItem Header="059" />
                        <telerik2:RadMenuItem Header="060" />
                        <telerik2:RadMenuItem Header="061" />
                        <telerik2:RadMenuItem Header="062" />
                        <telerik2:RadMenuItem Header="063" />
                        <telerik2:RadMenuItem Header="064" />
                        <telerik2:RadMenuItem Header="065" />
                        <telerik2:RadMenuItem Header="066" />
                        <telerik2:RadMenuItem Header="067" />
                        <telerik2:RadMenuItem Header="068" />
                        <telerik2:RadMenuItem Header="069" />
                        <telerik2:RadMenuItem Header="070" />
                        <telerik2:RadMenuItem Header="071" />
                        <telerik2:RadMenuItem Header="072" />
                        <telerik2:RadMenuItem Header="073" />
                        <telerik2:RadMenuItem Header="074" />
                        <telerik2:RadMenuItem Header="075" />
                        <telerik2:RadMenuItem Header="076" />
                        <telerik2:RadMenuItem Header="077" />
                        <telerik2:RadMenuItem Header="078" />
                        <telerik2:RadMenuItem Header="079" />
                        <telerik2:RadMenuItem Header="080" />
                        <telerik2:RadMenuItem Header="081" />
                        <telerik2:RadMenuItem Header="082" />
                        <telerik2:RadMenuItem Header="083" />
                        <telerik2:RadMenuItem Header="084" />
                        <telerik2:RadMenuItem Header="085" />
                        <telerik2:RadMenuItem Header="086" />
                        <telerik2:RadMenuItem Header="087" />
                        <telerik2:RadMenuItem Header="088" />
                        <telerik2:RadMenuItem Header="089" />
                        <telerik2:RadMenuItem Header="090" />
                        <telerik2:RadMenuItem Header="091" />
                        <telerik2:RadMenuItem Header="092" />
                        <telerik2:RadMenuItem Header="093" />
                        <telerik2:RadMenuItem Header="094" />
                        <telerik2:RadMenuItem Header="095" />
                        <telerik2:RadMenuItem Header="096" />
                        <telerik2:RadMenuItem Header="097" />
                        <telerik2:RadMenuItem Header="098" />
                        <telerik2:RadMenuItem Header="099" />
                        <telerik2:RadMenuItem Header="100" />
                        <telerik2:RadMenuItem Header="101" />
                        <telerik2:RadMenuItem Header="102" />
                        <telerik2:RadMenuItem Header="103" />
                        <telerik2:RadMenuItem Header="104" />
                        <telerik2:RadMenuItem Header="105" />
                        <telerik2:RadMenuItem Header="106" />
                        <telerik2:RadMenuItem Header="107" />
                        <telerik2:RadMenuItem Header="108" />
                        <telerik2:RadMenuItem Header="109" />
                        <telerik2:RadMenuItem Header="110" />
                        <telerik2:RadMenuItem Header="111" />
                        <telerik2:RadMenuItem Header="112" />
                        <telerik2:RadMenuItem Header="113" />
                        <telerik2:RadMenuItem Header="114" />
                        <telerik2:RadMenuItem Header="115" />
                        <telerik2:RadMenuItem Header="116" />
                        <telerik2:RadMenuItem Header="117" />
                        <telerik2:RadMenuItem Header="118" />
                        <telerik2:RadMenuItem Header="119" />
                        <telerik2:RadMenuItem Header="120" />
                        <telerik2:RadMenuItem Header="121" />
                        <telerik2:RadMenuItem Header="122" />
                        <telerik2:RadMenuItem Header="123" />
                        <telerik2:RadMenuItem Header="124" />
                        <telerik2:RadMenuItem Header="125" />
                        <telerik2:RadMenuItem Header="126" />
                        <telerik2:RadMenuItem Header="127" />
                        <telerik2:RadMenuItem Header="128" />
                        <telerik2:RadMenuItem Header="129" />
                        <telerik2:RadMenuItem Header="130" />
                        <telerik2:RadMenuItem Header="131" />
                        <telerik2:RadMenuItem Header="132" />
                        <telerik2:RadMenuItem Header="133" />
                        <telerik2:RadMenuItem Header="134" />
                        <telerik2:RadMenuItem Header="135" />
                        <telerik2:RadMenuItem Header="136" />
                        <telerik2:RadMenuItem Header="137" />
                        <telerik2:RadMenuItem Header="138" />
                        <telerik2:RadMenuItem Header="139" />
                        <telerik2:RadMenuItem Header="140" />
                        <telerik2:RadMenuItem Header="141" />
                        <telerik2:RadMenuItem Header="142" />
                        <telerik2:RadMenuItem Header="143" />
                        <telerik2:RadMenuItem Header="144" />
                        <telerik2:RadMenuItem Header="145" />
                        <telerik2:RadMenuItem Header="146" />
                        <telerik2:RadMenuItem Header="147" />
                        <telerik2:RadMenuItem Header="148" />
                        <telerik2:RadMenuItem Header="149" />
                        <telerik2:RadMenuItem Header="150" />
                        <telerik2:RadMenuItem Header="151" />
                        <telerik2:RadMenuItem Header="152" />
                        <telerik2:RadMenuItem Header="153" />
                        <telerik2:RadMenuItem Header="154" />
                        <telerik2:RadMenuItem Header="155" />
                        <telerik2:RadMenuItem Header="156" />
                        <telerik2:RadMenuItem Header="157" />
                        <telerik2:RadMenuItem Header="158" />
                        <telerik2:RadMenuItem Header="159" />
                        <telerik2:RadMenuItem Header="160" />
                        <telerik2:RadMenuItem Header="161" />
                        <telerik2:RadMenuItem Header="162" />
                        <telerik2:RadMenuItem Header="163" />
                        <telerik2:RadMenuItem Header="164" />
                        <telerik2:RadMenuItem Header="165" />
                        <telerik2:RadMenuItem Header="166" />
                        <telerik2:RadMenuItem Header="167" />
                        <telerik2:RadMenuItem Header="168" />
                        <telerik2:RadMenuItem Header="169" />
                        <telerik2:RadMenuItem Header="170" />
                        <telerik2:RadMenuItem Header="171" />
                        <telerik2:RadMenuItem Header="172" />
                        <telerik2:RadMenuItem Header="173" />
                        <telerik2:RadMenuItem Header="174" />
                        <telerik2:RadMenuItem Header="175" />
                        <telerik2:RadMenuItem Header="176" />
                        <telerik2:RadMenuItem Header="177" />
                        <telerik2:RadMenuItem Header="178" />
                        <telerik2:RadMenuItem Header="179" />
                        <telerik2:RadMenuItem Header="180" />
                        <telerik2:RadMenuItem Header="181" />
                        <telerik2:RadMenuItem Header="182" />
                        <telerik2:RadMenuItem Header="183" />
                        <telerik2:RadMenuItem Header="184" />
                        <telerik2:RadMenuItem Header="185" />
                        <telerik2:RadMenuItem Header="186" />
                        <telerik2:RadMenuItem Header="187" />
                        <telerik2:RadMenuItem Header="188" />
                        <telerik2:RadMenuItem Header="189" />
                        <telerik2:RadMenuItem Header="190" />
                        <telerik2:RadMenuItem Header="191" />
                        <telerik2:RadMenuItem Header="192" />
                        <telerik2:RadMenuItem Header="193" />
                        <telerik2:RadMenuItem Header="194" />
                        <telerik2:RadMenuItem Header="195" />
                        <telerik2:RadMenuItem Header="196" />
                        <telerik2:RadMenuItem Header="197" />
                        <telerik2:RadMenuItem Header="198" />
                        <telerik2:RadMenuItem Header="199" />
                        <telerik2:RadMenuItem Header="200" />
                        <telerik2:RadMenuItem Header="201" />
                        <telerik2:RadMenuItem Header="202" />
                        <telerik2:RadMenuItem Header="203" />
                        <telerik2:RadMenuItem Header="204" />
                        <telerik2:RadMenuItem Header="205" />
                        <telerik2:RadMenuItem Header="206" />
                        <telerik2:RadMenuItem Header="207" />
                        <telerik2:RadMenuItem Header="208" />
                        <telerik2:RadMenuItem Header="209" />
                        <telerik2:RadMenuItem Header="210" />
                        <telerik2:RadMenuItem Header="211" />
                        <telerik2:RadMenuItem Header="212" />
                        <telerik2:RadMenuItem Header="213" />
                        <telerik2:RadMenuItem Header="214" />
                        <telerik2:RadMenuItem Header="215" />
                        <telerik2:RadMenuItem Header="216" />
                        <telerik2:RadMenuItem Header="217" />
                        <telerik2:RadMenuItem Header="218" />
                        <telerik2:RadMenuItem Header="219" />
                        <telerik2:RadMenuItem Header="220" />
                        <telerik2:RadMenuItem Header="221" />
                        <telerik2:RadMenuItem Header="222" />
                        <telerik2:RadMenuItem Header="223" />
                        <telerik2:RadMenuItem Header="224" />
                        <telerik2:RadMenuItem Header="225" />
                        <telerik2:RadMenuItem Header="226" />
                        <telerik2:RadMenuItem Header="227" />
                        <telerik2:RadMenuItem Header="228" />
                        <telerik2:RadMenuItem Header="229" />
                        <telerik2:RadMenuItem Header="230" />
                        <telerik2:RadMenuItem Header="231" />
                        <telerik2:RadMenuItem Header="232" />
                        <telerik2:RadMenuItem Header="233" />
                        <telerik2:RadMenuItem Header="234" />
                        <telerik2:RadMenuItem Header="235" />
                        <telerik2:RadMenuItem Header="236" />
                        <telerik2:RadMenuItem Header="237" />
                        <telerik2:RadMenuItem Header="238" />
                        <telerik2:RadMenuItem Header="239" />
                        <telerik2:RadMenuItem Header="240" />
                        <telerik2:RadMenuItem Header="241" />
                        <telerik2:RadMenuItem Header="242" />
                        <telerik2:RadMenuItem Header="243" />
                        <telerik2:RadMenuItem Header="244" />
                        <telerik2:RadMenuItem Header="245" />
                        <telerik2:RadMenuItem Header="246" />
                        <telerik2:RadMenuItem Header="247" />
                        <telerik2:RadMenuItem Header="248" />
                        <telerik2:RadMenuItem Header="249" />
                        <telerik2:RadMenuItem Header="250" />
                        <telerik2:RadMenuItem Header="251" />
                        <telerik2:RadMenuItem Header="252" />
                        <telerik2:RadMenuItem Header="253" />
                        <telerik2:RadMenuItem Header="254" />
                        <telerik2:RadMenuItem Header="255" />
                        <telerik2:RadMenuItem Header="256" />
                        <telerik2:RadMenuItem Header="257" />
                        <telerik2:RadMenuItem Header="258" />
                        <telerik2:RadMenuItem Header="259" />
                        <telerik2:RadMenuItem Header="260" />
                        <telerik2:RadMenuItem Header="261" />
                        <telerik2:RadMenuItem Header="262" />
                        <telerik2:RadMenuItem Header="263" />
                        <telerik2:RadMenuItem Header="264" />
                        <telerik2:RadMenuItem Header="265" />
                        <telerik2:RadMenuItem Header="266" />
                        <telerik2:RadMenuItem Header="267" />
                        <telerik2:RadMenuItem Header="268" />
                        <telerik2:RadMenuItem Header="269" />
                        <telerik2:RadMenuItem Header="270" />
                        <telerik2:RadMenuItem Header="271" />
                        <telerik2:RadMenuItem Header="272" />
                        <telerik2:RadMenuItem Header="273" />
                        <telerik2:RadMenuItem Header="274" />
                        <telerik2:RadMenuItem Header="275" />
                        <telerik2:RadMenuItem Header="276" />
                        <telerik2:RadMenuItem Header="277" />
                        <telerik2:RadMenuItem Header="278" />
                        <telerik2:RadMenuItem Header="279" />
                        <telerik2:RadMenuItem Header="280" />
                        <telerik2:RadMenuItem Header="281" />
                        <telerik2:RadMenuItem Header="282" />
                        <telerik2:RadMenuItem Header="283" />
                        <telerik2:RadMenuItem Header="284" />
                        <telerik2:RadMenuItem Header="285" />
                        <telerik2:RadMenuItem Header="286" />
                        <telerik2:RadMenuItem Header="287" />
                        <telerik2:RadMenuItem Header="288" />
                        <telerik2:RadMenuItem Header="289" />
                        <telerik2:RadMenuItem Header="290" />
                        <telerik2:RadMenuItem Header="291" />
                        <telerik2:RadMenuItem Header="292" />
                        <telerik2:RadMenuItem Header="293" />
                        <telerik2:RadMenuItem Header="294" />
                        <telerik2:RadMenuItem Header="295" />
                        <telerik2:RadMenuItem Header="296" />
                        <telerik2:RadMenuItem Header="297" />
                        <telerik2:RadMenuItem Header="298" />
                        <telerik2:RadMenuItem Header="299" />
                        <telerik2:RadMenuItem Header="300" />
                        <telerik2:RadMenuItem Header="301" />
                        <telerik2:RadMenuItem Header="302" />
                        <telerik2:RadMenuItem Header="303" />
                        <telerik2:RadMenuItem Header="304" />
                        <telerik2:RadMenuItem Header="305" />
                        <telerik2:RadMenuItem Header="306" />
                        <telerik2:RadMenuItem Header="307" />
                        <telerik2:RadMenuItem Header="308" />
                        <telerik2:RadMenuItem Header="309" />
                        <telerik2:RadMenuItem Header="310" />
                        <telerik2:RadMenuItem Header="311" />
                        <telerik2:RadMenuItem Header="312" />
                        <telerik2:RadMenuItem Header="313" />
                        <telerik2:RadMenuItem Header="314" />
                        <telerik2:RadMenuItem Header="315" />
                        <telerik2:RadMenuItem Header="316" />
                        <telerik2:RadMenuItem Header="317" />
                        <telerik2:RadMenuItem Header="318" />
                        <telerik2:RadMenuItem Header="319" />
                        <telerik2:RadMenuItem Header="320" />
                        <telerik2:RadMenuItem Header="321" />
                        <telerik2:RadMenuItem Header="322" />
                        <telerik2:RadMenuItem Header="323" />
                        <telerik2:RadMenuItem Header="324" />
                        <telerik2:RadMenuItem Header="325" />
                        <telerik2:RadMenuItem Header="326" />
                        <telerik2:RadMenuItem Header="327" />
                        <telerik2:RadMenuItem Header="328" />
                        <telerik2:RadMenuItem Header="329" />
                        <telerik2:RadMenuItem Header="330" />
                        <telerik2:RadMenuItem Header="331" />
                        <telerik2:RadMenuItem Header="332" />
                        <telerik2:RadMenuItem Header="333" />
                        <telerik2:RadMenuItem Header="334" />
                        <telerik2:RadMenuItem Header="335" />
                        <telerik2:RadMenuItem Header="336" />
                        <telerik2:RadMenuItem Header="337" />
                        <telerik2:RadMenuItem Header="338" />
                        <telerik2:RadMenuItem Header="339" />
                        <telerik2:RadMenuItem Header="340" />
                        <telerik2:RadMenuItem Header="341" />
                        <telerik2:RadMenuItem Header="342" />
                        <telerik2:RadMenuItem Header="343" />
                        <telerik2:RadMenuItem Header="344" />
                        <telerik2:RadMenuItem Header="345" />
                        <telerik2:RadMenuItem Header="346" />
                        <telerik2:RadMenuItem Header="347" />
                        <telerik2:RadMenuItem Header="348" />
                        <telerik2:RadMenuItem Header="349" />
                        <telerik2:RadMenuItem Header="350" />
                        <telerik2:RadMenuItem Header="351" />
                        <telerik2:RadMenuItem Header="352" />
                        <telerik2:RadMenuItem Header="353" />
                        <telerik2:RadMenuItem Header="354" />
                        <telerik2:RadMenuItem Header="355" />
                        <telerik2:RadMenuItem Header="356" />
                        <telerik2:RadMenuItem Header="357" />
                        <telerik2:RadMenuItem Header="358" />
                        <telerik2:RadMenuItem Header="359" />
                        <telerik2:RadMenuItem Header="360" />
                        <telerik2:RadMenuItem Header="361" />
                        <telerik2:RadMenuItem Header="362" />
                        <telerik2:RadMenuItem Header="363" />
                        <telerik2:RadMenuItem Header="364" />
                        <telerik2:RadMenuItem Header="365" />
                        <telerik2:RadMenuItem Header="366" />
                        <telerik2:RadMenuItem Header="367" />
                        <telerik2:RadMenuItem Header="368" />
                        <telerik2:RadMenuItem Header="369" />
                        <telerik2:RadMenuItem Header="370" />
                        <telerik2:RadMenuItem Header="371" />
                        <telerik2:RadMenuItem Header="372" />
                        <telerik2:RadMenuItem Header="373" />
                        <telerik2:RadMenuItem Header="374" />
                        <telerik2:RadMenuItem Header="375" />
                        <telerik2:RadMenuItem Header="376" />
                        <telerik2:RadMenuItem Header="377" />
                        <telerik2:RadMenuItem Header="378" />
                        <telerik2:RadMenuItem Header="379" />
                        <telerik2:RadMenuItem Header="380" />
                        <telerik2:RadMenuItem Header="381" />
                        <telerik2:RadMenuItem Header="382" />
                        <telerik2:RadMenuItem Header="383" />
                        <telerik2:RadMenuItem Header="384" />
                        <telerik2:RadMenuItem Header="385" />
                        <telerik2:RadMenuItem Header="386" />
                        <telerik2:RadMenuItem Header="387" />
                        <telerik2:RadMenuItem Header="388" />
                        <telerik2:RadMenuItem Header="389" />
                        <telerik2:RadMenuItem Header="390" />
                        <telerik2:RadMenuItem Header="391" />
                        <telerik2:RadMenuItem Header="392" />
                        <telerik2:RadMenuItem Header="393" />
                        <telerik2:RadMenuItem Header="394" />
                        <telerik2:RadMenuItem Header="395" />
                        <telerik2:RadMenuItem Header="396" />
                        <telerik2:RadMenuItem Header="397" />
                        <telerik2:RadMenuItem Header="398" />
                        <telerik2:RadMenuItem Header="399" />
                        <telerik2:RadMenuItem Header="400" />
                        <telerik2:RadMenuItem Header="401" />
                        <telerik2:RadMenuItem Header="402" />
                        <telerik2:RadMenuItem Header="403" />
                        <telerik2:RadMenuItem Header="404" />
                        <telerik2:RadMenuItem Header="405" />
                        <telerik2:RadMenuItem Header="406" />
                        <telerik2:RadMenuItem Header="407" />
                        <telerik2:RadMenuItem Header="408" />
                        <telerik2:RadMenuItem Header="409" />
                        <telerik2:RadMenuItem Header="410" />
                        <telerik2:RadMenuItem Header="411" />
                        <telerik2:RadMenuItem Header="412" />
                        <telerik2:RadMenuItem Header="413" />
                        <telerik2:RadMenuItem Header="414" />
                        <telerik2:RadMenuItem Header="415" />
                        <telerik2:RadMenuItem Header="416" />
                        <telerik2:RadMenuItem Header="417" />
                        <telerik2:RadMenuItem Header="418" />
                        <telerik2:RadMenuItem Header="419" />
                        <telerik2:RadMenuItem Header="420" />
                        <telerik2:RadMenuItem Header="421" />
                        <telerik2:RadMenuItem Header="422" />
                        <telerik2:RadMenuItem Header="423" />
                        <telerik2:RadMenuItem Header="424" />
                        <telerik2:RadMenuItem Header="425" />
                        <telerik2:RadMenuItem Header="426" />
                        <telerik2:RadMenuItem Header="427" />
                        <telerik2:RadMenuItem Header="428" />
                        <telerik2:RadMenuItem Header="429" />
                        <telerik2:RadMenuItem Header="430" />
                        <telerik2:RadMenuItem Header="431" />
                        <telerik2:RadMenuItem Header="432" />
                        <telerik2:RadMenuItem Header="433" />
                        <telerik2:RadMenuItem Header="434" />
                        <telerik2:RadMenuItem Header="435" />
                        <telerik2:RadMenuItem Header="436" />
                        <telerik2:RadMenuItem Header="437" />
                        <telerik2:RadMenuItem Header="438" />
                        <telerik2:RadMenuItem Header="439" />
                        <telerik2:RadMenuItem Header="440" />
                        <telerik2:RadMenuItem Header="441" />
                        <telerik2:RadMenuItem Header="442" />
                        <telerik2:RadMenuItem Header="443" />
                        <telerik2:RadMenuItem Header="444" />
                        <telerik2:RadMenuItem Header="445" />
                        <telerik2:RadMenuItem Header="446" />
                        <telerik2:RadMenuItem Header="447" />
                        <telerik2:RadMenuItem Header="448" />
                        <telerik2:RadMenuItem Header="449" />
                        <telerik2:RadMenuItem Header="450" />
                        <telerik2:RadMenuItem Header="451" />
                        <telerik2:RadMenuItem Header="452" />
                        <telerik2:RadMenuItem Header="453" />
                        <telerik2:RadMenuItem Header="454" />
                        <telerik2:RadMenuItem Header="455" />
                        <telerik2:RadMenuItem Header="456" />
                        <telerik2:RadMenuItem Header="457" />
                        <telerik2:RadMenuItem Header="458" />
                        <telerik2:RadMenuItem Header="459" />
                        <telerik2:RadMenuItem Header="460" />
                        <telerik2:RadMenuItem Header="461" />
                        <telerik2:RadMenuItem Header="462" />
                        <telerik2:RadMenuItem Header="463" />
                        <telerik2:RadMenuItem Header="464" />
                        <telerik2:RadMenuItem Header="465" />
                        <telerik2:RadMenuItem Header="466" />
                        <telerik2:RadMenuItem Header="467" />
                        <telerik2:RadMenuItem Header="468" />
                        <telerik2:RadMenuItem Header="469" />
                        <telerik2:RadMenuItem Header="470" />
                        <telerik2:RadMenuItem Header="471" />
                        <telerik2:RadMenuItem Header="472" />
                        <telerik2:RadMenuItem Header="473" />
                        <telerik2:RadMenuItem Header="474" />
                        <telerik2:RadMenuItem Header="475" />
                        <telerik2:RadMenuItem Header="476" />
                        <telerik2:RadMenuItem Header="477" />
                        <telerik2:RadMenuItem Header="478" />
                        <telerik2:RadMenuItem Header="479" />
                        <telerik2:RadMenuItem Header="480" />
                        <telerik2:RadMenuItem Header="481" />
                        <telerik2:RadMenuItem Header="482" />
                        <telerik2:RadMenuItem Header="483" />
                        <telerik2:RadMenuItem Header="484" />
                        <telerik2:RadMenuItem Header="485" />
                        <telerik2:RadMenuItem Header="486" />
                        <telerik2:RadMenuItem Header="487" />
                        <telerik2:RadMenuItem Header="488" />
                        <telerik2:RadMenuItem Header="489" />
                        <telerik2:RadMenuItem Header="490" />
                        <telerik2:RadMenuItem Header="491" />
                        <telerik2:RadMenuItem Header="492" />
                        <telerik2:RadMenuItem Header="493" />
                        <telerik2:RadMenuItem Header="494" />
                        <telerik2:RadMenuItem Header="495" />
                        <telerik2:RadMenuItem Header="496" />
                        <telerik2:RadMenuItem Header="497" />
                        <telerik2:RadMenuItem Header="498" />
                        <telerik2:RadMenuItem Header="499" />
                        <telerik2:RadMenuItem Header="500" />
                    </telerik2:RadContextMenu>
                </telerikNavigation:RadContextMenu.ContextMenu>
            </telerikGridControl:RadGridView>
        </Grid>
    </Window>
  2. Pana
    Admin
    Pana avatar
    748 posts

    Posted 24 Nov 2010 Link to this post

    Hello Ric,

    We would say it is a bad UI experience and practice to shortwire your SQL table and the RadMenu's ItemsSource. Even if we implement a ScrollViewer in the RadMenu like VisualStudio 2010 does (and got special update to remove it) it will be totally impossible to scroll all the way down to item #450.

    If you are going to display so many data we would recomend you to use a master-detail scenario where you can put these numbers in a combobox which items come from the selected row of the grid or something like that and implement autocomplete / search etc.

    If your application proccesses something like orders/purchases that require the input of one of these 500 items as parameter it would be better to open a 'wizard' like RadWindow where you can select one of the 500+ items in addition to other parameters.

    I suppose if I know the exact scenario in which you try to use that RadMenu I would be able to provide more suitable solution.

    Greetings,
    Pana
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
  3. UI for WPF is Visual Studio 2017 Ready
  4. Ric
    Ric avatar
    8 posts
    Member since:
    Aug 2010

    Posted 24 Nov 2010 Link to this post

    Hi Pana,

    In our real application, there are much less menu items ;)
    But we our menu item's height is about half of the 1024 x 768 screen, which is tall enough to have this problem.

    My sample application here is for reproducing the problem easily. ;)

    In your message, you have mentioned ScrollViewer like VS 2010. Can you show us how can we do that for RadContexrtMenu?

    Thanks
    Ric Yik
  5. Answer
    Pana
    Admin
    Pana avatar
    748 posts

    Posted 01 Dec 2010 Link to this post

    Hi Ric,

    You can create custom styles from the RadMenu and RadMenuItems and wrap the content of the Popup in a ScrollViewer. I have attached an example project. Further you can style the scroll viewer if you like.

    Best wishes,
    Pana
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
  6. Andrei Rinea
    Andrei Rinea avatar
    10 posts
    Member since:
    Jun 2008

    Posted 02 May 2011 Link to this post

    Hello Pana,

    I've tried the sample attached and it works for a typical menu but I can't get it to work for a contextual menu. Is there something that can be made? It's ok how it works on the standard menu, I just need to have the same thing for a contextual menu..

  7. Pana
    Admin
    Pana avatar
    748 posts

    Posted 04 May 2011 Link to this post

    Hi,

    The ScrollViewer is added the same way. Put the ItemsPresenter inside a ScrollViewer and you are done. Check the attached project.

    Best wishes,
    Pana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top
UI for WPF is Visual Studio 2017 Ready