Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
342 views
Hi,
I have a scenrio in which one child node can have mutiple parent nodes. Does OrgChart support multple parents? If no, can we expect this in future releases?
Nencho
Telerik team
 answered on 13 Oct 2015
3 answers
81 views

Hi,

 I've found an issue with the RadGrid, where the pager is showing the following buttons 1,2,3,4,5,6,7,8,9,10,...

 All these buttons are working correctly. When I click on '...', I then get the following list: ...,8,9,10,11,12,13,14,15,16,17

 The problem I'm having is that this second set of buttons is selecting the index from that list, so clicking '...' will go to the first page of results, '8' being the 2nd item in the list will go to page 2 etc. The control looks and behaves exactly as though one of the original options 1-10 had been selected and seems to correspond to the position/index of the selected button rather than its content.

 The relevant code snippet for the pager configuration is as follows:

<telerik:RadGrid ID="rgSearchResults" AllowPaging="false" AllowSorting="false" 
        PageSize="25" runat="server" AllowFilteringByColumn="false" ShowGroupPanel="False" 
        EnableLinqExpressions="False">
        <PagerStyle Mode="NumericPages" Position="TopAndBottom" AlwaysVisible="True" PageButtonCount="10"  />
        <ClientSettings>
             <ClientEvents OnMasterTableViewCreating="MasterTableViewCreating" />
            <ClientEvents OnGridCreated="OnGridCreated" />
        </ClientSettings>
        <MasterTableView AllowPaging="True" AllowSorting="True" PageSize="10" CommandItemDisplay="None" 
        DataKeyNames="ID" AutoGenerateColumns="False" ShowHeader="false">

 Please could you advise on how to fix this? I've updated to the latest version of the UI for ASP.NET AJAX code. I wonder whether I'm missing some property?

Thanks

Eyup
Telerik team
 answered on 13 Oct 2015
1 answer
202 views

I have a RadTreeView that call OnNodeClick event, and a textbox contain "YES" or "NO"

What i have to achieve is:

Can i disable OnNodeClick event and postback when the textbox contain "NO"??

can i achieve this using OnClientNodeClicking event to cancel OnNodeClick event like this?

thank you

Eyup
Telerik team
 answered on 13 Oct 2015
1 answer
90 views
RadSpreadsheet is throwing a javascript error when loading a spreadsheet file that has semicolons as argument separators in it's functions. I know the comma is the prefered separator, but a semicolon is much used in countries that use the comma as the decimal separator.
Bozhidar
Telerik team
 answered on 13 Oct 2015
9 answers
319 views
I have followed the info in http://www.telerik.com/community/forums/aspnet-ajax/grid/custom-aggregate-on-a-templated-column-with-grouping.aspx

it helps but doesn't get me quite where I need to be. I have a grid which I can declaratively group by at a couple of levels - bascially order lines within order reference within period. I have one column which is the currency equivalent for each line and this value is calculated in the ItemdataBound event.

I want either the Group Header or the Group Footer to show me the sum of this column and for the interim sums to also be shown - eg total value of each order reference at the innermost level and also total value of all orders in the period in the main group. Ideally if the user elects to drah and drop other groupings I would want the totals to be rolled up accordingly.

The sample code in teh forum msg above has two probs - one it seems to only work at the innermost level ie the outermost group header doesn't recursively sum everything below it. And two it seems to overwrite the group header text so any other useful text is lost to the label that is created in the code.

Is there any way to declaratively specify an aggregate on the template column?

T
Eyup
Telerik team
 answered on 13 Oct 2015
1 answer
99 views

Hi,

 I'm trying to use the Editor to give my users the ability to write a custom message template for an application, that will send notification upon certain events.

 

To give the users the ability to customize the notification-message, I'd like to have replaceable codes in the editor. Something like {User}, that will be replaced in the actual message with the current users name. The Editors Content is saved with these Codes and my application replaces the tags, when the message is sent.

 

Is it possible to change the Preview-Mode of the Editor, so I can replace this codes with data, so the user sees how the message will look like?

 

To summarize: Is it possible to change the content shown in the preview mode?

 

Thanks for your help.

Ianko
Telerik team
 answered on 13 Oct 2015
8 answers
1.4K+ views
Hi,

I use telerik components and Ajax.Net. I have a strange error when I click on the grid : Sys.InvalidOperationException: A control is already associated with the element.

<

asp:Content ID="Content1" ContentPlaceHolderID="cl" runat="server">

<asp:UpdatePanel runat="server" ID="upd1"><ContentTemplate>
// RAD GRID used here, inside the FlashInfoGrid  component.
</ContentTemplate></asp:UpdatePanel>

