The tag keeps coming up as not being recognized in the mark up. I have tried using it in other web application where I use radcontrols such as button and pop up windows, and I get the same behavior, it recognizes all the other mark up tags but not the raddataform
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<telerik:RadDataForm RenderMode="Lightweight" runat="server" ID="RadDataForm1"
...
</telerik:RadDataForm>
Thanks in advance for any help.
Jesse
Hi,
A couple of months ago our company were alerted to a Telerik security issue with 2 of the DotNet 4.5 web sites we host / support. We followed the advice and patched the dll and made some amendments in the web.config to prevent AsyncUpload functionality.
Since the patches were added the performance of both sites (on 2 different Rackspace servers) have slowed up to virtually unusable levels. No other changes have been made to the code or setup of the sites/servers as these are not actively developed due to their age (lost count how many times have we expressed a need to upgrade the sites!).
Has anyone ever experienced a similar situation or got any ideas what may have caused the issue and how to get functioning sites back?
Dear Folks,
I am facing some issues with RadEditor Symbols - TM to be exact. Here is detailed scenario:
We are using RadEditor to let user compose and send emails. On adding TM symbol, it all works fine within RadEditor but when we send email, TM is not displayed in Outlook.
I read through couple of articles including https://docs.telerik.com/devtools/aspnet-ajax/controls/editor/functionality/toolbars/dropdowns/symbols
and found that these symbols are set of unicode characters. So, is it really possible to successfully show TM to user instead of T while in Text mode in Outlook?
Snapshots attached for more details.
Any help please?
Hi i have a simple API .Net Core to get a list of College, this is my local URL ( http://localhost:58887/colleges ) and the JSON result :
[{"collegeId":1,"college":"Norco College","collegeAbbreviation":"NORCO","collegeLogo":"empty","styleSheet":"/Common/css/NORCO.css","pendingDataIntake":false,"districtId":1,"checkExistOtherColleges":true},{"collegeId":2,"college":"Riverside City College","collegeAbbreviation":"RCC","collegeLogo":"","styleSheet":"/Common/css/RCC.css","pendingDataIntake":false,"districtId":1,"checkExistOtherColleges":true},{"collegeId":3,"college":"Moreno Valley College","collegeAbbreviation":"MVC","collegeLogo":"","styleSheet":"/Common/css/MVC.css","pendingDataIntake":false,"districtId":1,"checkExistOtherColleges":true},{"collegeId":4,"college":"NORCO College - Syllabus Manager","collegeAbbreviation":"NORCO","collegeLogo":"","styleSheet":"/Common/css/NORCO.css","pendingDataIntake":false,"districtId":2,"checkExistOtherColleges":true},{"collegeId":5,"college":"Testing College","collegeAbbreviation":"TST","collegeLogo":"logo.png","styleSheet":"/Common/css/NORCO.css","pendingDataIntake":true,"districtId":2,"checkExistOtherColleges":false},{"collegeId":6,"college":"Mt San Jacinto","collegeAbbreviation":"MSJC","collegeLogo":"","styleSheet":"/Common/css/NORCO.css","pendingDataIntake":false,"districtId":2,"checkExistOtherColleges":false},{"collegeId":7,"college":"Crafton Hills College","collegeAbbreviation":"CHC","collegeLogo":" ","styleSheet":"/Common/css/NORCO.css","pendingDataIntake":false,"districtId":2,"checkExistOtherColleges":false},{"collegeId":8,"college":"San Bernardino Valley College","collegeAbbreviation":"SBC","collegeLogo":" ","styleSheet":"/Common/css/NORCO.css","pendingDataIntake":false,"districtId":2,"checkExistOtherColleges":false},{"collegeId":9,"college":"Chaffey College","collegeAbbreviation":"CHC","collegeLogo":" ","styleSheet":"/Common/css/NORCO.css","pendingDataIntake":false,"districtId":2,"checkExistOtherColleges":false},{"collegeId":10,"college":"Barstow College","collegeAbbreviation":"BC","collegeLogo":" ","styleSheet":"/Common/css/NORCO.css","pendingDataIntake":false,"districtId":2,"checkExistOtherColleges":false},{"collegeId":11,"college":"College of the Desert","collegeAbbreviation":"COD","collegeLogo":" ","styleSheet":"/Common/css/NORCO.css","pendingDataIntake":false,"districtId":2,"checkExistOtherColleges":false},{"collegeId":12,"college":"Cooper Mountain College","collegeAbbreviation":"CMC","collegeLogo":" ","styleSheet":"/Common/css/NORCO.css","pendingDataIntake":false,"districtId":2,"checkExistOtherColleges":false},{"collegeId":13,"college":"Palo Verde College","collegeAbbreviation":"PVC","collegeLogo":" ","styleSheet":"/Common/css/NORCO.css","pendingDataIntake":false,"districtId":2,"checkExistOtherColleges":false},{"collegeId":14,"college":"Victor Valley College","collegeAbbreviation":"VVC","collegeLogo":" ","styleSheet":"/Common/css/NORCO.css","pendingDataIntake":false,"districtId":2,"checkExistOtherColleges":false},{"collegeId":15,"college":"Palomar College","collegeAbbreviation":"PAL","collegeLogo":" ","styleSheet":"/Common/css/NORCO.css","pendingDataIntake":false,"districtId":2,"checkExistOtherColleges":false}]
Then im trying to populate a RdaGrid with a RadClientDataSource, this is my code
<
telerik:RadGrid
RenderMode
=
"Lightweight"
ID
=
"RadGrid1"
runat
=
"server"
ClientDataSourceID
=
"RadClientDataSource1"
AllowPaging
=
"true"
AllowSorting
=
"true"
AllowFilteringByColumn
=
"true"
><
br
> <
MasterTableView
ClientDataKeyNames
=
"CollegeID"
EditMode
=
"Batch"
CommandItemDisplay
=
"Top"
BatchEditingSettings-HighlightDeletedRows
=
"true"
><
br
> <
Columns
><
br
> <
telerik:GridBoundColumn
DataField
=
"collegeId"
HeaderText
=
"College ID"
ReadOnly
=
"true"
><
br
> </
telerik:GridBoundColumn
><
br
> <
telerik:GridBoundColumn
DataField
=
"college"
HeaderText
=
"College Name"
ColumnEditorID
=
"GridTextBoxEditor"
><
br
> </
telerik:GridBoundColumn
><
br
> </
Columns
><
br
> </
MasterTableView
><
br
> <
ClientSettings
><
br
><
br
> </
ClientSettings
><
br
> </
telerik:RadGrid
><
br
> </
div
><
br
> <
telerik:GridTextBoxColumnEditor
ID
=
"GridTextBoxEditor"
runat
=
"server"
TextBoxStyle-Width
=
"230px"
></
telerik:GridTextBoxColumnEditor
><
br
> <
telerik:RadClientDataSource
ID
=
"RadClientDataSource11"
runat
=
"server"
AllowBatchOperations
=
"true"
><
br
> <
DataSource
><
br
> <
WebServiceDataSourceSettings
BaseUrl
=
"http://localhost:58887/"
><
br
> <
Select
Url
=
"colleges"
DataType
=
"JSON"
/><
br
> </
WebServiceDataSourceSettings
><
br
> </
DataSource
><
br
> <
Schema
><
br
> <
Model
ID
=
"CollegeId"
><
br
> <
telerik:ClientDataSourceModelField
FieldName
=
"collegeId"
DataType
=
"String"
/><
br
> <
telerik:ClientDataSourceModelField
FieldName
=
"college"
DataType
=
"String"
/><
br
> </
Model
><
br
> </
Schema
><
br
> </
telerik:RadClientDataSource
><
br
><
br
> <
telerik:RadClientDataSource
runat
=
"server"
ID
=
"RadClientDataSource1"
><
br
> <
DataSource
><
br
> <
WebServiceDataSourceSettings
ServiceType
=
"OData"
><
br
> <
Select
Url
=
"http://localhost:58887/colleges"
DataType
=
"JSONP"
/><
br
> </
WebServiceDataSourceSettings
><
br
> </
DataSource
><
br
> </
telerik:RadClientDataSource
>
None of them are working, the RadGrid its showing no records
Please advice
Regards,
Alberto
I'm using the Editor for a Notes field on a website. The notes field in the database table is being copied to a separate (Data Warehouse) database table for analysis. Is there any way to call a method in Telerik code via C#, that would return the notes without formatting?
Thanks
Hello,
I've got a system, where I want to check how often it run.
Now I've got 80 values with value 0 or 1 and Datetime.
Now I want to see how long it run in the last 24h.
X Axis is DateTime and Y Axis is 0 and 1
The first issue is, that it draws every Datetime value in the x axis, which really took long and wasnt really my target, cause
through the wide of the line the user should see approximately how long it run.
If I change the BaseUnit to hour its fast, but all the smaller values get lost.
I added a picture what I am planning to do
Regards
I was using a textbox inside a RadGrid, to enter data in a column. This field was a list of donors. I did have a (rather large) lookup list of current donors (from a table) and I decided to try replacing the TextBox with a RadComboBox. A RadDropDown box, given the size of the list, would be rather clumsy, so a RadCombo Box made sense.
When I select a person from my dropdown, the batch edit block is closed. It looks like the postback wipes out the batch edit.
I'm trying to include a RadComboBox inside a RadGrid. When I select a person from my dropdown, the batch window is closed and the batch edit is reset
<telerik:RadGrid RenderMode="Lightweight" ID="RadGrid1" GridLines="None" runat="server" AllowAutomaticDeletes="True"
AllowAutomaticInserts="True" PageSize="10" OnItemDeleted="RadGrid1_ItemDeleted" OnItemInserted="RadGrid1_ItemInserted"
OnItemUpdated="RadGrid1_ItemUpdated" AllowAutomaticUpdates="True" AllowPaging="True"
AutoGenerateColumns="False" OnBatchEditCommand="RadGrid1_BatchEditCommand" DataSourceID="SqlDataSourceDonations">
<MasterTableView CommandItemDisplay="TopAndBottom" DataKeyNames="DonationID" DataSourceID="SqlDataSourceDonations" HorizontalAlign="NotSet" EditMode="Batch" AutoGenerateColumns="False">
<BatchEditingSettings EditType="Cell" HighlightDeletedRows="true"/>
<telerik:GridTemplateColumn UniqueName="Donor" HeaderText="Donor" SortExpression="Donor" ItemStyle-Width="300px">
<FooterTemplate>Template footer</FooterTemplate>
<FooterStyle VerticalAlign="Middle" HorizontalAlign="Center" />
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem, "Donor")%>
</ItemTemplate>
<EditItemTemplate>
<telerik:RadComboBox RenderMode="Lightweight" runat="server" ID="RadComboBox1" EnableLoadOnDemand="True" DataTextField="Donor"
OnItemsRequested="RadComboBox1_ItemsRequested" DataValueField="DonorID" AutoPostBack="true"
HighlightTemplatedItems="true" Height="140px" Width="300px" DropDownWidth="300px" >
<HeaderTemplate>
<ul>
<li class="col1">Donor</li>
</ul>
</HeaderTemplate>
<ItemTemplate>
<ul>
<li class="col1">
<%# DataBinder.Eval(Container, "Text")%>
</li>
</ul>
</ItemTemplate>
</telerik:RadComboBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
Am I going to have to scrap Batch Edit, or can I prevent the postback when an item is selected?
What are my options?
May I ask about How to keep the file after validation for Telerik RadAsync Upload?
<
telerik:RadScriptManager
runat
=
"server"
ID
=
"RadScriptManager"
></
telerik:RadScriptManager
>
<
telerik:RadAsyncUpload
RenderMode
=
"Lightweight"
runat
=
"server"
ID
=
"RadAsyncUpload1"
></
telerik:RadAsyncUpload
>
I had put the Ajax settings, but its not work.
<
telerik:RadAjaxManager
runat
=
"server"
ID
=
"RadAjaxManager1"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"RadAsyncUpload1"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadAsyncUpload1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
And I used Asp.net C# Web-Form
Thanks for help with this.
I am passing a loaded datatable using a Session (Datatable) variable from another form to another form. I then copy the Session (Datatable) variable to a local datatable and then bind this datatable to a radgrid.
When a cell changes value and the "Save Changes" is clicked. All runs well but the entry.Value (newValue) is still showing old value.
changedRows[0][(string)entry.Key] = entry.Value;
Also, I tried to loop through the grid in the same routine but I still see the old value as well. I included the HTML code along with the update subroutine.
<telerik:RadGrid ID="grdIncome" runat="server" AllowAutomaticUpdates="True" AllowMultiRowSelection="True" Font-Names="Arial"
OnColumnCreated="grdIncome_OnColumnCreated" OnItemDataBound="grdIncome_ItemDataBound"
OnUpdateCommand="grdIncome_UpdateCommand"
OnItemUpdated="grdIncome_ItemUpdated" OnEditCommand="grdIncome_EditCommand" OnNeedDataSource="grdIncome_NeedDataSource1"
Skin="Silk" Width="100%" Font-Size="Small" ShowFooter="True" GridLines="None" AllowPaging="true" PageSize="20" >
<MasterTableView CommandItemDisplay="TopAndBottom" DataKeyNames="AccountID"
AutoGenerateColumns="true" HorizontalAlign="NotSet" EditMode="InPlace" >
<BatchEditingSettings EditType="Cell" HighlightDeletedRows="true"/>
<Columns>
</Columns>
</MasterTableView>
</telerik:RadGrid>
protected void grdIncome_UpdateCommand(object sender, GridCommandEventArgs e)
{
GridEditableItem editedItem = e.Item as GridEditableItem;
if (!UpdateRow(editedItem))
{
e.Canceled = true;
}
}
private bool UpdateRow(GridEditableItem editableItem)
{
//Locate the changed row in the DataSource
DataRow[] changedRows = SessionDataSource.Select(string.Format("AccountID = {0}", editableItem.GetDataKeyValue("AccountID")));
if (changedRows.Length != 1)
{
this.Label1.Text += "Unable to locate the Income Account for updating.";
return false;
}
for (int i = 0; i < grdIncome.MasterTableView.Items.Count; i++)
{
GridDataItem dataItem = (GridDataItem)grdIncome.MasterTableView.Items[i];
string strItemId = dataItem.GetDataKeyValue("AccountID").ToString();
Console.Write(dataItem["MM01"].Text);
}
//Update new values
Hashtable newValues = new Hashtable();
editableItem.OwnerTableView.ExtractValuesFromItem(newValues, editableItem);
changedRows[0].BeginEdit();
try
{
foreach (DictionaryEntry entry in newValues)
{
changedRows[0][(string)entry.Key] = entry.Value;
}
changedRows[0].EndEdit();
}
catch (Exception ex)
{
changedRows[0].CancelEdit();
Label1.Text += string.Format("Unable to update Orders. Reason: {0}", ex.Message);
return false;
}
return true;
}