<telerik:GridTemplateColumn HeaderText="Filnavn" SortExpression="FileNameWithExtension"
UniqueName="FileNameWithExtension" EditFormColumnIndex="0">
<ItemTemplate>
---
</ItemTemplate>
<EditItemTemplate>
---
</EditItemTemplate>
<InsertItemTemplate>
<telerik:RadProgressArea runat="server" ID="RadProgressArea1" />
<telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" Width="500px"
AllowedFileExtensions=".dot,.dotx" MultipleFileSelection="Disabled" MaxFileInputsCount="1" >
<FileFilters>
<telerik:FileFilter Description="Word 97-2003-skabelon" Extensions=".dot" />
<telerik:FileFilter Description="Word-skabelon" Extensions=".dotx" />
</FileFilters>
<Localization Cancel="Annuller" Remove="Fjern" Select="Vælg" />
</telerik:RadAsyncUpload>
</InsertItemTemplate>
</telerik:GridTemplateColumn>
But the Width property has no effect. As you can see from the screenshot; the column above has a textbox with the Width property set to 300.
<
telerik:RadCodeBlock
ID
=
"dfg"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
function KeyPress(s, e) {
var v = s.get_value();
var l = v.replace(',','');
var ctrl = $find("<%=txtSecond.ClientID %>");
ctrl.set_value(l);
}
</
script
>
</
telerik:RadCodeBlock
>
<
div
>
Enter some text here <
telerik:RadTextBox
ID
=
"txtFirst"
runat
=
"server"
EmptyMessage
=
"Message"
>
<
ClientEvents
OnKeyPress
=
"KeyPress"
/>
</
telerik:RadTextBox
>
<
asp:RequiredFieldValidator
ID
=
"wer"
runat
=
"server"
ControlToValidate
=
"txtFirst"
ErrorMessage
=
"*"
ForeColor
=
"Red"
ValidationGroup
=
"gr" SetFocusOnError="true"
></
asp:RequiredFieldValidator
>
<
br
/><
br
/>
Enter some text here <
telerik:RadTextBox
ID
=
"txtSecond"
runat
=
"server"
EmptyMessage
=
"Message"
>
</
telerik:RadTextBox
>
<
asp:RequiredFieldValidator
ID
=
"RequiredFieldValidator1"
runat
=
"server"
ControlToValidate
=
"txtSecond"
ErrorMessage
=
"*"
ForeColor
=
"Red"
ValidationGroup
=
"gr" SetFocusOnError="true"
></
asp:RequiredFieldValidator
>
<
br
/><
br
/>
<
telerik:RadButton
ID
=
"btnPostBack"
runat
=
"server"
Text
=
"Postback"
ValidationGroup
=
"gr"
></
telerik:RadButton
>
</
div
>
Hello,
I have a problem with adding pl-PL Dictionary - downloaded from comunity supplied Dictionaries provided on this forum - here. The version of RadEditor I am using is : 6.3.0.0. I have added in the ToolsFile.xml located in :
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadEditorSharePoint\6.3.0.0__1f131a624888eeed\Resources
the following code:
<
languages
>
<
language
code
=
"en-US"
title
=
"English (United States)"
/>
<
language
code
=
"pl-PL"
title
=
"Polish (Poland)"
/>
</
languages
>
I have also added pl-PL dictionary to :
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadEditorSharePoint\6.3.0.0__1f131a624888eeed\Resources\App_Data\RadSpell
In my web.config file I have added:
<
add
path
=
"Telerik.Web.UI.SpellCheckHandler.axd"
verb
=
"*"
type
=
"Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2012.1.327.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
validate
=
"false"
/>
<
add
path
=
"Telerik.Web.UI.DialogHandler.aspx"
verb
=
"*"
type
=
"Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2012.1.327.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
validate
=
"false"
/>
in httpHandlers section.
According to the documentation that should do, still I am receiving an error in javascript dialog when trying to check spelling using Polish language saying that application error has occured, suggesting that I should set customErrors to Off, to see details. Unfortunatly my customErrors setting is currently set to Off so I cant enable more details with this error. Searching for this error on this forum however led me to possible reason that might be proble with inability to load the dictionary file I am providing. Therefore my question is, if I should do anything else to configure the AjaxSpellCheck feature correctly?