Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
296 views
Im using a list of RadButtons inside of a RadListView. The Site skin is currently set to Telerik in webconfig

I have my custom CSS overrides below. And the RadListView code is below that.

It seems the button default is:
  • Centered Text
  • Underline on Mouseover
  • A font that is too large


What I want on the buttons is:
  • Left Aligned Text                   (text-align: left !important;)
  • No underline on Mouseover     (text-decoration: none !important;)
  • 10px font at all times       (font-size: 10px !important;)

The CSS below works perfectly except for the split second after I release the mouse-click. It reverts back to the unwanted centered text, underlined, and a larger font. Just for a second, and then it is fine again.

Any ideas what my CSS is missing?



.myRadButton.rbToggleButton
{
    color: #000;
    font-size: 10px !important;
    text-decoration: none !important;  
}
 
.myRadButton.rbToggleButton:hover
{
    color: #863d02;
}
 
.myRadButton.rbToggleButton .rbText
{
   text-align: left !important;
   padding-left: 20px !important;
    font-size: 10px !important;
}
 
.myRadButton.rbToggleButton.rbDisabled,
.myRadButton.rbToggleButton:hover
{
    color: #6a6a6a;
    font-size: 10px !important;
    text-decoration: none !important;
}


<telerik:RadListView ID="RadListView1" runat="server" AllowPaging="false" OnItemDataBound="RadListView1_ItemDataBound"
                   OnDataBound="RadListView1_DataBound" Width="100%" OnLayoutCreated="RadListView1_LayoutCreated">
                   <LayoutTemplate>
                       <div class="rlv_mainLayout">
                           <div id="groupPlaceholder" runat="server">
                           </div>
                       </div>
                   </LayoutTemplate>
                   <ItemTemplate>
                       <div class="rlv_item">
                           <telerik:RadButton ID="btnOffice" runat="server" ButtonType="ToggleButton" ToggleType="CheckBox" 
                               Width="97%">
                               <ToggleStates>
                                   <telerik:RadButtonToggleState PrimaryIconCssClass="rbToggleCheckbox" CssClass="myRadButton"/>
                                   <telerik:RadButtonToggleState PrimaryIconCssClass="rbToggleCheckboxChecked"  CssClass="myRadButton" />
                               </ToggleStates>
                           </telerik:RadButton>
                       </div>
                   </ItemTemplate>
                   <GroupTemplate>
                       <div id="OfficeGroup" runat="server" class="rlv_group">
                           <asp:PlaceHolder ID="itemPlaceholder" runat="server" />
                       </div>
                   </GroupTemplate>
                   <GroupSeparatorTemplate>
                   </GroupSeparatorTemplate>
                   <EmptyDataTemplate>
                   </EmptyDataTemplate>
               </telerik:RadListView>
Adam
Top achievements
Rank 1
 answered on 14 Jan 2011
4 answers
77 views
Hi,

I'd like to know how can I show a RadAjaxLoadingPanel when I'm using Google-like filtering in a RadGrid.  Every other filtering scenario shows the panel when the user executes a filter. 

I have noticed that for the Google-like filtering demo (http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandcombo/defaultcs.aspx?product=grid), you are not using a RadAjaxLoadingPanel.

Thank you.
Fred
Top achievements
Rank 1
 answered on 14 Jan 2011
7 answers
187 views
Hi ,

 I need  small question about to get the month name ,,, If i click on the next " > "  button in the calendar i need to get the month name,,,  
 can you tell me how to do this?
Brown
Top achievements
Rank 1
 answered on 14 Jan 2011
1 answer
164 views
I have a RADWindow that will download a file to the user when they click a button on the window.  The file (text/csv) is being downloaded successfully however appended to the file is all of the RADWindow html.

The following is the code used to download the file.

Response.ContentType = "text/csv"
Response.AppendHeader("Content-Disposition", "attachment; filename=" & wrkFileName)
Response.TransmitFile(Server.MapPath(fileName))

