Hi Guys
I have been retired from commercial website design for a few years now but I am still doing stuff for various charities and church organisations, so I would like to be as current as possible without spending their money unnecessarily. I am on the Q3 2013 version 2013.3.1114.40 (i.e. SP1) and would like to get as current as possible. Can I get access to SP2 without renewing my licence?
Thanks
Clive
Hi,
In the latest 2016.1.225 release, we have problem moving windows when using Lightweight, Restriction Zone and a parent with overflow none!
This worked in the previous version...
Sample:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="window.aspx.vb" Inherits="TestaTredjepartWeb.window" %>
<!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"
style
=
"overflow: hidden"
>
<
head
runat
=
"server"
>
<
title
></
title
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
asp:ScriptManager
ID
=
"s"
runat
=
"server"
>
</
asp:ScriptManager
>
<
div
>
<
asp:Panel
ID
=
"pnlRestrictionZone"
runat
=
"server"
Style
=
"width: 700px; background-color: blue; height: 500px"
>
<
telerik:RadWindowManager
ID
=
"RadWindowManager1"
runat
=
"server"
>
<
Windows
>
<
telerik:RadWindow
ID
=
"RadWindow1"
runat
=
"server"
VisibleOnPageLoad
=
"true"
AutoSize
=
"true"
RenderMode
=
"Lightweight"
Title
=
"Hello"
NavigateUrl
=
"windowcontent.aspx"
VisibleStatusbar
=
"false"
RestrictionZoneID
=
"pnlRestrictionZone"
>
</
telerik:RadWindow
>
</
Windows
>
</
telerik:RadWindowManager
>
</
asp:Panel
>
</
div
>
</
form
>
</
body
>
</
html
>
When trying to move the window in the sample above using Firefox, it will always jump to the top left corner for start!
Regards
Andreas
Hello,
We are experienced an issue with radGrid on iPad/iPhone/iPod. On any postback (trying to retrieve a record, ordering by clicking the column header, changing the page size) the entire browser is blocked. The only way to go back is to force closing the browser and reopen it.
Mention : The Android devices are working good, also the all browsers on desktop using Windows.
Mention : The radGrid is placed in a radWindow.
Trying to isolate the problem found that this is happening even on a simple radGrid in a dummy window. Is there something we are missing? Are we wrong with something else? Can you reproduce the problem?
Telerik version : 2016.1.113.40
This is the source code we are using in order to reproduce the problem .
Thank you!
ASPX :
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DummyLookupContent.ascx.cs" Inherits="wMobilePC.Web.UI.Contents.DummyLookupContent" ClassName="wMobilePC.Web.UI.Contents.DummyLookup" %><
br
><
telerik:RadCodeBlock
ID
=
"rcbMain"
runat
=
"server"
><
br
> <
script
type
=
"text/javascript"
><
br
> var oWnd = RadWindow_GetRadWindow();<
br
> oWnd.set_visibleStatusbar(false);<
br
> oWnd.set_width(700);<
br
> oWnd.set_height(500);<
br
> oWnd.center();<
br
> <
br
><
br
> </
script
><
br
></
telerik:RadCodeBlock
><
br
><
br
><
br
><
telerik:RadGrid
ID
=
"grd"
runat
=
"server"
AutoGenerateColumns
=
"true"
<br> AllowCustomPaging="True" AllowPaging="True" OnNeedDataSource="grd_NeedDataSource"<
br
> PageSize="10" EnableLinqExpressions="false" Height="400px" Width="100%" ><
br
> <
MasterTableView
AllowFilteringByColumn
=
"True"
AllowCustomSorting
=
"True"
AllowSorting
=
"True"
<br> CanRetrieveAllData="False" EnableColumnsViewState="True" EnableViewState="True"<
br
> TableLayout="Fixed"><
br
> <
PagerStyle
AlwaysVisible
=
"true"
/><
br
> </
MasterTableView
><
br
> <
ClientSettings
AllowKeyboardNavigation
=
"true"
><
br
> <
Selecting
AllowRowSelect
=
"True"
/><
br
> <
Scrolling
AllowScroll
=
"true"
UseStaticHeaders
=
"true"
/><
br
> <
KeyboardNavigationSettings
AllowActiveRowCycle
=
"true"
EnableKeyboardShortcuts
=
"false"
/><
br
> </
ClientSettings
><
br
> </
telerik:RadGrid
>
Code behind :
namespace
wMobilePC.Web.UI.Contents<br>{<br>
public
partial
class
DummyLookupContent : UserControl, IWebContent<br> {<br>
public
string
Name<br> {<br>
get
;
set
;<br> }<br><br>
public
bool
IsReadOnly<br> {<br>
get
;
set
;<br> }<br><br>
public
string
Id<br> {<br>
get
;
set
;<br> }<br><br>
public
string
Title<br> {<br>
get
;
set
;<br> }<br><br>
public
Control Control<br> {<br>
get
{
return
this
; }<br> }<br><br>
public
bool
IsDirty<br> {<br>
get
;
set
;<br> }<br><br>
public
IDataContext DataContext<br> {<br>
get
;
set
;<br> }<br><br>
public
IWebWorkspace Workspace<br> {<br>
get
;
set
;<br> }<br><br>
protected
void
Page_Load(
object
sender, EventArgs e)<br> {<br> LoadAjaxSettings();<br> }<br><br>
protected
void
grd_NeedDataSource(
object
sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)<br> {<br> DataSet ds = ContactService.GetAllContacts(SecurityContext.LoggedInUser, GMContactType.Primary,
"Company LIKE '%c%'"
,
string
.Empty, 0, 100);<br><br> grd.DataSource = ds.Tables[0];<br> }<br><br>
public
Control GetView(
string
name)<br> {<br>
return
null
;<br> }<br><br>
public
void
SaveContent(
object
info)<br> {<br> <br> }<br><br>
public
void
Initialize(
object
info)<br> {<br> <br> }<br><br>
public
void
LoadContent(
object
info)<br> {<br> <br> }<br><br>
public
void
RefreshContent(
object
info)<br> {<br> <br> }<br><br>
public
bool
IsRefreshRequired(
object
info)<br> {<br>
return
false
;<br> }<br><br>
private
void
LoadAjaxSettings()<br> {<br> RadAjaxManager.GetCurrent(Page).AjaxSettings.AddAjaxSetting(grd, grd);<br> }<br> }<br>}
Hello
I am using AsyncUpload to upload photos and store them in a folder that exists inside my project
<asp:Label ID="PhotoLabel" runat="server" Text="Upload a photo"></asp:Label>
<telerik:RadAsyncUpload RenderMode="Lightweight" runat="server" ManualUpload="false" ID="AsyncUpload1" MultipleFileSelection="Disabled" OnFileUploaded="AsyncUpload1_FileUploaded"></telerik:RadAsyncUpload>
<telerik:RadButton runat="server" Text="Sibmit new photos" OnClick="UploadFiles_Click"></telerik:RadButton>
<asp:Label ID="error" runat="server" Text="" Visible="false"></asp:Label>
protected void UploadFiles_Click(object sender, EventArgs e)
{
try
{
if(AsyncUpload1.UploadedFiles.Count > 0)
{
foreach (UploadedFile file in AsyncUpload1.UploadedFiles)
{
string targetFolder = HttpContext.Current.Server.MapPath("~/images");
string targetPath = Path.Combine(targetFolder, file.ToString());
file.SaveAs(targetPath);
}
error.Text = "File Uploaded";
error.Visible = true;
}
else
{
error.Text = "no files to upload";
error.Visible = true;
return;
}
}
catch(Exception ex)
{
error.Text = ex.ToString();
error.Visible = true;
}
}
This code works. And stores a file on the correct folder. The problem is that instead of it being a png like I uploaded its a 'Telerik.Web.UI.AsyncUploadedFile'
I am trying to pull grid column data in order to call a procedure. on e.item, bold below, i am receiving error :
Error1'Telerik.Web.UI.GridNeedDataSourceEventArgs' does not contain a definition for 'Item' and no extension method 'Item' accepting a first argument of type 'Telerik.Web.UI.GridNeedDataSourceEventArgs' could be found (are you missing a using directive or an assembly reference?)
here is the C#
protected
void
Mask_NeedDataSource(
object
sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
{
GridDataItem dataItem = e.Item
as
GridDataItem;
string
@Empl_ID = dataItem.GetDataKeyValue(
"Empl_ID"
).ToString();
RadGridEmpl.DataSource = DataLayer.FirmEmployees.PhoneMask(@Empl_ID);
}
how can this be fixed?