Telerik Forums
UI for ASP.NET AJAX Forum
10 answers
618 views
I'm trying to get the spell check to work under Prometheus.  With everything I try I get the following 500 error:

---------------------------
Windows Internet Explorer
---------------------------
Spell Check Handler Server Error:500
<html>

    <head>

        <title>No dictionary loaded. Set the DictionaryPath property before spellchecking.</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 '/CANCis' Application.<hr width=100% size=1 color=silver></H1>

 

            <h2> <i>No dictionary loaded. Set the DictionaryPath property before spellchecking.</i> </h2></span>

 

            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

 

            <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

 

            <br><br>

 

            <b> Exception Details: </b>System.ArgumentException: No dictionary loaded. Set the DictionaryPath property before spellchecking.<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 ide…
---------------------------
OK  
---------------------------

I'm not sure what I'm doing wrong.  I've loaded the skins for Prometheus under the themes folder, the dictionaries under the Data-App folder and the Global Resource files.

Sunil P
Top achievements
Rank 1
 answered on 26 Jun 2014
3 answers
266 views
I am using the spell in a page located in a sub folder on my site. It works fine on my local machine, but on our QA and production servers it fails with the following client side error.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E)
Timestamp: Tue, 2 Nov 2010 16:22:45 UTC

Message: Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON.
Parameter name: data
Line: 5
Char: 84093
Code: 0
URI: http://cawebappsdev/SalesCRMQA/ScriptResource.axd?d=jKruckmJp8vDLb592u-Ri4JQ91O8nSdaBpoqumey8nfZ3YV4dMT_t9s3_TfYk24911J7iOJTrfZn-SHpKIhcco-cO0sEgm8QZyxP_GOGncAzLS6EkF8ge5HzbCCOjPfNFrr9o9imvnTrCdbgX0MV8BjBK_Q1&t=2610f696

I did a search and following previous posts I have not found a solution. Here is my control tag.

<telerik:RadSpell id="radspellEditCallReport_GeneralSpellCheckTop" runat="server" ControlsToCheck="txtEditCallReport_ExecutiveSummary,reEditCallReport_CallObjectives,reEditCallReport_CallDetails,reEditCallReport_ActionItems" ButtonType="None"  />  

Here are my web.config entries

<httpHandlers>
  <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
  <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
  <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
  <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
  <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
</httpHandlers>

<add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />

 

<location path="Telerik.Web.UI.SpellCheckHandler.axd">
    <system.web>
        <authorization>
            <allow users="*"/>
        </authorization>
    </system.web>
</location>

Sunil P
Top achievements
Rank 1
 answered on 26 Jun 2014
7 answers
316 views
Hi

I am using Telerik2012 Radeditor in my page. I have given the following statement in the editor control.

 <telerik:EditorTool Name="AjaxSpellCheck" ShowIcon="true" Enabled="true" />

I have added corresponding changes in web.config file also. But once I click the icon on RadEditor, it shows a drop down as 
"Spell checking in progress..." and two buttons as "Finish Spellchecking" and "Cancel". This two buttons are always disabled. This state remains the same as long as the page exists. Also the spell checker is not indicating any errors in the editor.

Can anyone please tell me what would be the issue here?

Any help will be highly appreciated.

Regards
Rekha.
Sunil P
Top achievements
Rank 1
 answered on 26 Jun 2014
1 answer
176 views
Hi,
I have in  my html RadTextBox:

<telerik:RadTextBox ID="ShrtgLicAreaTextBox" runat="server" TabIndex="2" Width="300px" CssClass="textbox" MaxLength="40" Height="15px" onKeyUp="Count(this,40)" onChange="Count(this,40)" FocusedStyle-BackColor="#D4DEEC" >
<ClientEvents OnBlur="OnBlur" />

Here is my js for OnBlur event:

<script type="text/javascript">
function OnBlur(sender) {
sender.get_styles().EnabledStyle[0] += "background-color:#FFCC99;";

}
</script>

Bur for some reason when I leave textbox background color is not changing looks like OnBlur event does not work.

Thank so much for yuor help.
Shinu
Top achievements
Rank 2
 answered on 26 Jun 2014
3 answers
189 views
I have a scenario like this. I want the radgrid inside the radwindow to refresh everytime it opens, but right not after the initial random values are set to the radgrid, every time I reopen the radwindow, the radgrid table stays the same. Is there any way to achieve what I want?
<div>
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true" EnableViewState="false">
        <Windows>
            <telerik:RadWindow ID="BatchIdSelectorPopup" runat="server" Width="360px" Height="360px" Modal="true">
                <ContentTemplate>
                    <telerik:RadGrid runat="server" ID="BatchIdSelectionGrid" AllowPaging="true" AllowSorting="true" OnNeedDataSource="BatchIdSelectionGrid_NeedDataSource">
                        <MasterTableView AutoGenerateColumns="false">
                            <Columns>
                                <telerik:GridBoundColumn DataField="BatchId" HeaderText="Batch Ids" UniqueName="BatchId"></telerik:GridBoundColumn>
                            </Columns>
                        </MasterTableView>
                    </telerik:RadGrid>
                </ContentTemplate>
            </telerik:RadWindow>
        </Windows>
    </telerik:RadWindowManager>
</div>
 
 
<telerik:RadButton ID="btnSelectBatchIds" Text="Select Batch Ids" runat="server" OnClick="btnSelectBatchIds_Click"/>
 
 
 
 
 
