Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
89 views
Hi,
I have modified ToolsFile.xml to enable a custom tool.
Any advice on how to localize the text of the tool?
Seems you have localized texts and unlocalized texts (or am I simply unable to find the localization of e.g. SPTemplateManager)

Best,
Nils
Rumen
Telerik team
 answered on 30 Nov 2012
1 answer
88 views
I am using the latest version of your ASP.Net RadTreeView control.  I have a 5-level hierarchy that looks like this: http://mwtech.com/downloads/public/PassesEditor.jpg

The top 4 levels are uneditable in this editor.  Its sole purpose is to allow the addition of one or more bottom-level nodes (highlighted in blue).

So I added such a node - "Orepass #1", left the module, and returned to it.  My code preserves the data.  I then started opening successive levels in the treeview.  Each of the top 4 levels is added on-the-fly via server-side code.  Each of the nodes on these top 4 levels has its ExpandMode = TreeNodeExpandMode.ServerSideCallBack.

The bottom-level nodes do not define ExpandMode in any way.

What happens is that the first time I enter any particular branch and click on a bottom-level node, its parent unexpectedly collapses.  I've searched my code and don't believe it is causing this to happen.  Furthermore, when you click on a bottom-level node in the same branch a 2nd or 3rd or Nth time, this strange behavior no longer occurs.

I'm convinced I've seen this problem before but have examined all of my past postings on your forum and can't find any specific mention of it.

Any ideas what might be causing this?

Robert

P.S. I *think* my problem may be similar to this: http://www.telerik.com/community/forums/aspnet-ajax/treeview/when-nodeclick-parentnode-has-collapsed.aspx
Boyan Dimitrov
Telerik team
 answered on 30 Nov 2012
5 answers
139 views
Hi,

I´m building a master/content page with a treeview for navigation to the left and then clicking on nodes, different usercontrols are loaded (visible true/false) in the content pane. When data has been updated in the content user control, the treeview nodes text should be changed. For example when I click a "department" node, the different textboxes for the department is loaded to the right. If the name was changed, the treeview node text should be updated.

Today I do this with events from the UserControl but it seems like a lot of overhead (using AJAX) for just updating the text-property of the treenode. So Im tryiing to achieve this using Client-Side code. The problem is that I dont know how to reach the selected node from javascript inside the UserControl. If I when the save button is clicked calls a method (javascript) in the main page. But that method cannot reach the textbox in the user control instead.

Help is much appreciated.

Nencho
Telerik team
 answered on 30 Nov 2012
1 answer
271 views
Has anyone found the best way, when using a radgrid, to have the "add new record" page popup in a lightbox type screen overlay?  Perhaps the asp popupmodal?

I found a tutorial that is dead on, but way outdated here: here


Ok, so after working all day on getting the window popup to work when the user clicks the edit/double click/add new record, I ran into another problem.  I can't seem to get the ID from the dataitem of the e argument.

So here's the code (from the tutorial above.  The tutorial works, but not my project)

protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e)
    {
        if (e.Item is GridDataItem)
        {
 
         
            HyperLink editLink = (HyperLink)e.Item.FindControl("EditLink");
            editLink.Attributes["href"] = "#";
            editLink.Attributes["onclick"] = String.Format("return ShowEditForm('{0}','{1}');", e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["jobID"], e.Item.ItemIndex);
        }
    }

When I use the path  e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["jobID"] there is nothing there.  I can see that the jobID is 
at the path  e.Item.DataItem, all the columns are listed there, but I can't access them.  e.Item.DataItem.jobID doesn't work like I think it should.  The only thing is I am using a sql database, and the tutorial is using access.  That must be the difference.  I changed the access database in their tutorial, and it doesn't work.


Eyup
Telerik team
 answered on 30 Nov 2012
2 answers
52 views
Is it possible when using a multi-level hierarchy grid to apply a different skin to the Deail Tables defined in the <DetailTables> section so they stand out more and are styled differently than the master table?  I have been working with a custom skin but I am not having a lot of luck finding a way to apply style only to the Detail Tables and not the Master Table - is this possible?
Brian
Top achievements
Rank 1
 answered on 30 Nov 2012
7 answers
89 views
Hello,

I am having an issue with items that have too long of names to fit on one line of the RadPanelBar.  If you hover over one of these items, the first problem is only the first line is highlited.  The second problem is after clicking the item, the second line disappears all together.  I have included an example of code that will cause this problem below.  Expand the "Items" item, then the "Child Item" and the next item will have the issue.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
<head runat="server"
    <title>Untitled Page</title> 
</head> 
<body> 
    <form id="form1" runat="server"
        <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
        <div> 
            <telerik:RadPanelBar ID="RadPanelBar1" runat="server"
                <Items> 
                    <telerik:RadPanelItem runat="server" Text="Items"
                        <Items> 
                            <telerik:RadPanelItem runat="server" Text="Child Item"
                                <Items> 
                                    <telerik:RadPanelItem runat="server" Text="An Item with a long enough name to need 2 lines"
                                    </telerik:RadPanelItem> 
                                </Items> 
                            </telerik:RadPanelItem> 
                        </Items> 
                    </telerik:RadPanelItem> 
                </Items> 
            </telerik:RadPanelBar> 
        </div> 
    </form> 
</body> 
</html> 
 


Thank you in advance,
Ben
Kate
Telerik team
 answered on 30 Nov 2012
1 answer
104 views
I have a RadMenu that displays a content that is loaded dynamically.
The menu configuration is as follows:
I need the EnableRootItemScroll as the menu can get bigger than the allowed page width so scrolling solves this issue.
It creates another more serious one though:
When viewing the menu in IE and Firefix the menu appears as it should be:
All root options in one line and all the submenus under their parent option, one under the other with no wrapping whatsoever.
In Chrome and Safari though all the submenus appear under theur parent option but not one under the other, but in one line.
In IE and Firefox i get this :

Account (root item)
    Overview
    Statement
    Details
    Request Statement


while in Chrome and Safari for the same menu i get the following:
Account (root item)
    Overview    Statement    Details    Request Statement


The same thing happens for all root items.
If remove the EnableRootItemScroll i get the same results in ALL browsers, which is not an option as the menu can get big in specific cases and it will cause a second line to appear.
Please help.
<telerik:RadMenu ID="RadMenu1"  runat="server" Flow="Horizontal" Width="480px" CssClass="radMenu" EnableRoundedCorners="true" EnableRootItemScroll="true">
    <ExpandAnimation Type="Linear" Duration="450"></ExpandAnimation>
    <CollapseAnimation Type="Linear" Duration="450"></CollapseAnimation>
</telerik:RadMenu>
Boyan Dimitrov
Telerik team
 answered on 30 Nov 2012
1 answer
84 views
Hi,
     How to change the heading of the textbox in editform. Iam using the editform type as edit mode.
thanks
Allen
Shinu
Top achievements
Rank 2
 answered on 30 Nov 2012
4 answers
403 views
Hi,
I have one user control, say test.ascx, I am refering this user control in 2 aspx pages. In one aspx page, i am calling this user control inside the rad grid EditFormSetting tag.
In this case can I identify from the code behind wether this user control is calling inside the Editform setting tag or not ?
Eyup
Telerik team
 answered on 30 Nov 2012
1 answer
199 views
Please how can I change the color of the bars of the telerik barchart.

Thanks.
Shinu
Top achievements
Rank 2
 answered on 30 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?