Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
817 views

Hi all,

I have a div with Id="divColor". I want the div hide/shows according to the value of RadioButtonList with ID="rblColor"

div:

01.<div id="divColor" runat="server">
02.    <tr>
03.        <td align="right">
04.            <asp:Label runat="server" ID="Label11"></asp:Label>
05.        </td>
06.        <td>
07.            <telerik:RadColorPicker ID="color" runat="server" Enabled="true" SelectedColor='<%#System.Drawing.ColorTranslator.FromHtml(Eval("Color").ToString())%>'
08.                PaletteModes="HSV" CurrentColorText="(Color : {0})">
09.            </telerik:RadColorPicker>
10.        </td>
11.    </tr>
12.</div>

 

RadioButtonList:

1.<asp:RadioButtonList ID="rblColor" runat="server">
2.    <asp:ListItem Text="Del Tipo" Value="tipo" />
3.    <asp:ListItem Text="Personalizado" Value="perso" />
4.</asp:RadioButtonList>

 

If value=tipo the div is hide, else is show. I want to do in Javascript.

I've tried it in many ways, but it hasn't worked.

I leave the complete code below.

001.<telerik:RadScriptManager ID="RadScriptManager1" runat="server" AsyncPostBackTimeout="3600">
002.    <Scripts>
003.        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js">
004.        </asp:ScriptReference>
005.        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js">
006.        </asp:ScriptReference>
007.        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js">
008.        </asp:ScriptReference>
009.    </Scripts>
010.</telerik:RadScriptManager>
011.<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
012.</telerik:RadAjaxLoadingPanel>
013.<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
014.    <AjaxSettings>
015.        <telerik:AjaxSetting AjaxControlID="RadAjaxPanel1">
016.            <UpdatedControls>
017.                <telerik:AjaxUpdatedControl ControlID="RadAjaxPanel1" LoadingPanelID="RadAjaxLoadingPanel1" />
018.            </UpdatedControls>
019.        </telerik:AjaxSetting>
020.    </AjaxSettings>
021.</telerik:RadAjaxManager>
022.<telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" AutoTooltipify="true">
023.</telerik:RadToolTipManager>
024.<telerik:RadWindow runat="server" ID="RadWindow_ContentTemplateDeleteNode" RestrictionZoneID="ContentTemplateZone" Modal="true"
025.    Width="500" Height="150" Title="Causa del borrado">
026.    <ContentTemplate>
027.        <asp:Label ID="Label9" runat="server" Text="Motivo del borrado:"></asp:Label>
028.        <br />
029.        <asp:TextBox ID="lmotivo" runat="server" Text="" Width="450" MaxLength="50"></asp:TextBox>
030.        <br />
031.        <br />
032.        <telerik:RadButton runat="server" ID="RadButton4" Text="Eliminar" OnClientClicking="DeleteNode">
033.        </telerik:RadButton>
034.        <telerik:RadButton ID="RadButton5" runat="server" Text="Cancelar" OnClientClicked="closeDeleteNode">
035.        </telerik:RadButton>
036.    </ContentTemplate>
037.</telerik:RadWindow>
038.<telerik:RadWindowManager runat="server" ID="RadWindowManager1">
039.</telerik:RadWindowManager>
040.<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
041.    <asp:PlaceHolder ID="placeholder" runat="server"></asp:PlaceHolder>
042.    <telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1" SelectedIndex="0" OnTabClick="RadTabStrip1_TabClick">
043.        <Tabs>
044.            <telerik:RadTab Text="Datos generales" PageViewID="datosGenerales" Selected="True">
045.            </telerik:RadTab>
046.            <telerik:RadTab Text="Datos InHalt" PageViewID="datosInHalt">
047.            </telerik:RadTab>
048.            <telerik:RadTab Text="Nodos asociados" PageViewID="viewSubnodes">
049.            </telerik:RadTab>
050.            <telerik:RadTab Text="Zonas asociadas" PageViewID="viewZones">
051.            </telerik:RadTab>
052.            <telerik:RadTab Text="Traducciones del nombre" PageViewID="viewNombres">
053.            </telerik:RadTab>
054.            <telerik:RadTab Text="Datos de parada" PageViewID="viewStop" Enabled="False">
055.            </telerik:RadTab>
056.            <telerik:RadTab Text="Datos del display" PageViewID="viewDisplay" Enabled="False">
057.            </telerik:RadTab>
058.            <telerik:RadTab Text="Datos del Integrador" PageViewID="viewIntegrador" Enabled="False">
059.            </telerik:RadTab>
060.            <telerik:RadTab Text="Datos de sistema de comunicación" PageViewID="viewCom" Enabled="False">
061.            </telerik:RadTab>
062.            <telerik:RadTab Text="Macrolíneas" PageViewID="viewMacrolineas">
063.            </telerik:RadTab>
064.            <telerik:RadTab Text="Líneas" PageViewID="viewlineas">
065.            </telerik:RadTab>
066.        </Tabs>
067.    </telerik:RadTabStrip>
068.    <asp:Button runat="server" ID="btnDel" OnClick="DelClick" Style="display: none" />
069.    <asp:Button runat="server" ID="btn1" OnClick="actualizarPanel" Style="display: none" />
070.    <asp:Button runat="server" ID="btn2" OnClick="refrescarPanel" Style="display: none" />
071.    <asp:Button runat="server" ID="btnReZona" OnClick="SobreescribirZona" Style="display: none" />
072.    <telerik:RadMultiPage runat="server" ID="RadMultiPage1" SelectedIndex="0" Width="100%">
073.        <telerik:RadPageView runat="server" ID="datosGenerales">
074.            <asp:FormView runat="server" ID="Detalles">
075.                <ItemTemplate>
076.                    <table class="style1">
077.                        <tr>
078.                            <td align="right">
079.                                <asp:Label runat="server" Text="ID único"></asp:Label>
080.                            </td>
081.                            <td>
082.                                <b>
083.                                        <asp:Label ID="id" runat="server" Text='<%# Eval("Id") %>' locIgnore></asp:Label>
084.                                    </b>
085.                            </td>
086.                        </tr>
087.                        <tr>
088.                            <td align="right">
089.                                <asp:Label runat="server" Text="Nodo"></asp:Label>
090.                            </td>
091.                            <td>
092.                                <b>
093.                                        <asp:Label ID="num" runat="server" Text='<%# Eval("NodeId.Num") %>' locIgnore></asp:Label>
094.                                    </b>
095.                            </td>
096.                        </tr>
097.                        <tr>
098.                            <td align="right">
099.                                <asp:Label runat="server" Text="Tipo"></asp:Label>
100.                            </td>
101.                            <td>
102.                                <b>
103.                                        <asp:Label ID="tipo" runat="server" Text='<%# Eval("TipoNodo.Description") %>' locIgnore></asp:Label>
104.                                    </b>
105.                            </td>
106.                        </tr>
107.                        <tr>
108.                            <td align="right">
109.                                <asp:Label runat="server" Text="Nombre"></asp:Label>
110.                            </td>
111.                            <td>
112.                                <b>
113.                                        <asp:Label ID="nombre" runat="server" Text='<%# Eval("Nombre") %>' locIgnore></asp:Label>
114.                                    </b>
115.                            </td>
116.                        </tr>
117.                        <tr>
118.                            <td align="right">
119.                                <asp:Label runat="server" Text="Etiqueta"></asp:Label>
120.                            </td>
121.                            <td>
122.                                <b>
123.                                        <asp:Label ID="label" runat="server" Text='<%# Eval("Label") %>' locIgnore></asp:Label>
124.                                    </b>
125.                            </td>
126.                        </tr>
127.                        <tr>
128.                            <td align="right">
129.                                <asp:Label runat="server" Text="UTM Coord X"></asp:Label>
130.                            </td>
131.                            <td>
132.                                <b>
133.                                        <asp:Label ID="label1" runat="server" Text='<%# Eval("Punto.X") %>' locIgnore></asp:Label></b>
134.                            </td>
135.                        </tr>
136.                        <tr>
137.                            <td align="right">
138.                                <asp:Label runat="server" Text="UTM Coord Y"></asp:Label>
139.                            </td>
140.                            <td>
141.                                <b>
142.                                        <asp:Label ID="label2" runat="server" Text='<%# Eval("Punto.Y") %>' locIgnore></asp:Label></b>
143.                            </td>
144.                        </tr>
145.                        <tr>
146.                            <td align="right">
147.                                <asp:Label ID="lblColor" runat="server" Text="Color"></asp:Label>
148.                            </td>
149.                            <div id="divTextColor" runat="server">
150.                                <td>
151.                                    <asp:TextBox ID="TextBox1" runat="server" BackColor='<%#System.Drawing.ColorTranslator.FromHtml(Eval("Color").ToString())%>'
152.                                        Enabled="false" CssClass="bold"></asp:TextBox>
153.                                </td>
154.                            </div>
155.                            <div id="divLabelColor" runat="server">
156.                                <td>
157.                                    <asp:Label ID="lblColorTipo" runat="server" Text="El del Tipo" CssClass="bold"></asp:Label>
158.                                </td>
159.                            </div>
160.                        </tr>
161.                        <tr>
162.                            <td colspan="2" align="left" style="font-weight: bold">
163.                                <asp:Button ID="btnEdit" runat="server" CommandName="edit" Text="Modificar" Visible='<%# usuario().getPermiso(DatoSae3.code.PERMISO.NODOS,DatoSae3.code.ACCESS.WRITE) && visible %>'
164.                                />
165.                                <asp:Button ID="btnDelete" runat="server" CommandName="delete" Text="Eliminar nodo" Visible='<%# usuario().getPermiso(DatoSae3.code.PERMISO.NODOS,DatoSae3.code.ACCESS.WRITE) && visible%>'
166.                                    OnClientClick="return confirmCallbackFunctionDeleteNode()" />
167.                                <%--<ajax:ConfirmButtonExtender ID="fffff" runat="server" ConfirmText="Esto eliminará completamente el nodo. ¿Está seguro?"
168.                                        Enabled="True" TargetControlID="btnDelete" />--%>
169.                                    <br />
170.                                    <asp:Button ID="btnPosicion" runat="server" Text="Establecer Posición" Visible='<%# usuario().getPermiso(DatoSae3.code.PERMISO.NODOS,DatoSae3.code.ACCESS.WRITE) && visible%>'
171.                                        OnClick="btnPosicion_Click" />  
172.                                    <asp:CheckBox ID="chkPropagar" Checked="true" runat="server" Text="Propagar cambio a posiciones en ramales" ToolTip="Si marca este checkbox, se recalculará la posición del nodo en todas los ramales, secciones y rutas. Esto puede provocar que se modifique mucha información en Base de datos, pero mantiene la consistencia en las posiciones de los nodos"
173.                                    />
174.                                    <br />
175.                                    <asp:Button ID="btnNodosZona" runat="server" OnClick="btnNodosZona_Click" Visible='<%# usuario().getPermiso(DatoSae3.code.PERMISO.NODOS,DatoSae3.code.ACCESS.WRITE) && visible%>'
176.                                        Text="Seleccionar nodos de zona" />
177.                                    <br />
178.                                    <asp:Button ID="btnPuntos" runat="server" Text="Definir area" OnClick="btnPuntos_Click" Visible='<%# usuario().getPermiso(DatoSae3.code.PERMISO.NODOS,DatoSae3.code.ACCESS.WRITE) && visible && ((Convert.ToInt32(Eval("TipoNodo.Type")) == 5) || (Convert.ToInt32(Eval("TipoNodo.Type")) == 8)) %>'
179.                                    />
180.                            </td>
181.                    </table>
182.                </ItemTemplate>
183.                <EditItemTemplate>
184.                    <table class="style1">
185.                        <tr>
186.                            <td align="right">
187.                                <asp:Label runat="server" Text="ID único"></asp:Label>
188.                            </td>
189.                            <td>
190.                                <b>
191.                                        <asp:Label ID="id" runat="server" Text='<%# Eval("Id") %>' locIgnore></asp:Label>
192.                                    </b>
193.                            </td>
194.                        </tr>
195.                        <tr>
196.                            <td align="right">
197.                                <asp:Label runat="server" Text="Nodo"></asp:Label>
198.                            </td>
199.                            <td>
200.                                <asp:TextBox ID="Num" runat="server" MaxLength="10" Text='<%# Eval("NodeId.Num") %>' CssClass="bold"></asp:TextBox>
201.                                <b>
202.                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="num"
203.                                            ErrorMessage="*"></asp:RequiredFieldValidator>
204.                                        <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="num" ErrorMessage="1..65535"
205.                                            MaximumValue="65535" ForeColor="Red" MinimumValue="1" Type="Integer"></asp:RangeValidator>
206.                                    </b>
207.                            </td>
208.                        </tr>
209.                        <tr>
210.                            <td align="right">
211.                                <asp:Label runat="server" Text="Tipo"></asp:Label>
212.                            </td>
213.                            <td>
214.                                <b>
215.                                        <asp:Label ID="tipo" runat="server" Text='<%# Eval("TipoNodo.Description") %>' locIgnore></asp:Label>
216.                                    </b>
217.                            </td>
218.                        </tr>
219.                        <tr>
220.                            <td align="right">
221.                                <asp:Label runat="server" Text="Nombre"></asp:Label>
222.                            </td>
223.                            <td>
224.                                <asp:TextBox ID="nombre" runat="server" Text='<%# Eval("Nombre") %>' MaxLength="60" CssClass="bold"></asp:TextBox>
225.                                <b>
226.                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="nombre"
227.                                            ErrorMessage="*"></asp:RequiredFieldValidator>
228.                                    </b>
229.                            </td>
230.                        </tr>
231.                        <tr>
232.                            <td align="right" class="style2">
233.                                <asp:Label runat="server" Text="Etiqueta"></asp:Label>
234.                            </td>
235.                            <td class="style2">
236.                                <asp:TextBox ID="label" runat="server" Text='<%# Eval("Label") %>' MaxLength="10" CssClass="bold"></asp:TextBox>
237.                                <b>
238.                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="label"
239.                                            ErrorMessage="*"></asp:RequiredFieldValidator>
240.                                    </b>
241.                            </td>
242.                        </tr>
243.                        <tr>
244.                            <td align="right">
245.                                <asp:Label runat="server" ID="labX" Text="UTM Coord X</td>"></asp:Label>
246.                                <td>
247.                                    <asp:TextBox ID="X" runat="server" MaxLength="25" Text='<%# Eval("Punto.X") %>' CssClass="bold"></asp:TextBox>
248.                                    <b>
249.                                            <asp:RequiredFieldValidator ID="XReqValidator" runat="server" ControlToValidate="X"
250.                                                ForeColor="Red" ErrorMessage="*"></asp:RequiredFieldValidator>
251.                                            <asp:RangeValidator ID="XRangeValidator" runat="server" ControlToValidate="X" ErrorMessage="0..1207959551"
252.                                                ForeColor="Red" MaximumValue="1207959551" MinimumValue="0" Type="Double"></asp:RangeValidator>
253.                                            <asp:RegularExpressionValidator ID="XRegExpValidator" runat="server" ControlToValidate="X"
254.                                                ErrorMessage="X°X'X''" ForeColor="Red" ValidationExpression="^[-]*\d+[°º]\s*\d+['´`]\s*\d+[,.]?\d*['`´]{2}\s*$"
255.                                                Enabled="false"></asp:RegularExpressionValidator>
256.                                        </b>
257.                                </td>
258.                        </tr>
259.                        <tr>
260.                            <td align="right">
261.                                <asp:Label runat="server" ID="labY" Text="UTM Coord Y"></asp:Label>
262.                            </td>
263.                            <td>
264.                                <asp:TextBox ID="Y" runat="server" MaxLength="25" Text='<%# Eval("Punto.Y") %>' CssClass="bold"></asp:TextBox>
265.                                <b>
266.                                        <asp:RequiredFieldValidator ID="YReqValidator" runat="server" ControlToValidate="Y"
267.                                            ForeColor="Red" ErrorMessage="*"></asp:RequiredFieldValidator>
268.                                        <asp:RangeValidator ID="YRangeValidator" runat="server" ControlToValidate="Y" ErrorMessage="0..1207959551"
269.                                            ForeColor="Red" MaximumValue="1207959551" MinimumValue="0" Type="Double"></asp:RangeValidator>
270.                                        <asp:RegularExpressionValidator ID="YRegExpValidator" runat="server" ControlToValidate="X"
271.                                            ErrorMessage="X°X'X''" ForeColor="Red" ValidationExpression="^[-]*\d+[°º]\s*\d+['´`]\s*\d+[,.]?\d*['`´]{2}\s*$"
272.                                            Enabled="false"></asp:RegularExpressionValidator>
273.                                    </b>
274.                            </td>
275.                        </tr>
276.                        <tr>
277.                            <td align="right">
278.                                <asp:Label runat="server" ID="Label12" Text="Color"></asp:Label>
279.                            </td>
280.                            <td align="right">
281.                                <asp:RadioButtonList ID="rblColor" runat="server">
282.                                    <asp:ListItem Text="Del Tipo" Value="tipo" />
283.                                    <asp:ListItem Text="Personalizado" Value="perso" />
284.                                </asp:RadioButtonList>
285.                            </td>
286.                        </tr>
287.                        <div id="divColor" runat="server">
288.                            <tr>
289.                                <td align="right">
290.                                    <asp:Label runat="server" ID="Label11"></asp:Label>
291.                                </td>
292.                                <td>
293.                                    <telerik:RadColorPicker ID="color" runat="server" Enabled="true" SelectedColor='<%#System.Drawing.ColorTranslator.FromHtml(Eval("Color").ToString())%>'
294.                                        PaletteModes="HSV" CurrentColorText="(Color : {0})">
295.                                    </telerik:RadColorPicker>
296.                                </td>
297.                            </tr>
298.                        </div>
299.                        <tr>
300.                            <td colspan="2" align="left" style="font-weight: bold">
301.                                <asp:CheckBox ID="chkdegr" runat="server" Text="Ver Coordenadas en grados, minutos, segundos" OnCheckedChanged="chkdegr_changed"
302.                                    AutoPostBack="true" />
303.                            </td>
304.                        </tr>
305.                        <tr>
306.                            <td colspan="2" align="left" style="font-weight: bold">
307.                                <asp:Button ID="btnupdate" runat="server" Text="Guardar cambios" CommandName="update" />
308.                                <asp:Button ID="btncancel" runat="server" Text="Cancelar" CommandName="cancel" />
309.                            </td>
310.                        </tr>
311.                    </table>
312.                </EditItemTemplate>
313.            </asp:FormView>
314.        </telerik:RadPageView>

              ......

 

 

