Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
252 views
Hi
I am using in-line <GroupByExpression> and it is working well apart from the fact that I can't get the Group Header to show up.

The code I am using is below:

   <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" GridLines="None">  
        <HeaderContextMenu CausesValidation="False">  
            <CollapseAnimation Duration="200" Type="OutQuint" /> 
        </HeaderContextMenu> 
        <MasterTableView GroupLoadMode="Client">  
                <Columns> 
                <telerik:GridBoundColumn  datafield="ThreadID" datatype="System.Int32" headertext="ThreadID" 
                    sortexpression="ThreadID" uniquename="ThreadID" readonly="True" visible="False">  
                 </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn  datafield="Title" datatype="System.Int32" headertext="Title" 
                    sortexpression="Title" uniquename="Title" readonly="True">  
                 </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn  datafield="Type" datatype="System.Int32" headertext="Type" 
                    sortexpression="Type" uniquename="Type" readonly="True">  
                 </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn  datafield="Publish" datatype="System.Int32" headertext="Publish" 
                    sortexpression="Publish" uniquename="Publish" readonly="True" visible="False">  
                 </telerik:GridBoundColumn> 
                   </Columns> 
            <GroupByExpressions> 
                <telerik:GridGroupByExpression> 
                    <GroupByFields> 
                        <telerik:GridGroupByField FieldAlias="Type" FieldName="Type" FormatString="" HeaderText="Type" /> 
                    </GroupByFields> 
                </telerik:GridGroupByExpression> 
            </GroupByExpressions> 
        </MasterTableView> 
        <FilterMenu> 
            <CollapseAnimation Duration="200" Type="OutQuint" /> 
        </FilterMenu> 
        <ValidationSettings EnableValidation="False" /> 
    </telerik:RadGrid> 

Any help appreciated.

Thanks
R
Eyup
Telerik team
 answered on 13 Sep 2019
7 answers
321 views

Hi Team,

 

I'm experiencing some issues with the RadEditor, it is not responding to the height and width value and it is overlapping the editor below, Please see attached image.

When debugging,using the browser inspect, if the height is unchecked, it resizes accordingly and displays properly, but there is no inline- height specified on the editor, I have only Web20 skin as the style on the editor, no other style, but by the default it keeps adding height and width with value on it and I don't know how its generating the values or where it is specified.

 

Thanks in advance

Rumen
Telerik team
 answered on 13 Sep 2019
13 answers
401 views
Hi,
 I was wondering if there's any client-side event/function call that allows me to select multiple time slots in the scheduler.

I am implementing an application where I need to allow the user to

1. click and drag across the scheduler; when they release the mouse button,
2. open the advanced edit form for that dragged duration... and,
3. marking the duration on the scheduler with a different background color.

Is this possible on the client side? If not client side, would it be possible to do this server side?

- Sahil
Rumen
Telerik team
 answered on 13 Sep 2019
1 answer
162 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
547 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
485 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
205 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
273 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
232 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
182 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?