I am trying to implement Persistence Framework for RadMonthyYearPicker Control. But is is showing following error.
The control of Telerik.Web.UI.RadMonthYearPicker could not be persisted. Please review the online documetation for the supported controlsTelerik.
Tried using the following Versions: 2014.3.1024.35 and 2015.1.401.40
Hello,
I am developing ASP.NET Usercontrol which includes a RadListView with ASP.NET DataPager.
I tried the same example shown it following page.
http://demos.telerik.com/aspnet-ajax/datapager/examples/raddatapagervsdatapager/defaultcs.aspx
I am binding the RedListView in Page_Load event of the Usercontrol with checking the IsPostBack == false value.
When I place the Usercontrol in Page and run the application. It display the first page perfectly but when I change the Page using the pager the RadListView control will be hide and all data is cleared out.
I also tried by removing the IsPostBack condition and found that when I click on 2nd page it display the double records then the defined Pagesize. Same with the 3rd page, it display the 3 times more records then the pagesize.
I replaced the ASP.NET DataPager with the RadDataPager but still I am facing the issue.
Any urgent help would be h​highly appreciated.
Thanks,
Jaydeep Jadav
I have been trawling for an answer to this question but nothing is coming up.
In code behind with a RadToolBar I can use
GetCheckedGroupButton()
to identify which item is "clicked"
I cannot find any reference to a javascript version of this?
is there one?
thanks
jON
Hello,
I just downloaded the latest version of UI for ASP.Net Ajax v2015.2.623.45 BTW, I also have the .net framework 4.5.1 if you need that info.
Since downloading that new Telerik version I noticed that the Radgrid Paging is now broken. If I turn the paging off, the grid loads fine. However if I turn the paging on and run very basic code like below, I get a server error talking about a key that cannot be null. It does not tell me which key, but I can see it's some sort of a dictionary entry that has a key that's null. I no longer have the exact error verbiage. I have since reverted back to the prior version of v2015.1.401.45 and the paging is now working again.
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="RadGridAutomaticCrudOperations.aspx.vb"
Inherits="RadGridAutomaticCrudOperations" %>
<!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"
>
<
head
runat
=
"server"
>
<
title
></
title
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
CdnSettings-TelerikCdn
=
"Disabled"
>
<
Scripts
>
<
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
>
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
AllowPaging
=
"True"
DataSourceID
=
"DataSource1"
>
<
PagerStyle
Mode
=
"NextPrevAndNumeric"
/>
<
MasterTableView
Width
=
"100%"
CommandItemDisplay
=
"TopAndBottom"
AllowPaging
=
"true"
PageSize
=
"2"
DataSourceID
=
"DataSource1"
HorizontalAlign
=
"NotSet"
AutoGenerateColumns
=
"True"
>
</
MasterTableView
>
</
telerik:RadGrid
>
<
asp:SqlDataSource
SelectCommand=
"select 'ABC' as Col1, 'DEF' as Col2
union
select '123' as Col1, '456' as Col2
union
select 'ZZZ' as Col1, 'QQQ' as Col2
union
select 'PPP' as Col1, 'UUU' as Col2
union
select 'DDD' as Col1, 'XXX' as Col2"
ConnectionString="<%$ ConnectionStrings:Conn %>"
ID="DataSource1" runat="server"></
asp:SqlDataSource
>
</
form
>
</
body
>
</
html
>
Hi,
I have issue while copy pasting a multi-line text with Carriage-return line feed in the GridBoundColumn. I need to remove the CRLF while pasting the text in there. I researched a lot in the forum and So far I have been unsuccessful . Here is my grid looks like as below -
<telerik:RadGrid ID="Grid" runat="server" OnItemDataBound="Grid_ItemDataBound" CssClass ="RadGrid" OnColumnCreated="Grid_ColumnCreated">
<MasterTableView TableLayout="Fixed" Width="100%" DataKeyNames="StandardItemParaID" ClientDataKeyNames="StandardItemParaID" EditMode="InPlace">
<CommandItemTemplate>
<telerik:RadToolBar ID="GridToolBar" runat="server" />
</CommandItemTemplate>
<Columns>
<telerik:GridHyperLinkColumn DataNavigateUrlFields="StandardItemParaID,InspectionTypeID" ImageUrl="~/Icons/GridRowHistory.png" AllowFiltering="false" UniqueName="HistoryLink" ItemStyle-Width="30px" DataNavigateUrlFormatString="javascript:OpenStandardItemParagraphAudit({0},'{1}');" Text="History" AllowSorting="false" />
<telerik:GridCheckBoxColumn DataField="DataRecordDeleteFlag" ItemStyle-Width="50px" HeaderText="Delete" ></telerik:GridCheckBoxColumn>
<telerik:GridBoundColumn DataField="StandardItemParaNumber" HeaderText="StandardItem Paragraph No" ItemStyle-Width="92px" MaxLength ="50" />
<telerik:GridBoundColumn DataField="StandardItemParaDesc" HeaderText="Paragraph Description" ItemStyle-Width="350px" MaxLength ="2000"
ItemStyle-CssClass="CellWrap"/>
<telerik:GridDropDownColumn UniqueName="InspectionTypeID" DataField="InspectionTypeID" ListValueField="Key" ListTextField="Description" ItemStyle-Width="160px" SortExpression="InspectionType.InspectionTypeCode" HeaderText="Requirement" DropDownControlType="DropDownList" AllowFiltering="false" AllowSorting="false" />
<telerik:GridBoundColumn DataField="QANotes" HeaderText="QA Notes" ItemStyle-Width="350px" MaxLength ="500" ItemStyle-CssClass="CellWrap"/>
</Columns>
</MasterTableView>
</telerik:RadGrid>
Problem is in "DataField="StandardItemParaDesc" . I need to paste the following 3 line text there without the CRLF.
Example Data : Line 1
Line 2
Line 3
My expected output should be Line 1 Line 2 Line 3 after copy paste. Now I am only seeing Line 1. Line 2 and Line 3 are completely missing.
Please help !!
I have a RadSplitter with two Pane and one SplitBar. On one Pane I have a dropdownlist, which when selected should change a textbox visibility to true. However it is completely clearing both RadPanes and not displaying anything.
Here is the code:
<
telerik:RadAjaxPanel
runat
=
"server"
ID
=
"RadAjaxPanel1"
>
<
telerik:RadSplitter
ID
=
"RadSplitter1"
runat
=
"server"
Width
=
"100%"
Height
=
"100%"
>
<
telerik:RadPane
ID
=
"LeftPane"
runat
=
"server"
Width
=
"75%"
>
<
h3
>Orders</
h3
>
</
telerik:RadPane
>
<
telerik:RadSplitBar
ID
=
"RadSplitBar1"
runat
=
"server"
CollapseMode
=
"Backward"
>
</
telerik:RadSplitBar
>
<
telerik:RadPane
ID
=
"RightPane"
runat
=
"server"
Width
=
"25%"
>
<
div
style
=
"padding-left:10px; padding-right:10px;padding-top:5px;"
>
<
h4
>Filters</
h4
>
<
hr
style
=
"width:100%;"
/>
<
table
>
<
tr
>
<
td
><
asp:Label
ID
=
"lblCustomer"
runat
=
"server"
Text
=
"Customer #"
></
asp:Label
></
td
>
<
td
><
telerik:RadDropDownList
ID
=
"ddlCustomer"
runat
=
"server"
AutoPostBack
=
"true"
DefaultMessage
=
"Select One.."
OnItemSelected
=
"ddlCustomer_ItemSelected"
></
telerik:RadDropDownList
></
td
>
<
td
><
telerik:RadTextBox
ID
=
"txtCust"
runat
=
"server"
AutoPostBack
=
"true"
Visible
=
"false"
></
telerik:RadTextBox
></
td
>
</
tr
>
</
table
>
</
div
>
</
telerik:RadPane
>
</
telerik:RadSplitter
>
</
telerik:RadAjaxPanel
>
protected
void
Page_Load(
object
sender, EventArgs e)
{
if
(!Page.IsPostBack)
{
ddlCustomer.DataSource =
new
List<
string
>() {
"Cust1"
,
"Cust2"
};
ddlCustomer.DataBind();
}
}
protected
void
ddlCustomer_ItemSelected(
object
sender, Telerik.Web.UI.DropDownListEventArgs e)
{
if
(ddlCustomer.SelectedItem !=
null
)
txtCust.Visible =
true
;
}
Am I missing something?
Based upon a user's selection of a dropdownlist item (which is on the page, but is not part of the grid), I need to alter the text of a GridColumnGroup in a batch mode grid. Essentially, the user's selection is used to determine what fields are used in a calculation. I need to alter the GridColumnGroup text so that it reflects their choice. I would prefer to do this using client-side code. At this point, have what I need to dynamically perform the calculations, but I haven't found an example showing how to update the GridColumnGroup text value.
Thanks.
Hello to all guru's reading this note of mine.
I'm using a Web ASP.NET page with a RadAsyncUpload control, and its job is well done.
However, each time I go to the selection task (better said, users go...), the same files (plus new ones) are shown here to be uploaded, and this drives the operator a little confused.
Is it possible to have these files deleted from the original directory once uploaded?
Thank you so much in advance. Have a nice day.
Saverio Tedeschi
From the console I get this error when using the radmenu onitemclick: Sys.WebForms.PageRequestManagerServerErrorException, ... "PRM_UnknownToken":"Unknown token: \u0027{0}\u0027.","PRM_MissingPanel":"Could not find UpdatePanel with ID \u0027{0}\u0027. While the controls to appear and seem to work they do not call my onitemclick event and instead generate the error.
The code works fine when running from the developer or IIS manager. I noticed IIS added the app pool name to the path so using http://localhost:86/SR05C works but not just using the web reference without specifying the pool, ie localhost:86 brings up the site and the controls but the code behind the Telerik controls do not.. Same problem when I tried to deploy to a godaddy server. I tried without AJAX with the same result.