Many thanks in advance.

 

 

 

 

 

 

kaiwjwj

Peter Milchev
Telerik team
 answered on 25 Apr 2019
1 answer
1.1K+ views

I have a list box, with a lengthy list of items (Interests List Box).  A user selects which Interests are likes, and they populate into a different list box for Likes (Likes List Box)

 

To make searching for specific things easier, I would like to use a search box to help narrow down results. Here is a quick snippet of examples of some of my items:

                    <telerik:RadListBoxItem runat="server" Text="Music-Country" />
                    <telerik:RadListBoxItem runat="server" Text="Music-Rap" />
                    <telerik:RadListBoxItem runat="server" Text="TV-Cartoons" />
                    <telerik:RadListBoxItem runat="server" Text="TV-Drama" />

 

So if I type "Music" in the search box, I would like it to filter down and show results that start with "Music-" so they do not have to scroll all the way through the Interests List Box to get there. Once they find what they are looking for, I want them to be able to click the option they were looking for and add it to the Likes List box. I am having trouble finding a way to link the list box and search box together, is this possible?

 

 

Peter Milchev
Telerik team
 answered on 24 Apr 2019
8 answers
731 views
Hi everyone,

I have a RadListView that is bind to Db. I have to show details of the items in listview when user clicks on the each item . But i am facing issue when its SelectedIndexChanged event is firing. When user clicks on the item for the first time, the detailed data shown is correct but as soon as a second item is clicked , it shows exception :

