Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
193 views

Hello all,

I don't know if this is allowed to be shared here or not.  If not, please let me know how I can share this with the community if you can.

I spend a lot of time creating FormViews in Visual Studios for CRUD operations.  This video shows you how to use the attached Macros with NotePad++ to automate most of the otherwise tedious re-design from the default FormView created by VS.

It will convert: 

  1. asp:Textbox to telerik:RadTextBox
  2. asp:Label to telerik:RadLabel
  3. asp:Button to telerik:RadButton

It will also either Table or Bootstrap the controls.

I hope you all find this as useful as I have.

Link to YouTube Video and Macros

Rumen
Telerik team
 answered on 04 Feb 2019
7 answers
252 views
Hello,

Is it possible to prevent a user from deleting a certain element in the editor, for example a div with id "placeHolder_something".
The way i think of it, is either by disabling events on that certain div, or detecting pressed keys corresponding to delete and check if the element is going to be deleted.
My goal is to have a template loaded in the editor, and i don't want a user to delete place holder element in the template.
How can i achieve this?

Thanks you
Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
 answered on 04 Feb 2019
3 answers
257 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
314 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
334 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.1K+ 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
752 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
577 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
202 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
59 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
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?