Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
124 views
The aim of the Telerik Support Forum is to provide all registered users a way to find answers to their questions before contacting Telerik. You can also use them to:
  • discuss coding techniques with fellow Telerik users
  • share your experience on the Telerik suite of controls
  • contact Telerik with a question
  • ask general questions, not related to Telerik controls
  • contact Telerik's MVPs
  • help other users.

A post in the Support Forums doesn't guarantee you a response from the Telerik support team although 95% of all posts are eventually answered. Additionally, a post is not assigned a response time as with the support ticketing system. In case you need a faster and precise response, please start a new support ticket as it gets higher priority than Forum posts.

Telerik strives to constantly improve its support services but it is essential to have full information so as to supply precise replies. It is important that you follow the guidelines below in order to receive an accurate response:

GUIDELINES TO USING THE SUPPORT FORUM

  1. You should have a valid Telerik account to post in the Forum. You can create one from the Registration page here. Anonymous names will not be allowed and such posts will not be answered or will be deleted.
  2. Use the relevant product forum to post your questions and comments. If your question relates to two or more Telerik products, you can post it in the RadControls section.
  3. File attachments are not supported. You can, however, paste a code snippet. If you think that Telerik needs to review your project and/or files, or that a screenshot is necessary, start a new support ticket.
  4. Describe your question in detail.
  5. State the development software you are using, including:
    • ASP.NET version
    • OS
    • exact browser version
    • exact version of the Telerik product
    • preferred programming language (VB.NET or C#)
  6. Provide step by step instructions on how to reproduce erroneous behavior.
  7. If applicable, send us the error you are receiving.
  8. Telerik reserves the right to use, reproduce and share the material you post within the forums.
  9. Telerik reserves the right to not participate in all posts.
  10. Telerik reserves the right to remove any messages that do not comply with these terms.


ENJOY!!!

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 17 Apr 2014
12 answers
872 views
I have a dynamically created tree view and I would like to add the functionality to Expand/Collapse all nodes via javascript.  All of the demos and posts i have looked at have the following: 
function treeExpandAllNodes() {
    var treeView = $find("<%= rtvMain.ClientID %>");
    var nodes = treeView.get_allNodes();
  
    for (var i = 0; i < nodes.length; i++) {
        if (nodes[i].get_nodes() != null) {
            nodes[i].expand();
        }
    }
}

However in my case i can not use the rtvMain.ClientID in  my functions.  Is there a way to accomplish this passing a variable into the function?  Everything i have tried throws an error saying some to the fact of .get_allNodes is not a member of null.  Please help.

Thank you.
Chris Salas
Top achievements
Rank 1
 answered on 17 Apr 2014
6 answers
796 views
Hello

How can we set a footer which is common for all columns in a  radgrid? The footer should be visible within the grid above pagination as shown in the figure.

Thanks in advance.
Maria Ilieva
Telerik team
 answered on 17 Apr 2014
2 answers
246 views
Hello everbody,

i am unable to configure my WCF WebService and RadTreeView Control to work together 'On Demand', and because i am absolutly new with WebServices, i have no clue what is the problem. Anybody can give me a hint? By the way, i strongly use the following Demo of Telerik: http://www.telerik.com/help/aspnet-ajax/treeview-load-on-demand-wcf.html and http://demos.telerik.com/aspnet-ajax/treeview/examples/programming/performance/defaultcs.aspx

myTopBarNavigation.svc

<%@ ServiceHost Language="C#" Debug="true"
    Service="xxxx.xxxx.layout.ISAPI.xxxx.xxxx.xxxx.myTopBarNavigation,SharePoint.Project.AssemblyFullName$" 
    CodeBehind="myTopBarNavigation.svc.cs"
    Factory="Microsoft.SharePoint.Client.Services.MultipleBaseAddressWebServiceHostFactory,
    Microsoft.SharePoint.Client.ServerRuntime,
    Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

myTopBarNavigation.svc.cs

namespace kibp.nordlb.layout.ISAPI.kibp.nordlb.layout
{
     class NodeData
    {
        private string text;
        public string Text
        {
            get { return text; }
            set { text = value; }
        }
    }
 
    //[BasicHttpBindingServiceMetadataExchangeEndpoint]
    [ServiceContract]
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
    class kibpTopBarNavigation
    {
         [OperationContract] 
        public IEnumerable GetNodes(RadTreeNodeData node, IDictionary context)
        {
            int numberOfNodes = 100;
            List<NodeData> nodes = new List<NodeData>();
            for (int i = 0; i < numberOfNodes; i++)
            {
                NodeData nodeData = new NodeData();
                nodeData.Text = "Node " + i;
                nodes.Add(nodeData);
            }
             return nodes;
        }
    }
}

Error Message @Fiddler:

HTTP/1.1 500 System.ServiceModel.ServiceActivationException

P.s.: The Request looks like this:


and tries to send the following Data:

{"node":{"Text":"Root Node","Value":null,"Key":null,"ExpandMode":3,"NavigateUrl":null,"PostBack":true,"DisabledCssClass":null,"SelectedCssClass":null,"HoveredCssClass":null,"ImageUrl":null,"HoveredImageUrl":null,"DisabledImageUrl":null,"ExpandedImageUrl":null,"ContextMenuID":"","Checked":false},"context":[]}




Hristo Valyavicharski
Telerik team
 answered on 17 Apr 2014
3 answers
97 views
Hi

    x axis values are overlapping in my chart,My values will be come simultaneously Once max value will be 50 another time it will be 5000
    Its difficult to set range in chart Is there any solution for this


Thanks,
Santhosh
Shinu
Top achievements
Rank 2
 answered on 17 Apr 2014
1 answer
303 views
hello,
i have a radgrid with detailtables ,

detailTable has "GridEditCommandColumn"  and another "GridTemplateColumn" that contains linkbutton to remove row ,

<MasterTableView DataKeyNames="FEATURE_ID">
             <Columns>
                 <telerik:GridBoundColumn DataField="FEATURE_ID" UniqueName="FeatureID" ></telerik:GridBoundColumn>
             </Columns>
 
             <DetailTables>
                 <telerik:GridTableView ShowHeader="true" CommandItemDisplay="Top"
                     SkinID="RadGridSkin" Width="100%" runat="server" Name="Fees"
                     EditMode="InPlace">
                     <Columns>
                         <telerik:GridEditCommandColumn></telerik:GridEditCommandColumn>
                        
                         <telerik:GridBoundColumn DataField="FEE_TEMPLATE_ID" UniqueName="FeeID"></telerik:GridBoundColumn>
 
                         <telerik:GridTemplateColumn UniqueName="DeleteFee">
                             <ItemTemplate>
                                 <asp:LinkButton ID="RemoveFee" runat="server" CommandName="RemoveFee" Text="RemoveFee" ImageUrl="../../../images/cancel.png" ToolTip="<%$Resources:Strings,remove  %>" />
                             </ItemTemplate>
                         </telerik:GridTemplateColumn>
                     </Columns>
 
                 </telerik:GridTableView>
             </DetailTables>
 
         </MasterTableView>

in code behind in itemCommand event : 
dataSource of radgrid is updated and Datable.acceptchanges() is called ;

how to rebind only the detailTable where changes have occurred ??



Princy
Top achievements
Rank 2
 answered on 17 Apr 2014
4 answers
166 views

Hi,

On template item, I have a few controls related RadToolTipManager that is be done on ItemDataBound however if I have added a new item, ajax and rebind the list it does not invoke ItemDataBound.  (_NeedDataSource is implemented)

Can I implement UserControl into InsertItemTemplate and EditItemTemplate?   How can I find its control ID?


May I have your suggest?

Cheers,

Duy
Duy
Top achievements
Rank 1
 answered on 17 Apr 2014
1 answer
97 views
Currently have a radgrid containing phone contact information that I populate with data from the database.  What I would like to append to that same grid is more static data (ie phone extensions to various rooms around the building).  Is this even possible to add these additional rows after binding with SQL data?

Attached is what I am trying to accomplish. 

Have a Row of data be the text "Extensions" that spans all the columns and then add a second dataset which contains the various rooms and their extensions. 

Thank you
Eyup
Telerik team
 answered on 17 Apr 2014
3 answers
91 views
Hi telerik ,
in my project  which like transfer employees example demo , I use remove concept
at ajaxrequest event on server before I remove node from chart i have a condition if it true i can remove the node, else i must return a message(eg:"this node can't remove") , how I can do that ? i try to use hiddenfield but it does't work correctly 

thank you 
Shinu
Top achievements
Rank 2
 answered on 17 Apr 2014
4 answers
116 views
Watched a telerik video recently where the presenter demonstrated RadPageLayout and responsive web page design by slowly reducing the size of his Chrome browser window while viewing the telerik website. At each viewport breakpoint the page reconfigured responsively as expected. Tried this with my 
Chrome browser and it worked for me too; but not when using the IE8 browser (telerik web page just truncates). Since telerik supports IE 6+ should I be seeing the same behavior in IE8 as in Chrome?
Ivan Zhekov
Telerik team
 answered on 17 Apr 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?