ArgumentOutOfRangeException :
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Exception is thrown when : 

ItemID = ItemListView.SelectedValue.ToString();

Showing data as similar to a demo - http://demos.telerik.com/aspnet-ajax/salesdashboard/
Employee ListView  -> clicking showing - > sales data

Also i found that the selectedindexchanged event is firing twice in some cases. Cannot predict such cases but want to know the reason why it is firing twice when user clicks only once.

please advice
Yana
Telerik team
 answered on 24 Apr 2019
3 answers
178 views
I have an old project that uses 2014 Telerik. What are the basic steps to upgrade to the latest version?
Nikola
Telerik team
 answered on 24 Apr 2019
1 answer
216 views

Hello,

How can you implement subheadings in RadListBox ?

For example:

HEADING 1

ListItem A

ListItem B

HEADING 2

ListItem C

ListItem D

 

Thank you.

Peter Milchev
Telerik team
 answered on 24 Apr 2019
2 answers
119 views

We have a nested tabstrip with dynamically created tabs from the code behind. The parent tabstrip is also dynamically created and populated. When the page first loads both the parent tab pageviews and child tab pageviews are correct and both can be navigated. But when the child tabstrip has a postback created by a contained form, the pageviews for the parent tabstrip clear (except for the current open tab with the form). The parent tabs remain but no content underneath (except the current page with the child tabs).  The content can only be repopulated by reloading the full page. Note that a form postback at the parent page level does not clear the tab pageviews.

