Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
220 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
98 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
107 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
109 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
9 answers
194 views
Hi,

Is it available in the latest version? OR when will it become available?

thanks,
Vincent
Pero
Telerik team
 answered on 17 Nov 2010
7 answers
309 views
When I am going to deleting one of the event  in the series of recurrence .
it is deleting all the events in the series.
How to delete one particular event in the series.

can u give me some example or videos  how to delete only particular event in the serious.
how to save the events when you using recurrence rule.

we are not using built in add events pop-up. manually we are inserting recurrence events using your recurrence rule.

can u please help how to solve this problem.


Shashi....
shashidhar ch
Top achievements
Rank 1
 answered on 17 Nov 2010
3 answers
209 views
Hi,
I'm adding items to a Rad List Box that is placed inside of a fieldset (its actally a Panel with a GroupingText), when items are added the fieldset expands in height.
The problem is that the right and left hand borders of the decorated fieldset remain the same height (including the rounded corners) and are vertically centered.
I'm seeing this in IE7 & 8 - FF is ok

Thanks
Bozhidar
Telerik team
 answered on 17 Nov 2010
11 answers
229 views
Hi

I have a grid on a page which generates data from sql database table.

there is 2 columns "Fields" in this table
StartDate and EndDate
on both i am using RadCalender
User1 will choose the StartDate from Calender and User2 will choose EndDate also from Calender..

what i want is...for User2 i need the RadCalender default date same as StartDate.. how to do that.

Thanks

grand lorie
Top achievements
Rank 1
 answered on 17 Nov 2010
4 answers
127 views
Hi,

I've noticed that any scrollbars that are normally styled by formdecorator in IE, FF seem to be getting missed in Chrome.

Will this be corrected now that Chrome is officially supported?

Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 17 Nov 2010
1 answer
93 views

I'm using radgrid to load data from more than one table.For example
I have following columns in radgrid.
|Product ID|Product Name|..|Number of Users| .Here to get the "Number of users" ,i need to go through huge talbe and want to do big calculation.Mostly i'm getting time out when i load this page.Is there any way to load others columns datas first.Then load that "Number of users" column ?
Dimo
Telerik team
 answered on 17 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?