Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
164 views
I have using telerik spell checking. In the IE its working fine but in the firefox showing  error - "Spell Check Handler Server Error:500".

The following step I have try.
I have created RadSpell folder in App_Data

I have included in Web.Config file
<httpHandlers>
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
<add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI" validate="false" />
<add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/>
</httpHandlers>

and

 

 

 

 

<system.webServer>
  
<modules runAllManagedModulesForAllRequests="true" />
  
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
<add name="ChartImage.axd_*" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler" preCondition="integratedMode" />
<add name="Telerik.Web.UI.SpellCheckHandler.axd_*" path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler" preCondition="integratedMode" />
<add name="Telerik.Web.UI.DialogHandler.aspx_*" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler" preCondition="integratedMode" />
<add name="Telerik.RadUploadProgressHandler.ashx_*" path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI" preCondition="integratedMode" />
</handlers>
  
</system.webServer>


In the Bin folder I have included the following DLL
Telerik.Web.Design.dll
Telerik.Web.UI.dll


Error Showing in alertbox:

Spell Check Handler Server Error:500

<html>
  
    <head>
  
        <title>A potentially dangerous Request.Form value was detected from the client (CommandArgument="...roke. sfd <br>").</title>
  
        <style>
  
         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} 
  
         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
  
         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
  
         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
  
         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
  
         pre {font-family:"Lucida Console";font-size: .9em}
  
         .marker {font-weight: bold; color: black;text-decoration: none;}
  
         .version {color: gray;}
  
         .error {margin-bottom: 10px;}
  
         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
  
        </style>
  
    </head>
  
   
  
    <body bgcolor="white">
  
   
  
            <span><H1>Server Error in '/EmailMarketing' Application.<hr width=100% size=1 color=silver></H1>
  
   
  
            <h2> <i>A potentially dangerous Request.Form value was detected from the client (CommandArgument="...roke. sfd <br>").</i> </h2></span>
  
   
  
            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
  
   
  
            <b> Description: </b>Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted.  This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack.  To allow pages to override application request validation settings, set the requestValidationMode attribute in the httpRuntime configuration section to requestValidationMode="2.0". Example: <httpRuntime requestValidationMode="2.0" />. After setting this value, you can then disable request validation by setting validateRequest="false" in the Page directive or in the <pages> configuration section.  However, it is strongly recommended that your application explicitly check all inputs in this case.  For more information, see http://go.microsoft.com/fwlink/?LinkId=153133.
  
            <br><br>
  
   
  
            <b> Exception Details: </b>System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (CommandArgument="...roke. sfd <br>").<br><br>
  
   
  
            <b>Source Error:</b> <br><br>
  
   
  
            <table width=100% bgcolor="#ffffcc">
  
               <tr>
  
                  <td>
  
                      <code>
  
   
  
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>
  
   
  
                  </td>
  
               </tr>
  
            </table>
  
   
  
            <br>
  
   
  
            <b>Stack Trace:</b> <br><br>
  
   
  
            <table width=100% bgcolor="#ffffcc">
  
               <tr>
  
                  <td>
  
                      <code><pre>
  
   
  
[HttpRequestValidationException (0x80004005): A potentially dangerous Request.Form value was detected from the client (CommandArgument="...roke. sfd <br>").]
  
   System.Web.HttpRequest.ValidateString(String value, String collectionKey, RequestValidationSource requestCollection) +8730676
  
   System.Web.HttpRequest.ValidateNameValueCollection(NameValueCollection nvc, RequestValidationSource requestCollection) +122
  
   System.Web.HttpRequest.get_Form() +114
  
   Telerik.Web.UI.SpellCheckHandler.ProcessRequest(HttpContext context) +187
  
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
  
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
  
</pre></code>
  
   
  
                  </td>
  
               </tr>
  
            </table>
  
   
  
            <br>
  
   
  
            <hr width=100% size=1 color=silver>
  
   
  
            <b>Version Information:</b> Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
  
   
  
            </font>
  
   
  
    </body>
  
</html>
  
<!-- 
  
[HttpRequestValidationException]: A potentially dangerous Request.Form value was detected from the client (CommandArgument="...roke. sfd <br>").
  
   at System.Web.HttpRequest.ValidateString(String value, String collectionKey, RequestValidationSource requestCollection)
  
   at System.Web.HttpRequest.ValidateNameValueCollection(NameValueCollection nvc, RequestValidationSource requestCollection)
  
   at System.Web.HttpRequest.get_Form()
  
   at Telerik.Web.UI.SpellCheckHandler.ProcessRequest(HttpContext context)
  
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
  
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
  
--><!-- 
  
This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using <customErrors mode="Off"/>. Consider using <customErrors mode="On"/> or <customErrors mode="RemoteOnly"/> in production environments.-->
Karthik
Top achievements
Rank 1
 answered on 30 Apr 2012
2 answers
137 views
I have a RadGrid control on a page where users can reorder projects by dragging and dropping. In a stand alone version it works fine, but once placed inside the ASP content frame in the existing site, the RowDrop event fires twice. If I step through and stop the second pass through the method, the rows reorder nicely. Is there a way to cancel the event from codebehind? Do you have any suggestions about what to look for?

BTW, this control is inside an ASP content tag within a master page. The majority of the code is directly from the samples in the 2012 Q1 release samples.

Thanks in advance
Vasil
Telerik team
 answered on 30 Apr 2012