protected void Page_Load(object sender, EventArgs e)
    {
        BatchIdSelectorPopup.OpenerElementID = btnSelectBatchIds.ClientID;
    }
 
    protected void btnSelectBatchIds_Click(object sender, EventArgs e)
    {
        BatchIdSelectionGrid.Rebind();
    }
     
    protected void BatchIdSelectionGrid_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
    {
        DataTable dt = new DataTable();
        dt.Columns.Add("BatchId", typeof(int));
        Random rnd = new Random();
        dt.Rows.Add(rnd.Next(1, 1000));
        dt.Rows.Add(rnd.Next(1, 1000));
        dt.Rows.Add(rnd.Next(1, 1000));
        dt.Rows.Add(rnd.Next(1, 1000));
        dt.Rows.Add(rnd.Next(1, 1000));
        dt.Rows.Add(rnd.Next(1, 1000));
        dt.Rows.Add(rnd.Next(1, 1000));
        dt.Rows.Add(rnd.Next(1, 1000));
        BatchIdSelectionGrid.DataSource = dt;
    }



Princy
Top achievements
Rank 2
 answered on 26 Jun 2014
4 answers
499 views
I am having a issue trying to follow http://www.telerik.com/forums/breaking-change-hidden-column-cell-text-is-not-persisted-in-viewstate#0-UsFJGYDE6Wr8fRj8aMjA link. following method 2 but i need to implement the same OnItemDatabound.

private void ProcessGrid_OnItemDataBound(object sender, CommonGridEventArgs e)
{
if (e.ItemDataBound != null)
{
if (e.ItemDataBound.Item.ItemType == GridItemType.Item || e.ItemDataBound.Item.ItemType == GridItemType.AlternatingItem)
{

GridDataItem dataItem = (GridDataItem)e.ItemDataBound.Item;
 if (dataItem["IsLocked"] != null && Convert.ToBoolean(DataBinder.Eval(dataItem, "IsBoolFlagTrue"), CultureInfo.InvariantCulture))
 {
e.ItemDataBound.Item.Enabled = false;
}
}
}
}

Please help
Shinu
Top achievements
Rank 2
 answered on 26 Jun 2014
21 answers
385 views
Hi,

I have a RadTreeView inside a RadComboBox. Once I select a Value from the TreeView, I want to be able to go back to select 'nothing' and see the 'Select a Value' option again without reloading the page.

Basically, this ComboBox is bound to a database field which also supports NULL values, so if the user does not select anything and submits the form, then i store a NULL value. But, if the user opens the form again with a previously selected value and wants to select NULL again, then it is not possible.

Please suggest a solution for this.

Nishant
Shinu
Top achievements
Rank 2
 answered on 26 Jun 2014
4 answers
185 views
Hi Telerik

it's my first time that I use the control Rotator but I found  that when I use the control rotator with xmlDataSource "http://demos.telerik.com/aspnet-ajax/rotator/examples/slideshow/defaultcs.aspx" the exercise was succesfully but I changed the xml by other with different information the exercise not working, my powerpoint have many slides with different images.

Regards
Gustavo
Top achievements
Rank 1
 answered on 25 Jun 2014
2 answers
143 views
Hi,

When using ItemTemplates, the menu wont close when tapping on a root item!

Example:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="menu.aspx.vb" Inherits="TestaTredjepartWeb.menu" %>
 
<!DOCTYPE html>
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="s" runat="server">
        </asp:ScriptManager>
        <div>
            <table>
                <tr>
                    <td>
                        <telerik:RadMenu ID="menu" runat="server" RenderMode="Lightweight" ClickToOpen="true">
                            <Items>
                                <telerik:RadMenuItem Text="Test1" Value="item1">
                                    <Items>
                                        <telerik:RadMenuItem Text="1"></telerik:RadMenuItem>
                                        <telerik:RadMenuItem Text="2">
                                            <Items>
                                                <telerik:RadMenuItem Text="22"></telerik:RadMenuItem>
                                                <telerik:RadMenuItem Text="23"></telerik:RadMenuItem>
                                            </Items>
                                        </telerik:RadMenuItem>
                                        <telerik:RadMenuItem Text="3"></telerik:RadMenuItem>
                                    </Items>
                                    <ItemTemplate>
                                        TEst1
                                    </ItemTemplate>
                                </telerik:RadMenuItem>
                                <telerik:RadMenuItem IsSeparator="true" Value="separator">
                                </telerik:RadMenuItem>
                                <telerik:RadMenuItem Text="Test2" Value="item2">
                                    <Items>
                                        <telerik:RadMenuItem Text="1"></telerik:RadMenuItem>
                                        <telerik:RadMenuItem Text="2"></telerik:RadMenuItem>
                                        <telerik:RadMenuItem Text="3"></telerik:RadMenuItem>
                                    </Items>
                                </telerik:RadMenuItem>
                            </Items>
                        </telerik:RadMenu>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>

Do the following on iPad:
Tap the Test1 menu item to open.
Tap the Test1 menu item again to close it -> wont work.

The Test2 menu item works just fine!

The sample works just fine on desktop clients (and even MS Surface tablets), but not on iPad!

Regards
Andreas
Andreas
Top achievements
Rank 1
 answered on 25 Jun 2014
2 answers
146 views
HI ,

I Have an asp:Upload control on click of submit i have to display a loading panel until the display of a message from Radwindowmanager.Radalert.Please Help me out.

Thanks in advannce

Vvamc
Top achievements
Rank 1
 answered on 25 Jun 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?