Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
55 views
Our company has been working on a new project site that will be mostly used via Ipad and we want to use the TreeView control, has anyone done something with this control targeting mobile devices? We will be using the TreeView to navigate thought screens that will allow input and also some color changes to the control.


Thank you
Simon
Telerik team
 answered on 07 Jun 2011
1 answer
58 views

Hi folks:
Today, i'm trying to get a VS2010 C# Sharepoint 2010 Webpart project (Windows 7 Pro 64-bit with Sharepiont 2010 installed locally for development) to be able to utilize the radpanelbar control.

In Vs2010 in my proejct, i'm able to set a reference to the Telerik.web.ui.dll and telerik.web.design.dll (add->refernce->browese->navigate to C:\Program Files (x86)\Telerik\RadControls for ASP.NET AJAX Q1 2011\Bin35.

I use the TOOLS in my vs2010 IDE to add the radpanelbar to my project. it adds a reference as follows:

 

 

<%

 

@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

 

 

 

 

it compiles well no errors or warnings. i deploy, no issues.
I create a new sharepoint page and at this new visualwebpart1 to this page. it throws an error.:

Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified.

I searched online for several hours, and Here’s ultimately the links I followed:

 

http://www.telerik.com/help/aspnet-ajax/moss-deploying-radcontrols.html

 

 

 

 

and

 

 

 

 

 

http://www.telerik.com/help/aspnet-ajax/moss-replace-sharepoint-quick-launch-menu-with-radpanelbar.html

 

 

 

 

I still get the same error from sharepoint, so i was unable to get this issue resolved.

 

 

 

 

 

 

 

As of right now, I have the Telerik.Web.UI and Telerik.Web.Design properly showing up in c:\windows\assembly

 

 

 

So the controls are registered in the GAC on my machine.

 

 

 

I removed the telerik DLLs from the Sharepoint BIN folder C:\program files\common files\microsoft shared\web server extentions\14\bin (I origially tried putting them here thinking they needed to be there fromn another blog i had followed to try to resolve this).

 

 

 

The assemblies are just in the GAC.

 

 

 

I also followed the above first link and tried setting the web.config with the myriad of settings it has you follow.

 

 

 

That file is:

 

 

 

C:\program files\common files\microsoft shared\web server extensions\14\config\web.config

 

 

 

There’s a ton of settings the first link above has you make.

 

 

 

Then I used sharepoint designer 2010 to edit the local sharepoint site, and modified the default.master master page as the second link instructs you to do by addeing the <@register with the telerik assembly reference

 

 

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI, Version=2011.1.413.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" %>


My project compiles. tje radpanelbarworks in VS 2010 in design time. But I get the same error when browsing to a page with the web part added.

 

 

 

I’m sure I’m erally close. It’s probably something really stupid now.

i could really use some help figuring out why i get the error when browsing to the page with the web part added. the correlationID when referened in the log file for sharepoint basically says it can't find telerik.web.ui file or dependencies. it's not very helpful.

can someone offer some insights on how to overcome this?

thank you.

Kalina
Telerik team
 answered on 07 Jun 2011
6 answers
161 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
104 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
243 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
76 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
217 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
100 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
57 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
75 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?