Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
418 views
Hi,

I am working with RadEditor. I have purchased premium controls pack.
Editor works fine but when we open a image manager it throw an error i.e.

Web.config registration missing!
 The Telerik dialogs require a HttpHandler registration in the web.config file. Please, use the control's Smart Tag to add the handler automatically, or see the help for more information: Controls > RadEditor > Dialogs > Introduction

My webconfig file code is :

<system.web>
 <httpHandlers>
      <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI" validate="false" />
    </httpHandlers>
    <httpModules>
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" />
    </httpModules>
  </system.web>
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
      <add name="Telerik.Web.UI.DialogHandler.aspx" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI" />
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />
    </handlers>
    <modules runAllManagedModulesForAllRequests="true">
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" preCondition="managedHandler" />
    </modules>
  </system.webServer>
</configuration>

and i am using routing without MVC architecture with asp.net 4.0 framework. and in global.asax file code is here

 routes.Ignore("{resource}.axd/{*pathInfo}");
routes.Ignore("Telerik.Web.UI.DialogHandler.aspx");

ignore for telerik controls.

these all code works fine in visual studio and run site from visual studio.

but it throws error while we run this site in IIS 7.0 or IIS 7.5.

and it shows a alert message and image manager page displays :

HTTP Error 500.21 - Internal Server Error

Handler "Telerik.Web.UI.DialogHandler.aspx" has a bad module "ManagedPipelineHandler" in its module list


message

How to resolve this error?????
Hamza
Top achievements
Rank 1
 answered on 26 Nov 2017
1 answer
166 views
Can the text color in agenda view be controlled?  When using a darker color for the ApplyCssClass  property of a ResourceStyleMapping element of a ResourceStyles element, the text is not visible when switched to AgendaView.
Peter Milchev
Telerik team
 answered on 26 Nov 2017
2 answers
230 views

How can I resize the column width to fit the size of footer where I have the running totals of each column?  Since the footer values are the biggest, I want my columns' width to be the size of the footer columns.

Also I noticed a lot of blank spaces on the right of the grid on IE, what kind of settings can I use to get rid of that blank space?

Currently I have this code which only resizes the columns to the grid content but not the footer on Internet Explorer.  It looks better on Chrome but on Chrome the columns are still hiding the second digit after the decimal at the footer:
  function pageLoad()
                {
                    var grid = $find("grid");
                    var columns = grid.get_masterTableView().get_columns();

                    for (var i = 3; i < columns.length; i++)
                    {
                        columns[i].resizeToFit();
                    }
                }

