Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
731 views
I need to change the default font size in the radEditor and I'm not having success. This will be for both edit and non-edit modes.
Does anybody know how to do this? Currently the font is size 11px but I want it bigger when the user initially clicks into the editor.

For the surrounding asp controls I have simply applied a style with the font size
style="font-size:medium; font-weight:bold"

Is there a similar style that will work in the radEditor?

I've also tried using a CSSClass directing it to use this
.tempstyle {font-family: Tahoma; font-size: 20px !important; color: green;}

My site uses a single style sheet but no themes.

Any help is appreciated.
Rumen
Telerik team
 answered on 17 Nov 2010
0 answers
66 views
Dear Sir,
when i open appointment context menu using left menu then OnClientAppointmentContextMenu this event is not firing why?
Please help me.

Following Code responsible for Open Appointment Context Menu through Left Click.

function OnClientAppointmentClick(sender, args) {
            sender.get_appointmentContextMenus()[0].show(args.get_domEvent());
         
        }

But following client event is not firing

function OnClientAppointmentContextMenu(sender, args) {

          
        var app = args.get_appointment();
            var attValue = app.get_attributes().getAttribute('StatusId');
            //alert(attValue);
                if (attValue == "0") {
                    sender.get_appointmentContextMenus()[0].set_enabled(false);
                }
                else {
                    sender.get_appointmentContextMenus()[0].set_enabled(true);
                }

        }

So please Help Me.
Thanks
Chandan Kumar
Chandan Kumar
Top achievements
Rank 1
 asked on 17 Nov 2010
1 answer
71 views
Hi all,
i am facing a weird behavior with radalert control. in IE, it behaves normally but in Firefox i get a blank alert. Here is the javascript call.
Anybody why it is happening??

I use radWindow.dll v2.0.50727 AND Mozilla 3.6 
function ShowErrorMessage(Message) {
         radalert(Message, 500, 210, "List Error Alert");
    }
Georgi Tunev
Telerik team
 answered on 17 Nov 2010
5 answers
44 views
Hello,
        I tried to use telerik online documentation, and it seems to be broken. All pages are blank. For example

http://www.telerik.com/help/aspnet-ajax/splitter_clientsideradpane.html

Thanks,
Bharani
Dobromir
Telerik team
 answered on 17 Nov 2010
3 answers
73 views
Let's say I have a grid inside and PadPanelItem.  Is it possible to set the grid height to fill 100% of that panel?

Thanks,

Richard.

Pavlina
Telerik team
 answered on 17 Nov 2010
1 answer
56 views
How do i add Delete and Edit images to RadGrid ?
Daniel
Telerik team
 answered on 17 Nov 2010
5 answers
199 views
Sorry to bother, but I've a quite frightening memory leak issue with RadWindowManager.
Very simple to reproduce. I've simply added a radwindowmanager to a page and client side I create a new window (I'm using google.it as target).
I've noticed that in IE8 (but it happens less extensively with chrome and firefox) if I continue to create a window and then close it and I look at the memory used by the browser it continues to get bigger.
I'm using Telerik 2010.2.713.35.

May you tell me if I can fix this issue someway?

Here is the code:
<%@ Page Language="C#" AutoEventWireup="True" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="Rad" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script>
function openwindow()
{
var mywindow = radopen("http://www.google.it", null);
}
</script>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager runat="server"></asp:ScriptManager>
<div>
<a href="#" onclick="openwindow();return false;">Open window</a>
<br />
<br />
<Rad:RadWindowManager runat="server" DestroyOnClose="true">
</Rad:RadWindowManager>
</div>
</form>
</body>
</html>

<body>
<form id="form1" runat="server">
<asp:ScriptManager runat="server"></asp:ScriptManager>
<div>
<a href="#" onclick="openwindow();return false;">Open window</a>
<br />
<br />
<Rad:RadWindowManager runat="server" DestroyOnClose="true">
</Rad:RadWindowManager>
</div>
</form>
</body>
</html>

Best regards, Andrea Pirola
Georgi Tunev
Telerik team
 answered on 17 Nov 2010
1 answer
86 views
Hi

I have a radgrid with multiple custom filtering dropdowns.

I need to change the values in one of these dropdowns i.e. rebind to the datasource to get a subset of values based on the selection from the other dropdown.

Is this possible?  Example code is below.

ASPX

 

 

 

<custom:DepartmentFilteringColumn DataField="Department_Name" HeaderText="Department" AllowFiltering="true"

 

 

 

 

UniqueName="Filter_Department" DataType="System.String" AutoPostBackOnFilter="True" CurrentFilterValue="%" >

 

 

 

<itemtemplate>

 

 

 

<telerik:RadComboBox ID="radcomboDepartment" Runat="server" Skin="Telerik"

 

 

 

DataSourceID="dsDepartments" AutoPostBack="true" ShowToggleImage="True"

 

 

 

OnSelectedIndexChanged="radcomboDepartment_SelectedIndexChanged" DataValueField="ID"

 

 

 

DataTextField="Name" DataMember="DefaultView" MarkFirstMatch="True" Width="300px" EnableScreenBoundaryDetection="true">

 

 

 

<ExpandAnimation Type="OutQuart" />

 

 

 

</telerik:RadComboBox>

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle Width="100px"></HeaderStyle>

 

 

 

</custom:DepartmentFilteringColumn>

 

 

