Telerik Forums
UI for ASP.NET AJAX Forum
11 answers
1.4K+ views
I realize this may sound like a slightly strange question, but I was wondering if it is possible to show 00:00-24:00 in the TimePicker. At the moment, I cannot find anyway to include both 00:00 at the beginning and 24:00 at the end. I have a scenario where I need this for a client, and I was hoping to be able to accomplish it with the Rad TimePicker rather than the drop-down lists I inherited from the previous developer.
Eyup
Telerik team
 answered on 19 Aug 2016
1 answer
608 views

Hi, All.  I am trying to find a radeditor control that's inside a RadGrid Form Template.  I have tried so many methods, and nothing seems to be quite grabbing the item. Could someone please help me?  I need to get to the content of the editor.  This is the current path I am on:

ASP.NET

            <EditFormSettings EditFormType="Template">
                <FormTemplate>
                <div style="margin: 20px 20px 20px 20px;">
                    <h3>Accept / Reject Authorization</h3>
                    <br />
                    <span style="color: Red;">Note:</span> Provide comments to the authorizing entity then click Accept or Reject.
                    <telerik:RadEditor ID="Editor1" runat="server" OnClientLoad="OnClientLoad">
                        <Content> </Content>
                    </telerik:RadEditor><br />
                    <asp:CustomValidator ID="CV1" runat="server" ErrorMessage="Comments are required!<br />" ControlToValidate="Editor1" ForeColor="Red" Display="Dynamic" ClientValidationFunction="CheckComment"></asp:CustomValidator>
<%--                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Comments are required!<br />" ControlToValidate="Editor1" ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>--%>
                    <telerik:RadButton ID="AcceptAuthorization" runat="server" Text="Accept" Icon-PrimaryIconCssClass="rbOk" CommandName="Update" CommandArgument="Accept"></telerik:RadButton>      
                    <telerik:RadButton ID="RejectAuthorization" runat="server" Text="Reject" Icon-PrimaryIconCssClass="rbCancel" CommandName="Update" CommandArgument="Reject"></telerik:RadButton>      
                    <telerik:RadButton ID="CloseButton" runat="server" Text="Cancel" CommandName="Cancel" CausesValidation="False"></telerik:RadButton>
                         </div>
                </FormTemplate>
            </EditFormSettings>

Javascript:

<script type="text/javascript">
 
             function CheckComment(sender, args) {
                 alert("Hi!");
                                 
                 var ec = $telerik.findControl(container, "Editor1")
 
                      //more to come once I get past this step.           
                                args.IsValid = false;
           
                            }
 
                           </script>
  Thanks in advance!

GP
Top achievements
Rank 1
 answered on 18 Aug 2016
5 answers
134 views

Hi All,

I am totally new to Telerik controls, this is my first assignment with them and I have an issue.

No matter what I put in the editor it looses all carriage returns, shows a bullet and number in the editor but after save on the HTML page it looks like this.

$0$0Bullets$0$0$0$0$0Numbers$0$0$0$0Bold$0$0Italics$0$0Underlined$0$0$0$0 (the Bold was bolded, the Italics was italicized and the underline was underlined), but it inserts these '$0$0' before and after each item.

Does anyone have a clue what is going on, perhaps it is the AJAX Script Manager on this page, there is not a Telerik one?

I do not see any methods or .css causing an issue, I could be wrong though.

ASP.NET:

<telerik:RadEditor ID="txt_answer" Width="580" Height="250" runat="server" EnableContextMenus="True"
EnableTheming="True" ToolsFile="~/App_Data/ToolsFile.xml" EnableResize="false"
ShowSubmitCancelButtons="False" Skin="Telerik">
<cssfiles>
<telerik:EditorCssFile />
</cssfiles>
</telerik:RadEditor>

Michael
Top achievements
Rank 1
 answered on 18 Aug 2016
4 answers
146 views

Hi,

When renaming a tree node, the theme works well for IE but for Chrome + Opera it doesn't highlight properly (users get confused because it appears the rename is not working) - see the screenshots

 

Al
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 18 Aug 2016
4 answers
177 views
How do you change the text of the tooltip for the BoxPlotSeries?  We use the terms P10, P25 etc.  The q1, and lower terms would not be understood by the customer in this application.
Vessy
Telerik team
 answered on 18 Aug 2016
1 answer
110 views

