Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
250 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
122 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
380 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
125 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.5K+ 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
69 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
124 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
129 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
1 answer
102 views

I have a textbox and a search button and a RadGrid which was already bound data to by OnNeedDataSource event. When I click search button, it will get the new data and I Rebind() that data on search button click event. But when I change page number on the grid, the datasource was not the datasource I've already Rebind().

Please help, it's urgent.

Thanks and Best regards.

Maria Ilieva
Telerik team
 answered on 12 Oct 2015
1 answer
127 views

I have some asp text box in each of one i use a property call required like this 

1.<asp:TextBox runat="server" ID="TxtCorreoVal" CssClass="form-control" required>

and in the css i use this, i upload an image of how it looks in a normal textbox i want use the same functionality on RadDatePicker and RadComboBox

how can i do this

01.input:required:invalid, input:focus:invalid {
02.    background-image: url(../imagenes/required.png);
03.    background-position: right top;
04.    background-repeat: no-repeat;
05.    -moz-box-shadow: none;
06.  }
07.  input:required:valid {
08.    background-image: url(../imagenes/Ok.png);
09.    background-position: right top;
10.    background-repeat: no-repeat;
11.  }

 ​

 Thank for your time

 

Konstantin Dikov
Telerik team
 answered on 12 Oct 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?