Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
176 views
Hi,

Issue is that when there is RadComboBox inside update panel, memory leak occurs, same as if there is a TreeView control with context menus (this is important) enabled. Below I provide a link to a tool I used to profile, also a link to stand-alone web app project that reproduces the issue. Once the radcombobox is commented out and I remove context menus template from treeview - memory leak doesn't occur anymore. I'm using latest controls 2010.3.13.17.40 and web app is asp.net 4.0

Project details: you might need to add reference to Telerik.Web.UI.dll. (project is messy, cause it's a testing sandbox, also it's set up to run on my IIS 7.5 as localhost:1234 <- you will need to change this)

Next, profile (click some buttons, do drag'n'drop treeview elements) the page with given tool, you will see leaks count and browser memory consumption will be constantly increasing.

How to stop leaking:
go to: MainHeader.ascx and fully comment out <telerik:RadComboBox ID="ddlOwnProjects" runat="server"
then go to: Default.aspx and comment out <ContextMenus> for <telerik:RadTreeView ID="tree" runat="server"

rebuilt site, restart profiling application (totally restart to reset #leaks), click on buttons, try drag'n'drop tree items - #leaks - will remain 0.

I'm developing fully ajaxified asp.net 4.0 application and leaks there increase ~100-200 objects per single postback, slowly-slowly browser starts consuming more and more memory.

Please verify this and let's find the solution.
Thank you!

Link to the web app: leaking project
IE Sieve from http://home.orange.nl/jsrosman/

P.S.: would be great to have opportunity to upload zip files directly here
Simon
Telerik team
 answered on 07 Jun 2011
3 answers
119 views
Hi All,

It is possible to change RadTabStrip tabs(tab head(whole click area)) to image. If possible how to make it?

Regards,


Kate
Telerik team
 answered on 07 Jun 2011
4 answers
275 views
Hi,

I just tried to populate the RadTreeView control dynamically from code behind using a custom user control added to each Node item and I am curious with the non-persistence state of the Node item data during the Page PostBack. My Node item seems to keep missing from the TreeView everytime the Page is posting back.

For background information, I did not use the DataBinding method and had to manually added the Node item into the TreeView as the database structure that I had does not have the parent-child relationship defined in one table, instead I have to go to three different database tables to link them together in order to get the parent-child relationship for building the TreeView.

I've set the EnableViewState properties of both the RadTreeView and every node item contained in that TreeView but the node item still keep missing. I can repopulate the node item in the TreeView every PostBack event to keep the Node item there, but that means I will loose the event information especially the Drag-N-Drop event.

The situation does not happen if I don't use the custom user control, but I will need the custom control as the standard Node item style does not suit my needs.

Is there anything that you can suggest to me to solve this issue?

Regards
Plamen
Telerik team
 answered on 07 Jun 2011
5 answers
79 views
I have a RadGrid that will have 0 or more individual rows editable at any time.

I am setting EditMode in the NeedDataSource event with the line

    RadGrid1.EditIndexes.Add(i);

for each appropriate row.

However, if the user sorts the rows, the rows are reordered but the EditMode status of each row does not follow the data.  If row 3 was editable, then row 3 is still editable even though it has different data in it.

I tried moving RadGrid1.EditIndexes.Add(i) to different events and nothing worked.

I noticed that the only two events that I can find that occur after the actual sorting is ItemCreated and ItemDataBound.  In those events, neither RadGrid1.EditIndexes.Add(i) or e.Item.Edit = true cause IsInEditMode to be true in ItemDataBound.

How can I set the EditModes correctly on rows after sorting has been done?

 

Tsvetina
Telerik team
 answered on 07 Jun 2011
2 answers
248 views
Hello Telerik,

My requirement is that i need tool tips with rounded corners to be put on my project. The current tool tips have a square/ rectangle border and there seems to be no skin with a rounded rectangle border.

Could you please help me.

Regards,
Ayshwarya
Marin Bratanov
Telerik team
 answered on 07 Jun 2011
3 answers
111 views
Hi,

I am using RadTextbox in our application . I have a Radwindow on which we can add user. The problem is that a linkbutton on that window is used to generate password .User can edit the system generated password and can save it. For example: if the system generated a password ‘YYUTRE’. Now user modified the password to ‘YYUTREQWE’. System will display all the characters of the password which are system generated and all the manually entered characters as hidden.For example: If the user clicks on ‘Generate Password’ and system generates ‘YYUTRE’ and then user adds ‘YTU’ to it. Then the password will look like YYUTRE●●●.  I want to achieve this functionality . Please suggest how can I make the RadTextbox TextMode both text and password.


Thanks,
Rahul
Tsvetina
Telerik team
 answered on 07 Jun 2011
1 answer
63 views
Hi all,

When I added some controls to the panelbar, say textbox (regular or radTextBox),
The item's ID are not recognized - no Item is recogzined.

any ideas?

Thanks!
Princy
Top achievements
Rank 2
 answered on 07 Jun 2011
2 answers
83 views
Hello,

I've created a portal page much like the one from this example:

http://demos.telerik.com/aspnet-ajax/dock/examples/myportal/defaultcs.aspx

My problem is that I have one particular dock with a dynamic user control containing a RadListView. I've set AllowPaging = true and created the Paging mechanism as such in my LayoutTemplate:
<div style="float: left; margin-left: 30%;">
    <asp:Button runat="server" ID="btnFirst" CommandName="Page" CommandArgument="First"  
             Text="First" Enabled="<%#Container.CurrentPageIndex > 0 %>" Font-Size="10px" />
    <asp:Button runat="server" ID="btnPrev" CommandName="Page" CommandArgument="Prev"
             Text="Prev" Enabled="<%#Container.CurrentPageIndex > 0 %>" Font-Size="10px" />
    <span style="vertical-align: top; position: relative; top: 4px">Page
            <%#Container.CurrentPageIndex + 1 %>
             of
             <%#Container.PageCount %>
   </span>
   <asp:Button runat="server" ID="btnNext" CommandName="Page" CommandArgument="Next" Font-Size="10px"
            Text="Next" Enabled="<%#Container.CurrentPageIndex + 1 < Container.PageCount %>" />
    <asp:Button runat="server" ID="btnLast" CommandName="Page" CommandArgument="Last" Font-Size="10px"
              Text="Last" Enabled="<%#Container.CurrentPageIndex + 1 < Container.PageCount %>" />
</div>

My problem is that the paging isn't working as in the example. In the example you have a datasource from a .rss, but in my code I am linking the datasource to a List<T> type. I also noticed that every time i press 'next' or 'prev' it triggers the page_load or onneeddatasource methods which recreate and bind the data again...so maybe this is whats causing the issue. But I don't know how to get around to this. I tried using Page.Ispostback in my user Control but fail to get the correct postback because it is getting the state of the Parent page's postback and not the usercontrol's.
Does anybody know how to set up paging correctly in this scenario?

Thanks!
Pero
Telerik team
 answered on 07 Jun 2011
1 answer
108 views
I am using Telerik on my page ..now i need password strength Control i got it fro asp ajax when i change the script Manager From RAd script Manager to toolkit script Manager it shows me Js Error.Below
Error: Sys.ArgumentNullException: Value cannot be null.Parameter name: panelsCreated[6].Send me the solution as soon as possible
Vasil
Telerik team
 answered on 07 Jun 2011
4 answers
167 views
Hi,
Is it possible to style header of columns in excel in ExcelExportCellFormatting event?
I have to add border to the first row with column name in excel.
wnl
Top achievements
Rank 1
 answered on 07 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?