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

I have an asp panel, that contains a toolbar and that toolbar contains a radbutton.

When the page loads, all is good.  I call a toolbar init on the client and an "onGridcreated" and I check if a row is selected in the grid.  If not, disable the button.  That works as expected.

After I select a row, a rowclick event fires, the button is enabled.  That works as expected.

If I click the button, which opens a radwindow, and do some editing to the data and save it and close my window, the ajax refreshes my main page.  During this, the toolbar init and onGridCreated are called.  It checks to see if a row is selected, there's not.  The code finds my button and calls set_enabled(false).

The button is then greyed out but I can still click it and it pops open a window.  Im expecting it to not be clickable.  Why would it fire events if it's not enabled?

Rumen
Telerik team
 answered on 13 Sep 2019
8 answers
497 views

I am trying to use a RadTextBox with TextMode="Password".

When I was testing it in Internet Explorer version 11 under Windows 7, there is a weird icon that shows up when typing something in the RadTextBox.

Attached is a screenshot with the icon circled in RED.

When you click on the icon and hold the mouse button, it shows the text of the password.

I have tested on Chrome and Firefox and no icon appears in the RadTextBox.

Is there any way to prevent that icon from appearing?

Please help!

Sincerely,

Keith Jackson

 

SSirica
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 12 Sep 2019
1 answer
413 views

We have a single on-premise installation which is giving us a Http 504: Bad Gateway error message in the browser console when I attempt to use the AsyncUpload control.  We are using this in a web farm, the web.config file contains the same values in each of the web servers in the farm:

- Telerik.AsyncUpload.TemporaryFolder

- Telerik.AsyncUpload.ConfigurationEncryptionKey

- Telerik.Upload.ConfigurationHashKey

- <configuration><system.web><machineKey>

All other installations are fine, but this is not.  The temporary upload path shows that the file is uploaded with the ".tmp" extension for every attempt, the upload control shows the file is uploaded and the "remove" button is visible, but the page does not interact with the uploaded file.

Can anyone help us understand why this is occurring?  Any ideas where to check next?  Thanks.

Rumen
Telerik team
 answered on 12 Sep 2019
2 answers
139 views

Normally the Wizardstep is only validating when stepping forward.

 

When I use the OnActiveStepChanged event the Wizard validates also validates on stepping backwards.

Can this be prevented?  Is this a bug or by design?

 

Marc

Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
 answered on 12 Sep 2019
1 answer
230 views

     Hello, I'm having trouble getting a context menu to appear on my page that's using the Master page template. I have a RadGrid with draggable rows populated by backend SQL that I would like to have a context menu on, with options that would run different SQL updates server-side when a user picks an option (like closing a case for example via UPDATE). Below is the relevant. Currently, dragging still works but no context menu appears on right click. I'm a relatively new developer, so there's absolutely the possibility that I'm missing something basic.

 

 