Thanks for any help.
Mark
Top achievements
Rank 1
 answered on 14 Jan 2011
6 answers
176 views
I'm using the RadChart to display some data and I'm looking for the ability to add some functionality so that when a user clicks, or right-clicks on a chartseries item, the chart displays some type of menu with a series of actions that would be tied to the chartseries that they clicked.  Is there any RadMenu support for the RadChart?  I know that there is a click event for the chart, but it seems to be server side. Any other ideas are welcome.

Thanks!
Steve
Nutan
Top achievements
Rank 1
 answered on 14 Jan 2011
1 answer
220 views
Hello,

I am using an AdvancedEditTemplate using the example which is shown on the telerik website i have used the following code for the call of the form and closing of the form.

 

<asp:Panel runat="server" ID="ButtonsPanel" CssClass="rsAdvancedSubmitArea">
<div class="rsAdvButtonWrapper">
<asp:LinkButton CommandName="Update" runat="server" ID="UpdateButton" CssClass="rsAdvEditSave">
<
span><%# Container.Appointment.Owner.Localization.Save%></span>
</asp:LinkButton>
<asp:LinkButton runat="server" ID="CancelButton" CssClass="rsAdvEditCancel" CommandName="Cancel"CausesValidation="false">
<span><%# Container.Appointment.Owner.Localization.Cancel%></span>
</asp:LinkButton>
</div>
</asp:Panel>

When i click on the "Open" menu item in the appointment contextmenu, it opens the AdvancedEditTemplate in a rad window. below shows you my context menu.

 

 

<AppointmentContextMenus>
<telerik:RadSchedulerContextMenu runat="server" ID="SchedulerAppointmentContextMenu">
<Items>
<telerik:RadMenuItem Text="Open" Value="CommandEdit" />
<telerik:RadMenuItem IsSeparator="True" />
<telerik:RadMenuItem Text="Delete" Value="CommandDelete" ImageUrl="Images/delete.gif" />
</Items>
</telerik:RadSchedulerContextMenu>
</AppointmentContextMenus>

 

 

 

When i click "Open" in the contextmenu I pressume it uses the value "CommandEdit" to show the Form in a RadWindow. I can not find any examples online which explain the process of the "CommandEdit" and how it opens the RadWindow.
So my question is. How do I close and open this AdvancedEditTemplate in the radwindow - serverside so that I can add my own MenuItem and make that open the AdvancedEditTemplate?

Thank you

Peter
Telerik team
 answered on 14 Jan 2011
1 answer
82 views
Hi, is it possible to spellcheck the source of a contenteditable div using RadSpell?
Thanks in advance, Max.
Lini
Telerik team
 answered on 14 Jan 2011
2 answers
125 views
Hi,

If we go through the following example
Click here
I found that first frame doesn't show text (ticker text), from next frame after sliding each and every frame shows the text.
is this a bug? if so what is the solution? or how do i show the text in the first frame too?

Thanks
K²
Ali Faraji
Top achievements
Rank 1
 answered on 14 Jan 2011
1 answer
100 views
Hi,
   I am creating an Appointment with recurrence in Scheduler. But when I drag and drop that appointment to modify it,
In that case it's Reccurence rule is not updating.It only update it's start and end time.
How this can be done?
Can you help?


Thanks,
Veronica
Telerik team
 answered on 14 Jan 2011
1 answer
108 views
Quick Question:

I am migrating an existing calendar module with recurrence options to the radscheduler...and noticed that it is missing an option that my users often use:

This is the option:
The   [1st/2nd/3rd/4th/5th]   [Sun/Mon/Tue/Wed/Thu/Fri/Sat]   of every month

The scheduler has many other options...but not that one. Does anyone know of a way that I can implement this? Or perhaps I missed something and this option is there?
Peter
Telerik team
 answered on 14 Jan 2011
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?