Should showtext="false" work when I also have size="large"?
If "yes" then it's broken as I have...
<
tools
name
=
"Proofing"
tab
=
"Home"
>
<
tool
name
=
"AjaxSpellCheck"
size
=
"large"
showtext
=
"false"
/>
</
tools
>
but see screenshot.
--
Stuart
Hello ,
We are facing a sporadic issue when using the RadUpload control in our website.
The application is hosted in a load balanced server and the session is stateless.
This is what is happening. If the user uploads 10 files (then it creates 10 temp files on the server in RadUploadTemp folder.)We have 2 app servers and when the user access the server, it might get connected to appserver1. But there is no guarentee that for all the 10times it tries to access the server, it will always go to appserver1 as they are loadbalanced. The moment it hits appserver2, we get file not found exception. If it always hits appserver1 then all the files will be uploaded successfully
We are get the error every now and then. Is there any configuration that can be set in the control that would make the control work without issues in case where the load balancing is set and the session is stateless?
Thank you
Regards
Pankaj
<
telerik:RadCodeBlock
ID
=
"RadFileUploadCodeBlock"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
//
<![CDATA[
function validationFailed(sender, eventArgs) {
$(".ErrorHolder").append("<p>Validation failed for '" + eventArgs.get_fileName() + "'.</p>").fadeIn("slow");
}
function closeDataContainer() {
$('div[id$=datacontainer]').hide('slow');
}
//]]>
</
script
>
</
telerik:RadCodeBlock
>
<
div
id
=
"container"
>
<
div
id
=
"content-container"
>
<
div
id
=
"content"
>
<
telerik:RadProgressManager
runat
=
"server"
ID
=
"RadProgressManager1"
/>
<
telerik:RadAsyncUpload
runat
=
"server"
ID
=
"RadAsyncUpload1"
MultipleFileSelection
=
"Disabled"
OnClientValidationFailed
=
"validationFailed"
AllowedFileExtensions
=
"xls, xlsx"
AutoAddFileInputs
=
"True"
Height
=
"25px"
Width
=
"250px"
>
<
FileFilters
>
<
telerik:FileFilter
Description
=
"*.xls; *. xlsx"
Extensions
=
"xls, xlsx"
></
telerik:FileFilter
>
</
FileFilters
>
</
telerik:RadAsyncUpload
>
Select files to upload (xls, xlsx)
</
div
>
<
div
id
=
"aside"
>
<
asp:Button
runat
=
"server"
ID
=
"BtnSubmit"
Text
=
"Process File"
OnClick
=
"BtnSubmit_OnClick"
/>
</
div
>
<
telerik:RadProgressArea
runat
=
"server"
ID
=
"RadProgressArea1"
Width
=
"582px"
>
</
telerik:RadProgressArea
>
<
div
id
=
"Div1"
>
<
asp:PlaceHolder
ID
=
"MessagePlaceHolder"
Visible
=
"false"
runat
=
"server"
></
asp:PlaceHolder
>
</
div
>
<!-- this is used for client side delivery of AsyncUpload Failure messages -->
<
div
class
=
"ErrorHolder"
>
</
div
>
</
div
>
</
div
>
Protected
Sub
tabContainer1_ActiveTabChanged(sender
As
Object
, e
As
System.EventArgs)
If
(tabContainer1.ActiveTabIndex = 0
Or
tabContainer1.ActiveTabIndex = 1)
Then
With
tabContainer1.Tabs(2)
.Enabled =
False
.Visible =
False
End
With
End
If
End
Sub
Protected
Sub
Page_Load(sender
As
Object
, e
As
System.EventArgs)
If
Not
IsPostBack
Then
With
tabContainer1.Tabs(2)
.Enabled =
False
.Visible =
False
End
With
End
If
End
Sub
Protected
Sub
OpenNewTab_Click(sender
As
Object
, e
As
System.EventArgs)
With
tabContainer1.Tabs(2)
.Enabled =
True
.Visible =
True
End
With
tabContainer1.ActiveTab = tabContainer1.Tabs(2)
End
Sub
<
form
id
=
"form1"
runat
=
"server"
>
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
ScriptMode
=
"Release"
AsyncPostBackTimeout
=
"60000"
runat
=
"server"
>
<
Scripts
>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.Core.js"
/>
</
Scripts
>
</
telerik:RadScriptManager
>
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
></
telerik:RadAjaxManager
>
<
div
>
<
asp:UpdatePanel
ID
=
"UpdatePanel1"
runat
=
"server"
>
<
ContentTemplate
>
<
ajaxControlToolKit:TabContainer
ID
=
"tabContainer1"
runat
=
"server"
ActiveTabIndex
=
"0"
AutoPostBack
=
"True"
onactivetabchanged
=
"tabContainer1_ActiveTabChanged"
>
<
ajaxControlToolKit:TabPanel
ID
=
"Tab1"
runat
=
"server"
>
<
HeaderTemplate
>
One
</
HeaderTemplate
>
<
ContentTemplate
>
Randon <
br
/>Stuff
<
br
/>Click here to start>><
asp:Button
runat
=
"server"
ID
=
"OpenNewTab"
Text
=
"OpenNewTab"
onclick
=
"OpenNewTab_Click"
/>
</
ContentTemplate
>
</
ajaxControlToolKit:TabPanel
>
<
ajaxControlToolKit:TabPanel
ID
=
"Tab2"
runat
=
"server"
>
<
HeaderTemplate
>
Two
</
HeaderTemplate
>
<
ContentTemplate
>
More Random Stuff<
br
/><
br
/>11111111
</
ContentTemplate
>
</
ajaxControlToolKit:TabPanel
>
<
ajaxControlToolKit:TabPanel
ID
=
"Tab3"
runat
=
"server"
>
<
HeaderTemplate
>
Three
</
HeaderTemplate
>
<
ContentTemplate
>
problem here<
br
/>
<
telerik:RadFileExplorer
runat
=
"server"
ID
=
"editArticleImagePathEditor"
></
telerik:RadFileExplorer
>
</
ContentTemplate
>
</
ajaxControlToolKit:TabPanel
>
</
ajaxControlToolKit:TabContainer
>
</
ContentTemplate
>
</
asp:UpdatePanel
>
</
div
>
</
form
>