Hi Team,
I am using Telerik - R32020.3.915 with .Net-4.8
Currently we are migrating Telerik.WebControls.RadGrid to Telerik.Web.UI.RadGrid, with help of below article.
My project has a skin="Sample" ,Exists in project skins folder.when I try to render with that ,no changes are seen.
Code Snippet:
<telerik:RadGrid ID="ItemRadGrid" AllowCustomPaging="true" AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True"
AutoGenerateColumns="False" GridLines="none"
GroupingSettings-CaseSensitive="false" PageSize="50" Skin="Sample"
ShowGroupPanel="false" UseEmbeddedScripts="false" Width="100%" runat="server">
<MasterTableView CommandItemDisplay="Top" DataKeyNames="Guid" Width="100%" AllowNaturalSort="false">
Error:
Tried by removing and adding reference telerik.skins.dll ,but still issue exists,
if we try to set EnableEmbeddedSkins=false, no skin is rendered.
If there is property implemented for skins ?
Can anyone please help on this?
Hi there,
I would like to know which is the easiest way to add a link button to a group Panel in a PvGrid.
It would be like in the image below.
Thanks,
Alvaro
Hi,
Im trying to bind a large data set with thousands of rows ,to a rad grid but I dont want to do it all at once,I want for example the pager to call lets say 15 rows at a time from the database and display those then the next page will call and display another 15....
Any help would be appreciated thanks.
*** Update from 17 Jan 2018 ***
The problem discussed below has been fixed in R1 2018 (2018.1.117).
*** End of update ***
The new Chrome 61 introduces some breaking changes which may lead to some of the following errors when the browser is scrolled and the resize handler of an appointment is clicked:
Solution:
<script type=
"text/javascript"
>
Telerik.Web.UI.RadScheduler.prototype._compensateScrollOffset =
function
(contentTable) {
//In Chrome and Safari document.documentElement.scrollTop is always 0, due to a browser bug
//In Internet Explorer there is no "document.scrollingElement"
var
scrollingElement;
if
($telerik.isSafari || $telerik.isChrome) {
scrollingElement = document.body.scrollTop <= document.scrollingElement.scrollTop ? document.scrollingElement : document.body;
}
var
bodyOffsetElement = scrollingElement ? scrollingElement : document.documentElement,
bodyScrollOffset = $telerik.getScrollOffset(bodyOffsetElement,
false
),
scrollOffset = $telerik.getScrollOffset(contentTable,
true
);
scrollOffset.x -= bodyScrollOffset.x;
scrollOffset.y -= bodyScrollOffset.y;
contentTable.targetRect.x += scrollOffset.x;
contentTable.targetRect.y += scrollOffset.y;
// The Safari issue here could be a problem in getLocation (used in getBounds). This code offsets it
//if($telerik.isSafari3 || $telerik.isSafari4 || $telerik.isChrome)
//{
// contentTable.targetRect.x += scrollOffset.x;
// contentTable.targetRect.y += scrollOffset.y;
//}
}
</script>
<
telerik:RadScheduler
runat
=
"server"
ID
=
"RadScheduler1"
... >
If any other issues are observed in Chrome 61+ environment, please share them along with more details and specific examples of the reproduction steps so we can update the information here.
For more information on the Google Chrome update and any issues with the position of ToolTips and ContextMenus, you may refer to http://www.telerik.com/forums/wrong-placement-of-radcontextmenu-in-chrome-61.
Hello,
I am new to Telerik and I am currently supporting an ASP.NET application, I got a task in order to locate the files that were being uploaded by the application.
Reviewing the code I am making use of <telerik:RadAsyncUpload> using OnFileUploaded and InputStream.
I know that InputStream allows me to make the insert in database and process its content from the application. The doubt I have is where are the files that are uploaded using InputStream stored internally or where are they located, considering that it allows me to access the content of the uploaded files without saving them in a temporary location?
P.S.: I tried to check the App_Data\RadUploadTemp folder in my project but the files are not found.
I would greatly appreciate your help, as I need to validate what documents are there and so on.
This is my code:
<telerik:RadAsyncUpload ID="RadAsyncUploadDocuments" runat="server" MaxFileSize="10485760"
MultipleFileSelection="Automatic" CssClass="multipleDocUpload" OnFileUploaded="RadAsyncUploadDocuments_FileUploaded"
Localization-Cancel="<%$Resources:cancel %>" Localization-Select="<%$Resources:select %>" Localization-Remove="<%$Resources:remove %>" >
</telerik:RadAsyncUpload>
<div class="doc_upload_buttons">
<asp:Button runat="server" CssClass="action_button" ID="confirmUpload" OnClick="confirmUpload_Click" Text="<%$Resources:confirmUpload %>"/>
</div>
protected void RadAsyncUploadDocuments_FileUploaded(object sender, Telerik.Web.UI.FileUploadedEventArgs e)
<
ClientEvents OnRequestStart="gridRequestStart" />
But i get the Message "...is not a valid Attribut
i am working on Version
2009.3.1314.35
Regards
Markus
In my login page, I would like to hide the RadMenu which resides in the Master page in a RadPageLayout column.
Currently, the LayoutColumn holding the RadMenu has a Span of "2". The RadMenu is in a LayoutColumn with a Span of "10". Both exist within the same LayoutRow.
When I set the RadMenu.Visible property to "false", the parent LayoutColumn is still rendered and while the RadMenu is not visible, the space it occupies is. This forces the login form to appear off-center.
I have implemented a crude padding-right value which makes the visible login form to appear to be centered. This is not a desired approach.
Is it possible to hide this LayoutColumn, server-side, on the login page so that the form isn't off center, or maybe a better solution to achieve the desired functionality?
Thank you, in advance.
We have one site where we are seeing an odd behavior in RadComboBox, that I've never seen in any of our other sites.
We have a lot of radcomboboxes throughout this site, some of which have pre-defined items, or items added on page load in the code behind. These comboboxes all work perfectly fine, exactly as expected.
A lot of the comboboxes however use load-on-demand to query items at runtime for the user's input. ALL of these comboboxes have the same problem. They seem to perform their AJAX postback fine, and get the correct data, and the items all get added to the combobox, showing the correct data.
The problem though is that the load-on-demand items cannot be selected. You can't click on them, you can't even use the arrow-keys to up/down to them and select one.
The Web Developer tools in the browser don't show any javascript failing to load on page load,
they don't show any errors in the Console tab on the initial page load, or the load-on-demand postback
they don't show any errors in the Network tab on the initial page load, or the load-on-demand postback
This project was originally written in ASP.NET 2.0, and we are upgrading it to 4.7.2.
Updated the latest Telerik DLLs, updated the latest jQuery libraries, updated the compilation nodes in the web.config.
Hi,
I am trying to set the data source for grid from client side, Below is example of the code.
<telerik:RadGrid ID="Grid_geoData" runat="server" AutoGenerateColumns="false" Height="200px" >
<MasterTableView DataKeyNames="Text" ClientDataKeyNames="Text" ShowHeadersWhenNoRecords="true" Visible="true">
<Columns>
<telerik:GridBoundColumn DataField="Text" HeaderText="Comp. name" UniqueName="comName" />
</Columns>
</MasterTableView>
</telerik:RadGrid>
function pageLoad() {
var data =
[
{ "ID": 1, "Text": "Text1" },
{ "ID": 2, "Text": "Text2" }
];
var mtv = $find("<%= Grid_geoData.ClientID %>").get_masterTableView();
mtv.set_dataSource(data);
mtv.dataBind();
}
I get error at line
mtv.set_dataSource(data);
Do anyone have idea what I am doing wrong?
Regards,
Omar