Grid:

 

    <telerik:RadGrid Skin="WebBlue" ID="grid" GridLines="None" runat="server" RenderMode="Lightweight" ShowFooter="True" AutoGenerateColumns="false" ShowStatusBar="true" OnBatchEditCommand="grid_BatchEditCommand" OnItemUpdated="grid_ItemUpdated" OnEditCommand="grid_EditCommand" OnItemCommand="grid_ItemCommand" OnPreRender="grid_PreRender" OnItemDataBound="grid_ItemDataBound" Width="100%" >
                <ClientSettings AllowKeyboardNavigation="true" ClientEvents-OnKeyPress="KeyPressed">
                    <KeyboardNavigationSettings AllowSubmitOnEnter="false" />
                    <Selecting AllowRowSelect="True" />
                    <ClientEvents OnGridCreated="GridCreated" OnBatchEditClosed="batchEditClosed" OnBatchEditCellValueChanged="CellValueChanged" />
                    
                    <Resizing AllowColumnResize="true" ResizeGridOnColumnResize="false" AllowResizeToFit="true" />
                    <Scrolling AllowScroll="True" UseStaticHeaders="true" ScrollHeight="600px" />
                </ClientSettings>
                <MasterTableView Font-Names="Arial" Font-Size="small" HeaderStyle-Font-Size="Medium" HeaderStyle-ForeColor="Window" FooterStyle-Font-Bold="true" FooterStyle-BackColor="#ffcc99" FooterStyle-Font-Size="11" CommandItemDisplay="Top" AllowMultiColumnSorting="false" AllowNaturalSort="false" AllowPaging="false" AllowCustomPaging="false" EditMode="Batch">

                    <CommandItemSettings ShowSaveChangesButton="false" ShowAddNewRecordButton="false" ShowRefreshButton="false" ShowCancelChangesButton="false" ShowExportToCsvButton="false" ShowExportToWordButton="false" ShowExportToExcelButton="true" ExportToExcelImageUrl="Images/ExportToExcel.png" />
                    <BatchEditingSettings EditType="Cell" />
                    <Columns>
                        <telerik:GridBoundColumn DataField="RESOURCE" HeaderText="Resource Name / PO" FilterControlAltText="Filter RESOURCE column"  SortExpression="RESOURCE" ReadOnly="True" UniqueName="RESOURCE" HeaderStyle-Width="125px">
                            <ColumnValidationSettings>
                            </ColumnValidationSettings>
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="RESOURCE_ID" HeaderText="Cost Center / Vendor" FilterControlAltText="Filter RESOURCE_ID column" HeaderStyle-Width="250px" SortExpression="RESOURCE_ID" ReadOnly="True" UniqueName="RESOURCE_ID">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn visible="false" DataField="LABOUR_TYPE" HeaderText="Type" FilterControlAltText="Filter LABOUR_TYPE column"  SortExpression="LABOUR_TYPE" UniqueName="LABOUR_TYPE" ReadOnly="True"  HeaderStyle-Width="80px">
                        </telerik:GridBoundColumn>
                        <telerik:GridNumericColumn Aggregate="Sum" FooterText=" " DataField="P1" DataType="System.Double" FilterControlAltText="Filter P1 column" HeaderStyle-Width="65px" HeaderText="P1" ReadOnly="True" SortExpression="P1" UniqueName="P1" NumericType="Currency" FooterAggregateFormatString="{0:C}">
                            <ColumnValidationSettings>
                            </ColumnValidationSettings>
                        </telerik:GridNumericColumn>
                        <telerik:GridNumericColumn Aggregate="Sum" FooterText=" " DataField="P2" DataType="System.Double" FilterControlAltText="Filter P2 column" HeaderStyle-Width="65px" HeaderText="P2" SortExpression="P2" UniqueName="P2" NumericType="Currency" FooterAggregateFormatString="{0:C}">
                            <ColumnValidationSettings>
                            </ColumnValidationSettings>
                        </telerik:GridNumericColumn>
                        <telerik:GridNumericColumn Aggregate="Sum" FooterText=" " DataField="P3" DataType="System.Double" FilterControlAltText="Filter P3 column" HeaderStyle-Width="65px" HeaderText="P3" SortExpression="P3" UniqueName="P3" NumericType="Currency" FooterAggregateFormatString="{0:C}">
                            <ColumnValidationSettings>
                                <ModelErrorMessage Text="" />
                            </ColumnValidationSettings>
                        </telerik:GridNumericColumn>
                        <telerik:GridNumericColumn Aggregate="Sum" FooterText=" " DataField="P4" DataType="System.Decimal" FilterControlAltText="Filter P4 column" HeaderStyle-Width="65px" HeaderText="P4" SortExpression="P4" UniqueName="P4" NumericType="Currency" FooterAggregateFormatString="{0:C}">
                            <ColumnValidationSettings>
                                <ModelErrorMessage Text="" />
                            </ColumnValidationSettings>
                        </telerik:GridNumericColumn>
                        <telerik:GridNumericColumn Aggregate="Sum" FooterText=" " DataField="P5" DataType="System.Decimal" FilterControlAltText="Filter P5 column" HeaderStyle-Width="65px" HeaderText="P5" SortExpression="P5" UniqueName="P5" NumericType="Currency" FooterAggregateFormatString="{0:C}">
                            <ColumnValidationSettings>
                                <ModelErrorMessage Text="" />
                            </ColumnValidationSettings>
                        </telerik:GridNumericColumn>
                        <telerik:GridNumericColumn Aggregate="Sum" FooterText=" " DataField="P6" DataType="System.Decimal" FilterControlAltText="Filter P6 column" HeaderStyle-Width="65px" HeaderText="P6" SortExpression="P6" UniqueName="P6" NumericType="Currency" FooterAggregateFormatString="{0:C}">
                            <ColumnValidationSettings>
                                <ModelErrorMessage Text="" />
                            </ColumnValidationSettings>
                        </telerik:GridNumericColumn>
                        <telerik:GridNumericColumn Aggregate="Sum" FooterText=" " DataField="P7" DataType="System.Decimal" FilterControlAltText="Filter P7 column" HeaderStyle-Width="65px" HeaderText="P7" SortExpression="P7" UniqueName="P7" NumericType="Currency" FooterAggregateFormatString="{0:C}">
                            <ColumnValidationSettings>
                                <ModelErrorMessage Text="" />
                            </ColumnValidationSettings>
                        </telerik:GridNumericColumn>
                        <telerik:GridNumericColumn Aggregate="Sum" FooterText=" " DataField="P8" DataType="System.Decimal" FilterControlAltText="Filter P8 column" HeaderStyle-Width="65px" HeaderText="P8" SortExpression="P8" UniqueName="P8" NumericType="Currency" FooterAggregateFormatString="{0:C}">
                            <ColumnValidationSettings>
                                <ModelErrorMessage Text="" />
                            </ColumnValidationSettings>
                        </telerik:GridNumericColumn>
                        <telerik:GridNumericColumn Aggregate="Sum" FooterText=" " DataField="P9" DataType="System.Decimal" FilterControlAltText="Filter P9 column" HeaderStyle-Width="65px" HeaderText="P9" SortExpression="P9" UniqueName="P9" NumericType="Currency" FooterAggregateFormatString="{0:C}">
                            <ColumnValidationSettings>
                                <ModelErrorMessage Text="" />
                            </ColumnValidationSettings>
                        </telerik:GridNumericColumn>
                        <telerik:GridNumericColumn Aggregate="Sum" FooterText=" " DataField="P10" DataType="System.Decimal" FilterControlAltText="Filter P10 column" HeaderStyle-Width="65px" HeaderText="P10" SortExpression="P10" UniqueName="P10" NumericType="Currency" FooterAggregateFormatString="{0:C}">
                            <ColumnValidationSettings>
                                <ModelErrorMessage Text="" />
                            </ColumnValidationSettings>
                        </telerik:GridNumericColumn>
                        <telerik:GridNumericColumn Aggregate="Sum" FooterText=" " DataField="P11" DataType="System.Decimal" FilterControlAltText="Filter P11 column" HeaderStyle-Width="65px" HeaderText="P11" SortExpression="P11" UniqueName="P11" NumericType="Currency" FooterAggregateFormatString="{0:C}">
                        </telerik:GridNumericColumn>
                        <telerik:GridNumericColumn Aggregate="Sum" FooterText=" " DataField="P12" DataType="System.Decimal" FilterControlAltText="Filter P12 column" HeaderStyle-Width="65px" HeaderText="P12" SortExpression="P12" UniqueName="P12" NumericType="Currency" FooterAggregateFormatString="{0:C}">
                        </telerik:GridNumericColumn>
                        <telerik:GridCalculatedColumn HeaderText="Total" HeaderStyle-Width="120px" UniqueName="TotalPrice" DataType="System.Decimal"
                            DataFields="P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12" Expression="{0}+{1}+{2}+{3}+{4}+{5}+{6}+{7}+{8}+{9}+{10}+{11}" FooterText=" "
                            Aggregate="Sum" DataFormatString="{0:$###,##0.00}">
                        </telerik:GridCalculatedColumn>
                    </Columns>
                </MasterTableView>

            </telerik:RadGrid>