01.<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="Admin.aspx.cs" Inherits="Medicare_Escalations.Admin" %>
02.<asp:Content ID="Content_AdminHeader" ContentPlaceHolderID="head" Runat="Server">
03.    <link href="styles/admin.css" rel="stylesheet" />
04.    
05.</asp:Content>
06. 
07.<asp:Content ID="Content_AdminBody" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
08.     
09.          
10.          
11.     <telerik:RadWindowManager RenderMode="Lightweight" ID="RadWindowManagerAdmin" runat="server" EnableShadow="true">
12.        </telerik:RadWindowManager>
13.     
14.     
15.            <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
16.            <AjaxSettings>
17.                <telerik:AjaxSetting AjaxControlID="drpdnCaseWorkersForReason">
18.                    <UpdatedControls>
19.                        <telerik:AjaxUpdatedControl ControlID="gridView_Caseload"
20.                            LoadingPanelID="RadAjaxLoadingPanel_Caseload" />
21.                    </UpdatedControls>
22.                </telerik:AjaxSetting>
23.                <telerik:AjaxSetting AjaxControlID="gridView_Cases">
24.                    <UpdatedControls>
25.                        <telerik:AjaxUpdatedControl ControlID="gridView_Caseload"
26.                            LoadingPanelID="RadAjaxLoadingPanel_Caseload" />
27.                        <telerik:AjaxUpdatedControl ControlID="gridView_Cases"
28.                            LoadingPanelID="RadAjaxLoadingPanel_Cases" />
29.                    </UpdatedControls>
30.                </telerik:AjaxSetting>
31.            </AjaxSettings>
32.        </telerik:RadAjaxManagerProxy>
33.    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel_Cases" runat="server">
34.        </telerik:RadAjaxLoadingPanel>
35.      
36.         
37.    <telerik:RadAjaxPanel runat="server" ID="radUpdatePanel_AdminCases" LoadingPanelID="RadAjaxLoadingPanel_AdminCases">
38.         
39.                <telerik:RadGrid RenderMode="Lightweight" runat="server" ID="gridView_Cases" OnNeedDataSource="gridView_Cases_NeedDataSource" ClientSettings-Scrolling-AllowScroll="true" 
40.                    Width="1175px" Height="313px" AllowPaging="True" AllowMultiRowSelection="false" AutoGenerateColumns="false" OnSelectedIndexChanged="gridView_Cases_SelectedIndexChanged" OnItemDataBound="gridView_Cases_ItemDataBound"
41.                    Font-Size="Small" OnRowDrop="gridView_Cases_RowDrop">
42.         
43.                    <MasterTableView DataKeyNames="ESCL_CASE_ID,ITEM_ID,URGNCY_IND,MBR_UMI_ID,ESCL_RSN_CD,ESCL_RSN_DSC,Case_owner_name,Member_Name,ESCL_CASE_RTE_SK,ESCL_CASE_OWN_ID,ESCL_STS_CD,User_Active,ESCL_STS_DSC,ESCL_CASE_EFF_TS">
44.                        <Columns>
45.                            <telerik:GridBoundColumn DataField="ESCL_CASE_ID" HeaderText="Case ID" HeaderStyle-Width="20px"></telerik:GridBoundColumn>
46.                            <telerik:GridBoundColumn DataField="ITEM_ID" HeaderText="Item ID" HeaderStyle-Width="120px"></telerik:GridBoundColumn>
47.                            <telerik:GridBoundColumn DataField="URGNCY_IND" HeaderText="Is this Urgent?" HeaderStyle-Width="20px"></telerik:GridBoundColumn>
48.                            <telerik:GridBoundColumn DataField="MBR_UMI_ID" HeaderText="Member UMI"></telerik:GridBoundColumn>
49.                            <telerik:GridBoundColumn DataField="ESCL_RSN_DSC" HeaderText="Escalation Reason"></telerik:GridBoundColumn>
50.                            <telerik:GridBoundColumn DataField="ESCL_RSN_CD" HeaderText="Reason Code" Visible="false"></telerik:GridBoundColumn>
51.                            <telerik:GridBoundColumn DataField="Case_owner_name" HeaderText="Case Owner"></telerik:GridBoundColumn>
52.                            <telerik:GridBoundColumn DataField="Member_Name" HeaderText="Member Name"></telerik:GridBoundColumn>
53.                            <telerik:GridBoundColumn DataField="ESCL_CASE_RTE_SK" HeaderText="Route Number" Visible="false"></telerik:GridBoundColumn>
54.                            <telerik:GridBoundColumn DataField="ESCL_CASE_OWN_ID" HeaderText="Owner ID" Visible="false"></telerik:GridBoundColumn>
55.                            <telerik:GridBoundColumn DataField="ESCL_STS_CD" HeaderText="Status Code" Visible="false"></telerik:GridBoundColumn>
56.                            <telerik:GridBoundColumn DataField="User_Active" HeaderText="User Active?" UniqueName="User_Active"></telerik:GridBoundColumn>
57.                            <telerik:GridBoundColumn DataField="ESCL_STS_DSC" HeaderText="Status" HeaderStyle-Width="20px"></telerik:GridBoundColumn>
58.                            <telerik:GridBoundColumn DataField="ESCL_CASE_EFF_TS" HeaderText="Creation Time"></telerik:GridBoundColumn>
59.                        </Columns>
60.                    </MasterTableView>
61.                    <ClientSettings EnableRowHoverStyle="true" EnablePostBackOnRowClick="true" AllowRowsDragDrop="true" ClientEvents-OnRowContextMenu="OpenAdminRowContextMenu">
62.                        <Selecting AllowRowSelect="true" EnableDragToSelectRows="false"/>
63.                             
64.                    </ClientSettings>
65.                    <PagerStyle Mode="NumericPages"></PagerStyle>
66.                </telerik:RadGrid>
67.                <telerik:RadContextMenu runat="server" ID="AdminContextMenu"
68.                    EnableRoundedCorners="true" EnableShadows="true" OnItemClick="AdminContextMenu_ItemClick" >
69.                 
70.                    <Items>
71.                        <telerik:RadMenuItem Text="All Devices" Value="allDevices" />
72.                          </Items>
73.                </telerik:RadContextMenu>
74.             
75.                  <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
76.                <script type="text/javascript">
77.                    function OpenAdminRowContextMenu() {
78.                         
79. 
80.                        var evt = args.get_domEvent();
81.                        if (evt.target.tagName == "INPUT" || evt.target.tagName == "A")
82.                            return;
83. 
84.                        var menu = $find("<%= AdminContextMenu.ClientID %>");
85.                        menu.show(evt);
86.                    }
87.                </script>
88.            </telerik:RadScriptBlock>
89.       </telerik:RadAjaxPanel>        
90.</asp:Content>
Sam
Top achievements
Rank 1
 answered on 11 Sep 2019