</

asp:Content>

 <

asp:Content ID="Content2" ContentPlaceHolderID="cb" runat="server">

<

asp:UpdatePanel runat="server" ID="upd2"><ContentTemplate>
// Control to display when I click on the Edit button of the RadGridView.
</ContentTemplate></asp:UpdatePanel>

</

asp:Content>

Maybe, the UpdatePanel doesn't ork very well with the RadGrid of Telerik ? Or maybe, I don't use the UpdatePanel correctly ? Maybe I should use the RadAjaxManager of Telerik ?

Thank you in advance,

Rahul
Top achievements
Rank 1
 answered on 13 Oct 2015
1 answer
50 views

I am adding nodes in the NodeExpand event to utilize LOD.  However, the treeview uses a NodeTemplate which is added in the OnInit and Page_load events.  But I cannot access the controls for the new node that I'm adding.  Do I need to add the node to the treeview first and reiterate through it to access the control?

 I need to access the controls to set a control to visible for the newly created node and to modify the node text.

JNG
Top achievements
Rank 1
 answered on 12 Oct 2015
6 answers
95 views

Hi

i have the following issue, i have a very basic page with a rotator on it.

but PauseOnMouseOver doesnt seem to be working, it simply wont pause on mouse over.

 i am using the latest version of telerik

 fyi the cdn bits is because i use a local version of it, but again thats the latest version.

 

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RotatorPage.aspx.cs" Inherits="EAP.popups.RotatorPage" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
    <link href="../site/css/Common.css" rel="stylesheet" type="text/css" />
    <link href="../site/css/Header.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        function OnClientItemsRequestFailed(sender, eventArgs) {
            var errorMessage = eventArgs.get_errorMessage();
            eventArgs.set_cancelErrorAlert(true);
        }
    </script>
</head>
 
<body style="background-color:white !Important;">
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnableEmbeddedjQuery="true">
            <CdnSettings TelerikCdn="Enabled" BaseSecureUrl="https://host/cdn/Scripts" BaseUrl="https://host/cdn/Scripts" />
        </telerik:RadScriptManager>
 
        <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" EnableStyleSheetCombine="False">
            <CdnSettings TelerikCdn="Enabled" BaseUrl="https://host/cdn/Skins" BaseSecureUrl="https://host/cdn/Skins" />
        </telerik:RadStyleSheetManager>
 
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
        </telerik:RadAjaxManager>
 
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Bootstrap">
        </telerik:RadAjaxLoadingPanel>
 
        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1" EnablePageHeadUpdate="true">
            <div class="rotator-container">
                <telerik:RadRotator ID="headlinesRotator" runat="server" ScrollDirection="Left" Width="500"
                    WrapFrames="true" FrameDuration="1" PauseOnMouseOver="true"
                    ScrollDuration="8000" Height="15" ItemHeight="15" ItemWidth="250"
                    CssClass="rotator">
                    <WebServiceSettings Path="../Services/EclipseService.asmx" Method="GetRotatorData" />
                </telerik:RadRotator>
            </div>
        </telerik:RadAjaxPanel>
    </form>
</body>
</html>


 

Vessy
Telerik team
 answered on 12 Oct 2015
1 answer
84 views

 

<asp:Panel runat="server" ID="panelAddUser" class="panel panel-primary">
      <div class="panel-heading">New User</div>
      <div class="panel-body">
        <div class="row">
        <div class="col-xs-4">
            <asp:TextBox runat="server" ID="txtUsername" CssClass="form-control input-lg" placeholder="Username" MaxLength="32" required="required" ValidationGroup="FormValidate" />
        </div>
        <div class="col-xs-4">
            <asp:TextBox runat="server" ID="txtPassword" CssClass="form-control input-lg" placeholder="Password" TextMode="Password" MaxLength="32" required="required" ValidationGroup="FormValidate" />
        </div>
        <div class="col-xs-4">
            <asp:TextBox runat="server" ID="txtConfirmPassword" CssClass="form-control input-lg" placeholder="Confirm Password" TextMode="Password" MaxLength="32" required="required" ValidationGroup="FormValidate" />
        </div>
        </div><!-- /.row -->
</div>
</div>
</asp:Panel>

 I have this panel and then below it i have another panel containing RadGrid control :)

When i click e.g. Edit or Delete imagebuttons in the Grid, i get the HTML5 validation errors from the panel panelAddUser. 

I tried CauseValidation but it didn't help at all (i kept getting those errors). 

Thank you

 

 

 

Maria Ilieva
Telerik team
 answered on 12 Oct 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?