1 answer
78 views
Use example from http://www.telerik.com/help/aspnet-ajax/tabstrip-multipage-integrate-with-tabstrip.html

After opening 3d tab in ie, 1st tab will never show again.
Dimitar Terziev
Telerik team
 answered on 30 Apr 2012
1 answer
90 views
I have a nested grid.

In the child grid 
i have settings like below.

 <PagerStyle Mode="NextPrevNumericAndAdvanced" Wrap="false"  Position="TopAndBottom"
                                    PageButtonCount="5" />

now the pager style are missing.Please see the attachment file.




Pavlina
Telerik team
 answered on 30 Apr 2012
1 answer
120 views
Hi Everybody,

  I am using Rad controls for asp.net ajax version (DLL Version : 2008.3.1314.35) 

  I have created a grid with checkbox column. 

  i want to check the checkbox using javascript, using rowid and column unique name.

  i am trying to do that in a user defined javascript function, lets say i have an array of row id and another with column unique name.

    for instance i want to do like the below code block.

    function UDFCheckboxChecker()
    {
         var a="1,2,3,4,5";
         var arrayRowid= a.split(',');    
         var b="java,c++,c#,asp,php"
         var arrayColumnUniqueName=b.split(',')
 
         var grid =//get the grid.
           
        //loop through each element in the array arrayRowid 
         for(var i=0;i<arrayRowid.length;i++)
         {
                var rowretreived =//get the radgrid row with row id arrayRowid[i] 
               var cell = get the cell with uniquename arrayColumnUniqueName[i] from the grid using rowretreived  
                cell checked=true or false. // check or uncheck the retreived cell(checkbox column)
         }         
    }
   I know how to do this is itemdatabound or using a boolean datatype and bind the data,
 
   My requirement is to loop the grid rows in client side and get the checkboxcolumn in specific columns and check/uncheck it,
   like what i have explained in the above code skeleton.

   is it possible to do so?
  any one please give me a solution.

Thank You,
Jayesh Goyani
Top achievements
Rank 2
 answered on 30 Apr 2012
1 answer
127 views
Would it be possible to add exception handling to the next version of the Web parts? It seems the exceptions are not caught, logged, and displayed properly. For example, enter a bad exchange calendar in the scheduler Web part and you get the normal asp.net error and the page becomes broken. This type of problem occurs for all the Web parts. Please, please make then user friendly.

Kalina
Telerik team
 answered on 30 Apr 2012
1 answer
80 views
I  have a screenset with multiple radtab panels. On the first panel I have a raddatepicker. I'm using telerik version: 2012, 1, 411, 35 and IE9.0.8112

When I open the screenset with all the tabpanels, it works fine the first time because tab panel #1 is loaded first. If I go to tabpanel #2 and then reload the control by opening the screen using a menu item, it loads the last panel I was on, for instance panel #2. If I click on panel #1 that contains the datepicker, the datepicker is  now munged. I'm assuming because it wasn't loaded first.

There is nothing in there that's loaded or not loaded either way, so I don't know what the difference is.

I didn't notice this until today, after upgrading to 2012,1,411,35. But I can't be certain.

Also, I have a nearly identical tabpanel for a different set of tables that this never occurs on, but it only has 5 tab panels, and the one I'm having problems with has 8 tab panels.

I'm attaching my screenshot.

Thanks!




Vasil
Telerik team
 answered on 30 Apr 2012
1 answer
72 views
Hello everyone ,

I have problem in radupload control that is File Type casesensive means (Allow Fileextension : docx,pdf,gif) but DOCX,PDF,GIF can't upload. So change the small letter can upload. How can I solve this issue. Urgently.

I am really appreciate your help. Thanks for your time.
 now we are using Version=3.5.0.0,
Shinu
Top achievements
Rank 2
 answered on 30 Apr 2012
2 answers
427 views
Hi everyone,

I have a radgrid which is created enitrely within the code behind. I have enabled grouping which works (sort of - minimising the group doesn't currently work although the page is refreshing), however each group's header text defaults to the following format:

[Grid ColumnName]: [BoundDataField value]

One of my columns contains an image determined by the underlying data - which doesn't necessarily make sense to the users and contains capital letters and underscores. Screenshot attached. Is there a way of intercepting this and changing the text?

Thanks

Mark
MarkSci
Top achievements
Rank 1
 answered on 30 Apr 2012
1 answer
103 views
i'm trying to have a ajax accordion panel like behavior in RadPanelbar but collapse Expand is not working.plz help

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>


</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <div>
    
    </div>
    </form>
</body>


   <telerik:RadPanelBar ID="RadPanelBar1" runat="server">
   <Items>
       <telerik:RadPanelItem Text="Standard Reports">
          <Items>
              <telerik:RadPanelItem>
                 <ItemTemplate>
                     ... Standard HTML Template code here ...
                 </ItemTemplate>
              </telerik:RadPanelItem>
          </Items>
       </telerik:RadPanelItem>
       <telerik:RadPanelItem runat="server" Text="Standard Reports">
           <Items>
               <telerik:RadPanelItem runat="server" Text="Child RadPanelItem 1">
                <ItemTemplate>
                     ... Standard HTML Template code here ...
                 </ItemTemplate>
               </telerik:RadPanelItem>
           </Items>
       </telerik:RadPanelItem>
   </Items>
</telerik:RadPanelBar>
</html>

 
Chamara
Top achievements
Rank 1
 answered on 30 Apr 2012
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?