Hello All,

I need to add the Details Table section again and again till the result table is empty.

like 

Main Table 

Mcol1 Mcol2 Mcol3

--- DetailsTable

     Dcol1 Dcol2 Dcol3

     --- Dcol1.1 Dcol1.2 Dcol1.3

         ---Dcol2.1 Dcol2.2 Dcol2.3

 

whats the best way to do these structure, the depth is always depends on the result output.

 

Many Thanks

Amjath

Amjath
Top achievements
Rank 1
 answered on 18 Aug 2016
14 answers
571 views
Dear Sirs!

EnableAutomaticLoadOnDemand

 

property is new in Q1 2010. I use SP2 of it. I cannot find suitable example.
I need use it in 2 scenario (in both I have big amount of the data: ~2500-2600 items):
1. Standalone combo. It is loaded when Page_Load event
   1.1. Not initial item. The user searched needed item from whole data.
   1.2. There is initial item and it has to be shown in initial loading. After the user has to have the possibility to change this item to another one when seraching between all the items.
I get the message like "cannot find teh item. The index is out off  boundary" 

2. The combo box is in Edit form of RadGrid. The type of Editform is Template.
  2.1. The form is in inserting mode - also the user has to search needed item.
  2.2. The form is in editing mode. The combo box is set to needed item and the user has to have the possibility to change this item to another.
I get the message like "incorrect callback".
Where is correct place to load the data in the combo box?

Thank you very much in advance.
Boris

Guss
Top achievements
Rank 2
Veteran
 answered on 18 Aug 2016
1 answer
78 views

I'm having a very intermittent problem with two list boxes with "allow transfer" enabled. The first time the page loads, sometimes, the left side list box with all the selectable items overflows the bottom of the container and the right one gets an extra line before the title and before the list items. If I move an item in either direction the page corrects itself and displays correctly. Then after that, I can log out of the app, open it in a new browser window and no problems. But the first time in, particularly after recycling IIS I have this problem. See attached screenshots and HTML below. The postback is for sorting.

Thanks

Rodney

<asp:UpdatePanel runat="server" ID="updPnlRoles">
    <ContentTemplate>
        <telerik:RadListBox runat="server" ID="rlbxAvailableRoles" Height="210" Width="230" AllowTransfer="true" TransferToID="rlbxSelectedRoles"
            ButtonSettings-AreaWidth="35px"
            ButtonSettings-ShowTransferAll="false" AllowTransferOnDoubleClick="true" SelectionMode="Multiple" EnableDragAndDrop="true"
            AutoPostBackOnTransfer="true">
            <HeaderTemplate>
                <h3>Available Roles</h3>
            </HeaderTemplate>
        </telerik:RadListBox>
        <telerik:RadListBox runat="server" ID="rlbxSelectedRoles" Height="210" Width="190" EmptyMessage="Select at least one role"
            AllowTransferOnDoubleClick="true" SelectionMode="Multiple" EnableDragAndDrop="true" AutoPostBackOnTransfer="true">
            <HeaderTemplate>
                <h3>Selected Roles</h3>
            </HeaderTemplate>
        </telerik:RadListBox>
        <asp:CustomValidator ID="cvSelectedRoles" runat="server" ErrorMessage="You must have at least 1 role"
            ClientValidationFunction="cvSelectedRoleVal" ControlToValidate="rlbxSelectedRoles" ValidateEmptyText="true"
            CssClass="validator" ValidationGroup="userValidations">
        </asp:CustomValidator>
    </ContentTemplate>
</asp:UpdatePanel>

Nencho
Telerik team
 answered on 18 Aug 2016
1 answer
205 views

How check if RadComboBox1.Items.Count = 0 on PageLoad?

Using ItemsRequested to DataBind RadComboBox and DataBound to Footer

 

Ivan Danchev
Telerik team
 answered on 18 Aug 2016
6 answers
774 views
Hi,
Below is my requirement:
I have a RadGrid with 10 columns. I need Client Side Sorting of all the columns without Screen Refresh or Postback.
I have this Radgrid in a USer Control which is being used in many pages.
I tried some of the approaches shown in the various threads in this forum, but all of them resulted in postback.
Can you please send me a working sample of how this can be accomplished.
Thanks 
Srinivas Dhulipala
Eyup
Telerik team
 answered on 18 Aug 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?