We've tried variations of loading the tabs at postback and not postback but can't seem to find a combination that works. 

Is there a way to correct this issue?

thanks!

Jeff
Top achievements
Rank 1
 answered on 23 Apr 2019
7 answers
460 views

Hi,

I experience rather low quality results on scaling hires JPG image (2900x2900) to a size of 400x400

I can find that InterpolationMode.HighQualityBicubic is used but from my point of view the result should be better then.

Where can I send source photo (3.3MB), just try to scale to 400x400 and you 'll see what I mean.

Something changed in the scale procedure?

Marc

Vessy
Telerik team
 answered on 23 Apr 2019
1 answer
115 views

I have a web-site project that I needed to convert to web-application. After I resolved all the compilation errors I hit a runtime exception in a piece of code I got from Telerik's Website.
In the part where I de-serialize the grid settings data I get an exception

System.ArgumentExceptionHResult=0x80070057Message=The serialized data is invalid.Source=BMS.WebAppInner Exception 1:SerializationException: Unable to find assembly 'App_Code.5gd62bdt, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.

 

public static GridSettingsCollection LoadFromSerializedData(string data)

{

  LosFormatter formatter = new LosFormatter();

  // the line that throws the exception: formatter.Deserialize(data)

  return (GridSettingsCollection)formatter.Deserialize(data);

}