3 answers
196 views

I have dynamically generated radhtmlcharts in asp.net page. after zooming into radhtmlchart I don't want to zoomout but I need an option for reset zoom in asp.net.

can anyone show me how to do rest of zoom feature for radhtmlchart in asp.net c#?

 

 

Thank you :)

 

Peter Milchev
Telerik team
 answered on 11 Sep 2019
2 answers
139 views

Hello,

I'd like to implement filtering for a RadComboBox that uses ItemTemplate. However, when I run application, the combobox does not accept keyinput and there is no filtering done. Thank you in advance for any help.

My code:

<telerik:RadComboBox filter="Contains" ID="ddl" runat="server" name="ddl"
        
                   Width="530px" MaxHeight="200" Skin="Windows7">
                    
                   <ItemTemplate>
                        
                           <span title='<%# Eval("tooltipText") %>' class='<%# Eval("GS") %>'>
                               <%# Eval("ElementA") %></span>
                            
                            
                   </ItemTemplate>
               </telerik:RadComboBox>
Darius
Top achievements
Rank 1
 answered on 10 Sep 2019
3 answers
147 views

Hi Team,

Is the a way to reduce the size of the entire Chart (HTML5) canvas.(not the hole size) 

changing the width and the height, covers or half's the canvas

Please see attached Image 

 

Thanks in advance

Rumen
Telerik team
 answered on 10 Sep 2019
1 answer
79 views

Hi,

We've been doing tests with the Trial 2019 version of Telerik and we have the following problem:

We have a string type column that can contain both string and decimal values depending on the information that the user needs to display. When the user needs to filter by between (for example, between 2 and 20), the filter works perfectly and the proper values are being displayed.

However, when the NotBetween filter is used, some values are being filtered out while others are being displayed even though they're inside the range, if we use "NotBetween" for values 0 and 10, values like 2,21 and 4,556 are being shown despite clearly being inside the range.

Is there any fix for this problem or is filtering String columns by NotBetween not an acceptable use case? Thank you for your help.

Attila Antal
Telerik team
 answered on 10 Sep 2019
1 answer
75 views
Radgrid with detiaTables in  BatchEdit Mode , i use client function: BatchEditOpening(sender,args ) to control the cell can be open to edit or not . 
code:
 function BatchEditOpening(sender, args) {         
         
            var detailTable = sender.get_detailTables()[0]; 
           ....
}
 but it only can control the first detailtabel  , how can i get the index of detailTable , so i can control any detailtable which i have double click the cell ? 
Eyup
Telerik team
 answered on 10 Sep 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?