<custom:EmployeeFilteringColumn DataField="Responsible_Employee_Name_String" HeaderText="Employee Name" AllowFiltering="true"

 

UniqueName="Filter_Employee" DataType="System.String" AutoPostBackOnFilter="True" CurrentFilterValue="Unallocated" >

 

<itemtemplate>

 

<telerik:RadComboBox ID="radcomboEmployee" Runat="server" Skin="Telerik"

 

ShowToggleImage="True" MarkFirstMatch="True" Width="300px" EnableScreenBoundaryDetection="true">

 

<ExpandAnimation Type="OutQuart" />

 

</telerik:RadComboBox>

 

</ItemTemplate>

 

<HeaderStyle Width="100px"></HeaderStyle>

 

</custom:EmployeeFilteringColumn>

 


VB

Imports

 

 

Microsoft.VisualBasic

 

 

Imports Telerik.Web.UI

 

Namespace

 

 

Ims.DepartmentFilteringColumnNameSpace

 

 

 

 

Public Class DepartmentFilteringColumn

 

Inherits GridTemplateColumn

 

 


Protected
Overrides Sub SetupFilterControls(ByVal cell As TableCell)

 

 

 

 

Dim myDropDownListDepartment As New DropDownList()

myDropDownListDepartment.ID = 

 

"myDropDownListDepartment"

 

 

myDropDownListDepartment.Width = Unit.Percentage(100)

 

myDropDownListDepartment.AutoPostBack = 

 

True  

 

Dim myDataSource As New SqlDataSource

 

myDataSource.SelectCommand = "SELECT 0 AS ID, ' All' AS Name UNION SELECT ID, Name FROM Departments ORDER BY Name"

 

 

myDataSource.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings("IMS_Development").ToString()

 

myDropDownListDepartment.DataSource = myDataSource

myDropDownListDepartment.DataTextField = 

 

"Name"

 

 

myDropDownListDepartment.DataValueField = "ID"

 

 

myDropDownListDepartment.DataBind()

 

 

 

AddHandler myDropDownListDepartment.SelectedIndexChanged, AddressOf myDropDownListDepartment_SelectedIndexChanged

cell.Controls.Add(myDropDownListDepartment)

 

 


End
Sub

 

 

 

Protected Overrides Function GetFilterDataField() As String

 

Return Me.DataField

 

 

 

End Function

 

Protected Overrides Sub SetCurrentFilterValueToControl(ByVal cell As TableCell)

 

 

 

If Not Me.CurrentFilterValue Is String.Empty Then

 

    Dim myDropDownListDepartment As DropDownList = cell.Controls(0)

 

 

    If Me.CurrentFilterValue <> "" Then

 

 

        If Not IsNothing(myDropDownListDepartment.Items.FindByText(Me.CurrentFilterValue)) Then

 

 

        myDropDownListDepartment.Items.FindByText(Me.CurrentFilterValue).Selected = True

 

        End If

 

 

    End If

 

 

End If

 

 

 

 

End Sub

 

 

 

Protected Overrides Function GetCurrentFilterValueFromControl(ByVal cell As TableCell) As String

 


    Dim
myDropDownListDepartment As DropDownList = cell.Controls(0)

 

 

 

    Me.CurrentFilterValue = myDropDownListDepartment.SelectedItem.Text

 

 

 

    If Not myDropDownListDepartment.Items(myDropDownListDepartment.SelectedIndex).Value = "0" Then

 

        

Me.CurrentFilterFunction = GridKnownFunction.Contains

 

    

 

Else

 

 

        Me.CurrentFilterFunction = GridKnownFunction.NoFilter

 

 

 

    End If 

Return Me.CurrentFilterValue

 

 

 

 

End Function

 

 

Public Overrides Function SupportsFiltering() As Boolean

 

Return True

 

End Function

 

 

 

 

Public Sub myDropDownListDepartment_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs)

 

 

 

Dim GridFilteringItem As GridFilteringItem = sender.parent.parent

 

 

 

Dim dropdownlist As DropDownList = sender

 

 

 

 

 

GridFilteringItem.FireCommandEvent(

 

"Filter", New Pair(dropdownlist.Items(dropdownlist.SelectedIndex).Text, Me.DataField))

 

 

 

 

End Sub 
 

 

End Class

 

 

End 

 

 

Namespace

Pavlina
Telerik team
 answered on 17 Nov 2010
4 answers
89 views
Hi

I like the nested view model. However I am not a big fan of the small expand/contract button since I think it basically too small and might be a bit hard for the user to understand that it will expand the details for that record.

Is there a way I can allow the user to expand the row by clicking anywhere on it (possible with client-side selection).

Cheers,
Soeren
Soeren
Top achievements
Rank 1
 answered on 17 Nov 2010
1 answer
86 views

Hi All,

I am binding RADCHART from webservice,
The webservice returns  MONTH & Available services (%) for that month.
I use MONTH as a X axis data lebel and Available services as  Data YColumn.

My webservice retuns MONTH only when the services have data for that month, due to this i am not
able to show some months for which there are no data available for services (not getting from WS).

My need is to show those months also where services data are unavailable (without showing Available services data).

I am thinking to populate the WS data in the arraylist and binding with RADCHART, but how can proceed with this, that's difficulty iam facing rightnow.

Plz anybody help me on this.

naimish
Top achievements
Rank 1
 answered on 17 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?