Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
500 views
Hello,
I am getting foll. error on click of rad editor's "Hyperlink Manager".

"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"

Server IIS version = 7.0
Telerik DLL version = Version=2010.3.1215.35

Please check my web.config -

<system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
        <modules>
            <remove name="ScriptModule"/>
            <remove name="RadUploadModule"/>
            <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode,runtimeVersionv2.0"/>
            <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>
        </modules>
        <handlers>
            <remove name="ChartImageHandler"/>
            <remove name="ChartImage_axd"/>
            <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
            <remove name="WebServiceHandlerFactory-Integrated"/>
            <remove name="ScriptHandlerFactory"/>
            <remove name="ScriptHandlerFactoryAppServices"/>
            <remove name="ScriptResource"/>
            <remove name="Telerik_Web_UI_SpellCheckHandler_axd"/>
            <remove name="Telerik_Web_UI_DialogHandler_aspx"/>
            <remove name="Telerik_RadUploadProgressHandler_ashx"/>
            <remove name="Telerik_Web_UI_WebResource_axd"/>
            <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>
            <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>
            <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>
            <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>
            <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>
 
        </handlers>
 <rewrite>
            <rules>
                <rule name="RewriteASPX">
                    <match url="(.*)" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                        <add input="{URL}" pattern="WebResource.axd" negate="true"/>
                        <add input="{URL}" pattern="ScriptResource.axd" negate="true"/>
                        <add input="{URL}" pattern=".js" negate="true"/>
                    </conditions>
                    <action type="Rewrite" url="memberlogin.aspx?member={R:0}" />
                </rule>
            </rules>
        </rewrite>


    </system.webServer>

<httpHandlers>
           <remove verb="*" path="*.asmx"/>
           <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
           <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
           <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
 
           <add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2010.3.1215.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>
           <add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
 
 
           <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI"/>
           <add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4"></add>
           <add verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4"></add>
           <add verb="*" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>
           <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/>
       </httpHandlers>
       <httpModules>
           <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
           <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>
           <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>
           <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
 
       </httpModules>
Tien
Top achievements
Rank 1
 answered on 15 Nov 2012
6 answers
342 views
I am using a radGrid inside an AbleCommerce website.

Have a couple of issues, Major #1:

Am using embedded grid styles, not custom styles at all. The Grid themes properly except for the Add/Refresh/Filter buttons.
When I look at the classes, the rgAdd classes are NOT being applied to my butttons, in comparison to the examples on the website.

There is a style.css for the website template, though I don't understand why the grid classes are not being applied at all the buttons.

Have attached screenshots showing Firebug inspection of the CSS.

Minor issue #2:
Have radComboBox in edit template for grid row. On first load the radCombo does not render properly, in fact the popup looks a bit mangled too. If close and open again, the popup window renders OK. If reload page, the issue starts again.


Thank you,

Pat.

Patrick Saunders
Top achievements
Rank 1
 answered on 15 Nov 2012
2 answers
104 views
Telerik,

I have a RadGrid that is bound on the client-side.  I would like to access the hyperlinkcolmn in the RowDataBount (client-side) function at set the "click" event.  I am having all sorts of trouble getting to the correct control.  Can you help me out?

Here is the HyperLinkColumn
<telerik:GridHyperlinkColumn UniqueName="RequestNumber" HeaderText="Request #" SortExpression="RequestNumber"
DataTextField="RequestNumber" HeaderStyle-Width="6em" AllowFiltering="false" />

Here is the client-side function I want to use to access the lyperlink click event:

   this.RowDataBound = function(sender, args) {
        var item = args.get_item();
        var dataItem = args.get_dataItem();
        var rowNumber = parseInt(item._itemIndexHierarchical);
};


Chris
Top achievements
Rank 1
 answered on 14 Nov 2012
3 answers
157 views
 I have a cart radbutton with a numeric total that is it's own control that sits on Default.aspx. The numeric total is called by a server side method.

I have a radwindow control that has the ability to add items to that cart.

Onclientclose of the radwindow, I need to find a way to refresh or postback that radbutton control to update my total cart items.

I DO NOT want the entire page to postback.

How can I accomplish this?
Geoff
Top achievements
Rank 1
 answered on 14 Nov 2012
3 answers
112 views
Hi,

I have a grid which has one gridtemplate column in which i have a link button. when clicked on this link button i am binding another grid. Now when i am exporting the data to pdf/excel i am not getting any data from the grid template column which has this link button. I need to have that as a link button. So can you please advice me on this? 

Thanks,
Swamy.
Daniel
Telerik team
 answered on 14 Nov 2012
7 answers
142 views
All the other controls have EmptyMessage but I cannot find one in RadEditor...
Rumen
Telerik team
 answered on 14 Nov 2012
4 answers
439 views

Hi Team,

I am getting the following error while I open the page to edit the previously created contents.
Error while executing filter ConvertFontToSpanFilter - [object Error].
I tried the below code but still gets the same error.

 

ContentFilters

= "ConvertToXhtml, RemoveScripts,FixUlBoldItalic, IECleanAnchors, FixEnclosingP, MozEmStrong,ConvertFontToSpan, IndentHTMLContent, OptimizeSpans"

Regards,
Christy

Rumen
Telerik team
 answered on 14 Nov 2012
1 answer
84 views

I want to make the radfilter only update the radgrid when the apply buttom is press. not during the buliding of an expressions. I try to put radfilter under the RadAjaxmanager with the EventName="ApplyExpressions". Please see the code below

<head runat="server">
    <title></title>
    <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <%--Needed for JavaScript IntelliSense in VS2010--%>
            <%--For VS2008 replace RadScriptManager with ScriptManager--%>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
    <script type="text/javascript">
        //Put your JavaScript code here.
    </script>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">
    </telerik:RadAjaxLoadingPanel>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadFilter1" EventName="ApplyExpressions" >
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="grid" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadFilter1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadFilter1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <div>
         
 
                        <telerik:RadFilter ID="RadFilter1" runat="server" FilterContainerID="grid"
                            ExpressionPreviewPosition="Bottom"
                            onapplyexpressions="RadFilter1_ApplyExpressions" AllowFilterOnBlur="False" >
                        </telerik:RadFilter>
  
                    
              
                        <asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
    
      </div>
    </form>
</body>
</html>

But it still update the radgrid when i build the expressions.

Angel Petrov
Telerik team
 answered on 14 Nov 2012
5 answers
352 views
Hi there! The RadEditor is amazing, just want to get that out of the way :) Was wondering if there is a way to get the Format Code Block Preview syntax highlight features enabled for the Source Code window in the editor. We want to make it so when you view the code you can view the syntax highlight and have it format the code properly? is that possible?

thanks
Rumen
Telerik team
 answered on 14 Nov 2012
3 answers
331 views
Hi,
I want to show the selected image as the preview, i have used below code but it is not working and tools.
i am using Visual Studio 2010 Premium,

<telerik:RadUpload ID="RadUpload1" runat="server" OnClientFileSelected="OnClientFileSelected" AllowedFileExtensions=".bmp,.jpeg,.jpg,.gif"  MaxFileSize="100000000"/>

<asp:Image id = "imgTheme"   runat="server" ClientIdMode = "Static"/>

<script type = "test/javascript">
function OnClientFileSelected(sender, args){
var image = document.getElementById("imgTheme");
image.src = args.get_fileInputField().value;
}
</script>

in java script i am able to get the image, i have shaw the image control in the alert. But when i saw image source in the alert it show the path "C:\\fakePath\imagefileName", and i am not uploading the image from the c drive.

Thanks
Plamen
Telerik team
 answered on 14 Nov 2012
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?