Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
313 views
Hi
I have a grid that bind at client-side.
I want to have Sum of some column in footer. What i must to do?

Note: I'm set Aggregate="Sum" in column definition but when i run prj it show only Sum:

here is the code of column definition:
<telerik:GridBoundColumn HeaderText="ColumnTitle" DataField="FieldName" HeaderStyle-Width="15%"
    ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" Aggregate="Sum">
</telerik:GridBoundColumn>

and for binding i use this code:
var data = CallWebMethod(WebserviceUrl, Parameter);
var MasterTable = gv.get_masterTableView();
MasterTable.set_dataSource(data);
MasterTable.dataBind();

Eyup
Telerik team
 answered on 04 Feb 2019
3 answers
351 views
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
   <ClientEvents OnRequestStart="centerLoadingPanel" />
     <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="gridDpSummary">
         <UpdatedControls>
           <telerik:AjaxUpdatedControl ControlID="gridDpSummary" LoadingPanelID="RadAjaxLoadingPanel1" />
         </UpdatedControls>
        </telerik:AjaxSetting>
     </AjaxSettings>
</telerik:RadAjaxManager>
 
<telerik:RadCodeBlock ID="RadCodeBlock2" runat="server>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" IsSticky="true">
       <img src='/Content/images/ajax-loader.gif' >
    </telerik:RadAjaxLoadingPanel>
</telerik:RadCodeBlock>
I created an AjaxLoadingPanel to display a custom loading image. My problem is that the default one also pops up. how do I disable the default image? The default image in this picture is the Red loading image. I am trying to keep the blue one.

http://i53.tinypic.com/jrtqb4.jpg
Eyup
Telerik team
 answered on 04 Feb 2019
3 answers
410 views
Hello

The help file gives the following instructions on how to change the image of a rad loading panel

Change the image that displays in the loading panel.
RadAjax ships with a number of pre-defined animated "gif" images. Change the <src> tag path to one of the gifs in the installation directory: "\Telerik\RadControls for ASP.NET AJAX Q3 2008\Skins\Default\Ajax"

What if the telerik controls are not installed on our production server? How do you specify an image that is simply located in the images directory of your website? Failing that, how could you specify an image that was located in a folder for a custom skin

thanks
Eyup
Telerik team
 answered on 04 Feb 2019
8 answers
1.2K+ views
Hello,

I have 2 questions concerning the character count with a RadtextBox.

I need the character count of a multiline RadtextBox on client side dynamic when typing a text.
So i wrote a little function for this to get the  get_textBoxValue() length value, that is called by the onKeyPress event.

This works ok, except 2 things that i can't figure out.
1: The character count is also counting the line breaks, as a character, but the MaxLength of the RadTextBox doesn't.
Is there a way to not include the linebreaks with the length of the text?

2: The Backspace or Delete key, when used for deleting some text, is not firing any event at client side.
is there a way to get this keys or action, anywhere in a client side event?

thanks,

Marco

Eyup
Telerik team
 answered on 04 Feb 2019
10 answers
822 views
Using javascript, 

I need to get the value of a TextBox that's in a RadWindow when the user presses X Close button:

        function OnClientBeforeClose(sender, args) {
???how do I get the RadWindow1 TextBox1 value ???
        }

Reason is, I need to refresh the parent page based on that value after the user hits the X Close button.

How do I do that?
Thanks.
Marin Bratanov
Telerik team
 answered on 02 Feb 2019
13 answers
642 views
Hi,
I downloaded one of your demos for the radscheduler. I connected it to my database and it almost does the job I need it to do. Basically I'm trying to do schedule for my employees. So I don't necessarily need the subject box instead I would like to see the names of the employees working the shift. This is the demos that i'm using http://demos.telerik.com/aspnet-ajax/scheduler/examples/resources/defaultcs.aspx
I can have more than 1 employee working the same shift. Also I was wondering if it's possible to dynamically create the toggle button with the name of my employees coming from my database. Thank you in advance for all the help you can provide me.
densteini
Top achievements
Rank 1
 answered on 02 Feb 2019
4 answers
249 views
Hello, 

I have two tables and two RadSchedulers, one for employee availability and one for jobs that the employees work at. 

Lets say I have a job that is on the 15th from noon to 6pm, I want to get a list of all employees available in that time. Employees may have availability that is reccuring (example, they can work every monday from 9 to 5). 

So, with the RadSheduler control, how can I check if an employee is available on one scheduler, so that I may use it on another scheduler. (I mark availability by making an appointment with the subject "Available")
densteini
Top achievements
Rank 1
 answered on 02 Feb 2019
1 answer
97 views

Is there a way to do animated "smooth" transition between layers in RadMap?

Thank you

David
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 01 Feb 2019
1 answer
132 views

We have recently (2 days ago) upgraded our Asp.net application to latest Telerik UI for Asp.net Ajax 2019 version.

 

After upgrading , when RadContextMenu in RadGrid is opened, it is creating browser window scrollbars and aligned to right.

 

Can you please provide a fix for this?

Attila Antal
Telerik team
 answered on 01 Feb 2019
17 answers
1.0K+ views

PROBLEM
Error: Web.config registration missing! The Telerik dialogs require a HttpHandler registration in the web.config file.

My Web Config;

<modules runAllManagedModulesForAllRequests="true" >
      <add type="URLRewriter.ModuleRewriter, URLRewriter" name="ModuleRewriter" />
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" />
    </modules>
    <handlers>
      <remove name="WebServiceHandlerFactory-Integrated" />
      <remove name="ScriptHandlerFactory" />
      <remove name="ScriptHandlerFactoryAppServices" />
      <remove name="ScriptResource" />
      <remove name="ChartImageHandler" />
 
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
      <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />
      <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      <add name="ChartImage_axd" verb="*" preCondition="integratedMode" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" />
    </handlers>
<httpHandlers>
      <remove path="*.asmx" verb="*" />
   <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource" validate="false" />
      <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler" validate="false" />
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler" validate="false" />
        
    </httpHandlers>
Attila Antal
Telerik team
 answered on 01 Feb 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?