Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
252 views
Hi,

How can I implement two different css class for
  1. Menu Item not selected
  2. Menu Item selected

I don't want to set it from code behind. Is there any way to set it from aspx page itself. Something like, SelectedItemCssClass="ItemSelected" and ItemCssClass="MenuItem" etc.

Also, I want to remove border of menu control. How can I do this? I tried " BorderStyle="None" BorderWidth="0px" " but it's not working.

I am using below code to implement telerik menu control in my website.

1) Static Menu
<telerik:RadMenu ID="RadMenu1" runat="server" Width="600px" EnableRoundedCorners="true"
EnableShadows="true" BackColor="White" BorderStyle="None" BorderWidth="0px">
    <Items>
        <telerik:RadMenuItem Text="Home" Value="Home" Width="100px" NavigateUrl="MainPage.aspx" />
        <telerik:RadMenuItem Text="About Us" Value="About Us" Width="100px" />
        <telerik:RadMenuItem Text="Careers" Value="Careers" Width="100px" />
        <telerik:RadMenuItem Text="Contact Us" Value="Contact Us" Width="100px" />
        <telerik:RadMenuItem Text="Privacy" Value="Privacy" Width="100px" />
        <telerik:RadMenuItem Text="Help" Value="Help" Width="95px" />
    </Items>
</telerik:RadMenu>

2) Dynamic Menu
<telerik:RadMenu ID="RadMenu2" runat="server" Width="190px" EnableRoundedCorners="true"
EnableShadows="true" DefaultGroupSettings-RepeatDirection="Vertical" DefaultGroupSettings-RepeatColumns="1"
EnableSelection="true" OnItemDataBound="RadMenu2_ItemDataBound"/>

Thanks,
Vatsal
Shinu
Top achievements
Rank 2
 answered on 12 Nov 2010
5 answers
248 views
Is there a way to align the list item horizontally?

Thanks
Yana
Telerik team
 answered on 12 Nov 2010
1 answer
122 views
Hi, just installed Q3 and look forward to exploring the new features but there is no longer the option to install specific .NET versions. I don't want to install .NET 2. I dont' use it and I don't use that version of the Telerik controls. In fact I now use v4 exclusively. The Q2 installation allowed users to select the versions of .NET support they wanted. Can we not have this choice back please? I just don't want all the other stuff on my laptop.

Regards,
Jonathan
Andrey
Telerik team
 answered on 12 Nov 2010
3 answers
73 views
I'm using a RadScheduler in the Timeline view and when the edit window opens and I select recurrence the display is messed up when using the AjaxManagerProxy.  If I remove the proxy the recurrence display looks correct.

Any ideas?

The editor on the left is with the proxy and the one on the right is without.  That is the only difference.
Peter
Telerik team
 answered on 12 Nov 2010
1 answer
63 views
Is it possible to add a custom drop down to the editor tool bar that will contain an expanding tree list? 
Dobromir
Telerik team
 answered on 12 Nov 2010
3 answers
72 views
Hi,
I am using a grid button that's code is given below tell in which plzce i will write code for that operation??
this button is inside grid it has not property like onclientclick like asp:button??
Thanks
 </telerik:GridTemplateColumn>
                    <telerik:GridButtonColumn ButtonType="PushButton" Text="Save" UniqueName="Save">
                    <FooterStyle Font-Bold="true" Font-Size="Medium" />
 </telerik:GridButtonColumn>
Princy
Top achievements
Rank 2
 answered on 12 Nov 2010
1 answer
81 views
Hi,

I am working on a RadGrid which is not allowed multiple row selection.The issue i found is i can not uncchek the check box in  a row which is already selected when click on it again.Is there anyway to overcome this?

Thank you!
Shinu
Top achievements
Rank 2
 answered on 12 Nov 2010
2 answers
203 views
Hi

I am using the demo here to create a grid where the user can do batch updates with double-click inplace editing. Is there some way to remove the extra padding when the textbox is displayed? The problem is the textbox for editing is 19px high, while the label for display is 15px high and this 4px difference causes the row to "bounce" when going into/out of edit mode. This behaviour is also in the demo.

I have tried removing the padding at runtime with jquery in the ShowColumnEditor() function and re-adding it in the HideColumnEditor() function without luck. I can get rid of the bounce by setting the ItemStyle to 29px, but this makes the grid too spaced out and not as attractive.

I am using Internet Explorer 8 and the Vista skin.

Thanks!
Jeremy
Top achievements
Rank 1
 answered on 12 Nov 2010
3 answers
177 views
Hi. I've used the RadTabStrip for some time now but never used multi-row. I've noticed when I've tried to use it, that in my first line off tabs, the end of the tab gets cut off. The tabstrip is sitting inside an HTML table cell, if that's any help.

<telerik:RadTabStrip runat="server" ID="rtsDetails" Skin="Default" Orientation="HorizontalTop"
                                SelectedIndex="0" MultiPageID="rmpDetails" CausesValidation="false" Width="100%"
                                     OnClientTabSelected="OnClientTabSelected">
                                <Tabs>
                                    <telerik:RadTab Text="My Details" Value="0">
                                    </telerik:RadTab>
                                    <telerik:RadTab Text="IT Assets" Value="1">
                                    </telerik:RadTab>
                                    <telerik:RadTab Text="Action Requests" Value="2" IsBreak="true">
                                    </telerik:RadTab>
                                    <telerik:RadTab Text="Correspondence" Value="3">
                                    </telerik:RadTab>
                                    <telerik:RadTab Text="Purchase Orders" Value="4" >
                                    </telerik:RadTab>
                                    <telerik:RadTab Text="Support Calls" Value="5">
                                    </telerik:RadTab>
                                </Tabs>
                            </telerik:RadTabStrip>


Daniel
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 11 Nov 2010
3 answers
138 views
Below I have an image of my running page.

I have my Update button in Edit.ascx
  
<td align="right">
             <asp:Button ID="btnUpdate" Text="Update" runat="server" 
                 CommandName="Update" 
                 Visible='<%# Not (TypeOf DataItem Is Telerik.Web.UI.GridInsertionObject) %>'>
            </asp:Button>
  
    
            <asp:button id="btnCancel" text="Cancel" runat="server" causesvalidation="False" commandname="Cancel"></asp:button>
            </td>
  
And I have my server side code: in exit.ascx.vb
  
Protected Sub btnUpdate_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnUpdate.Click
        'Set Varibles
.
.
.
End Sub
  
Telerick grid in view.ascx
.
.
.
<telerik:GridEditCommandColumn UniqueName="EditCommandColumn">
                    </telerik:GridEditCommandColumn>
  
    </Columns>
    <EditFormSettings UserControlName="desktopModules/AAUMembershipHist01/Edit.ascx" EditFormType="WebUserControl">
        <EditColumn UniqueName="EditCommandColumn1">
        </EditColumn>
    </EditFormSettings>
.
.
.
  
Running my trace I find that the Server side code never gets executed.
  
Doing something wrong.  Can someone point my in the right direction?
Kris
Top achievements
Rank 1
 answered on 11 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?