This works no problem when it was a Web-Site project. I am guessing assemblies that start with an App_Code.* usually means that it is compiling at runtime. I tried clearing all the ASP temp folders.

Any help is greatly appreciated. Thanks.

Eyup
Telerik team
 answered on 23 Apr 2019
7 answers
665 views
I want to bind the grid to query results.
A person might appear several times and I want to sort the results using person ID.
Is there a way to hide duplicate values (e.g. ID, First name, Last name etc.) in the grid?

I wish there was a property like 'HideDuplicates'  in MS Access.

Maysam
Top achievements
Rank 1
 answered on 22 Apr 2019
5 answers
452 views
Hello,

When I click on a RadMenuItem of a regular RadMenu (not context menu), the menu is not closed.
I try to add some code in the ItemClicked event :
sender.close();
or even:
setTimeout(function() {sender.close();}
But it doesn't work since the menu is reopened just after the close because of a delayed event.

Does anybody have an idea.

Thanks in advance.

BR, Laurent

<%@ Page Language="C#" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<script runat="server">  
 
</script> 
 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <title></title>  
    <script type="text/javascript">  
        function rmMode_ItemClicked(sender, args)  
        {  
            sender.close();  
        }  
    </script> 
</head> 
<body> 
    <form id="form1" runat="server">  
    <div> 
        <telerik:RadScriptManager  
                id="RSM" 
                runat="server" 
                > 
        </telerik:RadScriptManager> 
        <telerik:RadMenu  
                id="rmMode" 
                runat="server" 
                Flow="Horizontal" 
                OnClientItemClicked="rmMode_ItemClicked" 
                width="100px" 
                > 
                <Items> 
                    <telerik:RadMenuItem  
                            Text="Menu" 
                            > 
                        <Items> 
                            <telerik:RadMenuItem Text="Item1" Value="1" /> 
                            <telerik:RadMenuItem Text="Item2" Value="1" /> 
                        </Items> 
                    </telerik:RadMenuItem> 
                </Items> 
        </telerik:RadMenu> 
    </div> 
    </form> 
</body> 
</html> 
Ioannis
Top achievements
Rank 1
 answered on 22 Apr 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?