I am having a strange problem that I can reproduce. I have a Windows 2008 R2 server with the default Document setup to bring up the default.aspx page. I am running the latest build of the Telerik controls.
On my default.aspx page all I have on the page is the RadScriptManager, RadAjaxLoadingPanel, RadAjaxPanel and a asp button inside the RadAjaxPanel. The RadAjaxPanel is set with the LoadingPanelID of the RadAjaxLoadingPanel.
On the button click event I have System.Threading.Thread.Sleep(5000) this is to just have the loading panel display the loading image just to make a simple test.
This all works just if I call the http://sitename/default.aspx page, but if I just call the http://sitename and have the server load the default document “default.aspx “ the loading panel will not function and display the image. The problem only occurs on Windows server 2008 R2. I do not have the problem on Windows server 2008 or Windows 7.
I have contacted Telerik support and they have basically told me this is my problem, even though I have recreated this on 3 different Windows 2008 R2 servers and 2 different projects. So I guess I am just wondering if any of you have seen this problem or you could test this and see if this is really just me.
Thanks for any help
Mark
</
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
>
<
div
>
<
telerik:RadAjaxLoadingPanel
ID
=
"RadAjaxLoadingPanel1"
Runat
=
"server"
Skin
=
"Default"
>
</
telerik:RadAjaxLoadingPanel
>
<
telerik:RadAjaxPanel
ID
=
"RadAjaxPanel1"
runat
=
"server"
height
=
"200px"
HorizontalAlign
=
"NotSet"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
width
=
"300px"
>
<
asp:Button
ID
=
"Button1"
runat
=
"server"
Text
=
"Button"
/>
</
telerik:RadAjaxPanel
>
<
br
/>
</
div
>
</
form
>
</
body
>
</
html
>
Imports Telerik.Web.UI
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub Button1_Click(sender As Object, e As System.EventArgs) Handles Button1.Click
System.Threading.Thread.Sleep(5000)
End Sub
End Class
<?
xml
version
=
"1.0"
encoding
=
"UTF-8"
?>
<
configuration
>
<
appSettings
>
<
add
key
=
"Telerik.ScriptManager.TelerikCdn"
value
=
"Disabled"
/>
<
add
key
=
"Telerik.StyleSheetManager.TelerikCdn"
value
=
"Disabled"
/>
</
appSettings
>
<
system.web
>
<
compilation
debug
=
"false"
strict
=
"false"
explicit
=
"true"
targetFramework
=
"4.0"
/>
<
pages
>
<
controls
>
<
add
tagPrefix
=
"telerik"
namespace
=
"Telerik.Web.UI"
assembly
=
"Telerik.Web.UI"
/>
</
controls
>
</
pages
>
<
httpHandlers
>
<
add
path
=
"ChartImage.axd"
type
=
"Telerik.Web.UI.ChartHttpHandler"
verb
=
"*"
validate
=
"false"
/>
<
add
path
=
"Telerik.Web.UI.SpellCheckHandler.axd"
type
=
"Telerik.Web.UI.SpellCheckHandler"
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"
/>
</
httpHandlers
>
<
httpModules
>
<
add
name
=
"RadUploadModule"
type
=
"Telerik.Web.UI.RadUploadHttpModule"
/>
<
add
name
=
"RadCompression"
type
=
"Telerik.Web.UI.RadCompression"
/>
</
httpModules
>
</
system.web
>
<
system.webServer
>
<
validation
validateIntegratedModeConfiguration
=
"false"
/>
<
modules
runAllManagedModulesForAllRequests
=
"true"
>
<
remove
name
=
"RadUploadModule"
/>
<
add
name
=
"RadUploadModule"
type
=
"Telerik.Web.UI.RadUploadHttpModule"
preCondition
=
"integratedMode"
/>
<
remove
name
=
"RadCompression"
/>
<
add
name
=
"RadCompression"
type
=
"Telerik.Web.UI.RadCompression"
preCondition
=
"integratedMode"
/>
</
modules
>
<
handlers
>
<
remove
name
=
"ChartImage_axd"
/>
<
add
name
=
"ChartImage_axd"
path
=
"ChartImage.axd"
type
=
"Telerik.Web.UI.ChartHttpHandler"
verb
=
"*"
preCondition
=
"integratedMode"
/>
<
remove
name
=
"Telerik_Web_UI_SpellCheckHandler_axd"
/>
<
add
name
=
"Telerik_Web_UI_SpellCheckHandler_axd"
path
=
"Telerik.Web.UI.SpellCheckHandler.axd"
type
=
"Telerik.Web.UI.SpellCheckHandler"
verb
=
"*"
preCondition
=
"integratedMode"
/>
<
remove
name
=
"Telerik_Web_UI_DialogHandler_aspx"
/>
<
add
name
=
"Telerik_Web_UI_DialogHandler_aspx"
path
=
"Telerik.Web.UI.DialogHandler.aspx"
type
=
"Telerik.Web.UI.DialogHandler"
verb
=
"*"
preCondition
=
"integratedMode"
/>
<
remove
name
=
"Telerik_RadUploadProgressHandler_ashx"
/>
<
add
name
=
"Telerik_RadUploadProgressHandler_ashx"
path
=
"Telerik.RadUploadProgressHandler.ashx"
type
=
"Telerik.Web.UI.RadUploadProgressHandler"
verb
=
"*"
preCondition
=
"integratedMode"
/>
<
remove
name
=
"Telerik_Web_UI_WebResource_axd"
/>
<
add
name
=
"Telerik_Web_UI_WebResource_axd"
path
=
"Telerik.Web.UI.WebResource.axd"
type
=
"Telerik.Web.UI.WebResource"
verb
=
"*"
preCondition
=
"integratedMode"
/>
</
handlers
>
<
defaultDocument
>
<
files
>
<
clear
/>
<
add
value
=
"default.aspx"
/>
<
add
value
=
"MaintenanceEntry.aspx"
/>
<
add
value
=
"Default.htm"
/>
<
add
value
=
"Default.asp"
/>
<
add
value
=
"index.htm"
/>
<
add
value
=
"index.html"
/>
</
files
>
</
defaultDocument
>
</
system.webServer
>
</
configuration
>
protected
void
btnAddImage_Click(
object
sender, System.EventArgs e)
{
Stream StreamImage = flImage.PostedFile.InputStream;
MemoryStream ms =
new
MemoryStream();
byte
[] imgData =
new
byte
[StreamImage.Length];
StreamImage.Read(imgData, 0, imgData.Length);
ms.Write(imgData, 0, imgData.Length);
SaveImage(ms,
"g_"
+ PhotoID.ToString(), 610, 610);
}
void
SaveImage(MemoryStream ms,
string
FileName,
int
Width,
int
Height)
{
try
{
EditableImage image =
new
EditableImage(ms);
decimal
oran = 0;
Size s;
if
(!(Width > image.Width && Height > image.Height))
{
if
((Width / Convert.ToDecimal(image.Width)) > (Height / Convert.ToDecimal(image.Height)))
{
//Height
oran = Height / Convert.ToDecimal(image.Height);
s =
new
Size(Convert.ToInt32(oran * image.Width), Convert.ToInt32(oran * image.Height));
}
else
{
//Width
oran = Width / Convert.ToDecimal(image.Width);
s =
new
Size(Convert.ToInt32(oran * image.Width), Convert.ToInt32(oran * image.Height));
}
image.Resize(s);
}
image.Image.Save(Server.MapPath(Settings[
"FolderPath"
].ToString() + FileName +
".jpg"
), System.Drawing.Imaging.ImageFormat.Jpeg);
}
catch
(Exception ex)
{
throw ex;
}
}
Hello Support Team,
I have a query, so I need your help that I am using RadSlider control, as you know that there are imagebuttons on both of side slider control, but does not skip to the next image that is between the next dotted vertical lines. Could we change the left and right scrolling to skip to the next image instead of scrolling through the images. I have also attached an image, so you can grab it.
Have a nice day.
function
validate() {
if
(document.getElementById(
"<%=rcmbcurrencycode.ClientID%>"
).value ==
"Select"
) {
alert(
"Currency Code can not be blank"
);
return
false
;
}
if
(document.getElementById(
"<%=rtxtinteresttype.ClientID%>"
).value ==
""
) {
alert(
"Interest Type can not be blank"
);
return
false
;
}
}
var
alphaExp = /^[a-zA-Z]+$/;
if
(document.getElementById(
"<%=rtxtinteresttype.ClientID%>"
).value ==
""
) {
alert(
"Interest Type can not be blank"
);
return
false
;
if
(rtxtinteresttype.value.match(alphaExp)) {
return
true
;
}
else
{
alert(
"pls enter only numbers"
);
return
false
;
}
}