Attila Antal
Telerik team
 answered on 24 Nov 2017
2 answers
197 views

Is it possible to reorder vertically a single column within a grid?  I don't want to move the whole row, just one column in it.  I am rewriting a page written with AngularJS and I don't want to try and replicate it, even if it will work.  The cells in the first column in the grid needs to move freely up and down the rows.

here's the code I need to replace:

$(".table-active").tableDnD({
    onDragClass: "myDragClass",
    onDrop: function (table, row) {
        var count = 1;
        $("#loadingIcon").show();
        try {
            $.ajax({
                type: "POST",
                url: "../Ajax.ashx/UpdateVirtualRosterRank",
                cache: false,
                dataType: "json",
                data: ({ stringOfIds: $.tableDnD.serialize(), changeId: row.id }),
                success: function (data) {
                    $.each($("#" + row.id).parent().children(), function (i, v) {
                        $("#" + v.id).children().first().html(count);
                        count++;
                    });
                    $("#loadingIcon").hide();
                }
            });
        } catch (e) {
            alert(e.message);
        }
    },
Rumen
Telerik team
 answered on 24 Nov 2017
1 answer
97 views
Is there a way to add combox boxes and calendar controls inside the File List of AsyncUpload ? I want a combox box and calendar control to show next to each uploaded file in the list. How to implement this ? And how to access each combo box and calendar control ?
Peter
Top achievements
Rank 1
 answered on 24 Nov 2017
4 answers
123 views

I am facing problem and not found the solution yet.

I got this error message when set image manager upload, delete and viewpaths to complete URL "http:/www.mywebsite.com/Folder"

The error message said : " http:/www.mywebsite.com/Folder' is not a valid virtual path in Image manager. "

Is it possible using Image manager to upload file from that URL or just in inside application ?

If Possible, can someone give me sample ?

 

Thanks,

Leo
Top achievements
Rank 1
 answered on 24 Nov 2017
0 answers
75 views

Hi,

I'm using a 2016 version of you product and I've a problem with radTileList.

I've 3 different groups with some tile for each one.

I need to drag&drop tiles from a group to another. This feature works well but when a Group is empty, his title disappears.

Also if I put a tile in it. The title remains invisible.

This behavior is also verifiable in your online demo.

Is there a way to solve it?

Thank you.

Davide
Top achievements
Rank 1
 asked on 23 Nov 2017
3 answers
68 views

Hello,

I am open Radconrim within onclick event in Coede Behind. Only in Iexplorer (Version 11) I get Null Reference error in set-animation.

Here the code:

ASP Page:

<telerik:RadButton ID="ImgBtnDelete" runat="server" Width="120px" Text="Delete" OnClick="ImgBtnDelete_Click">
                    <Icon PrimaryIconCssClass="iconDelete" PrimaryIconLeft="4" PrimaryIconTop="4" />
</telerik:RadButton>

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true"
        VisibleStatusbar="False" Behavior="None" BorderStyle="None" KeepInScreenBounds="True">
</telerik:RadWindowManager>

function confirmCallBack_Delete(arg) {
                if (arg) {
                    var ajaxManager = $find("<%= RadAjaxManagerDataCheckDetail.ClientID %>");
                    ajaxManager.ajaxRequest("confirmCallBack_Delete");
                    closeWindow();
                }
}

<telerik:RadAjaxManager ID="RadAjaxManagerDataCheckDetail" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1" OnAjaxRequest="RadAjaxManagerDataCheckDetail_OnAjaxRequest">
        <AjaxSettings>

<telerik:AjaxSetting AjaxControlID="ImgBtnDelete">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="ImgBtnDelete" />
                </UpdatedControls>
            </telerik:AjaxSetting>

</AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" BackgroundPosition="Center"></telerik:RadAjaxLoadingPanel>

 

Code Behind:

protected void ImgBtnDelete_Click(object sender, EventArgs e)
        {
            RadWindowManagerDataCheckDetail.RadConfirm("Are you sure to Delete the DataCheck?", "confirmCallBack_Delete", 330, 100, null, "Are you sure?");
        }

protected void RadAjaxManagerDataCheckDetail_OnAjaxRequest(object sender, AjaxRequestEventArgs e)
        {
            if (e.Argument == "confirmCallBack_Delete")
            {
                DeleteDataCheck();
            }

        }

 

Vessy
Telerik team
 answered on 23 Nov 2017
3 answers
91 views

Hello guys,

I'm using a RadScheduler and when localized, it is missing AM/PM time reference on the vertical header.

I see the same problem in this example: http://demos.telerik.com/aspnet-ajax/scheduler/examples/localization/defaultcs.aspx 

Is there a workaround in order to prompt AM/PM also when the scheduler is localized, or is this a limitation?

 

Thank you,

Alex

Alexandru
Top achievements
Rank 1
 answered on 23 Nov 2017
1 answer
5.5K+ views
Some row take up to 3 or 4 lines (wrap), some row only take up to one line. I would like to know if RadGrid has feature to automatically resize the height to fit each page size?

Thanks
Timothy
Top achievements
Rank 1
 answered on 22 Nov 2017
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?