Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
167 views

Hello,

It appears that setting a Path for StyleSheetReference is case sensitive.  The below page was served up from a local IIS and the style sheet is "Package.css."  I had inadvertently typed "package.css" and the lower case failed.  Chrome indicated a 200 result code, but the body of the request showed: /* START */ /* Skipped loading 1 invalid resource. */ /* END */ .   IE 11 also indicated a 200 result code, but gave this error:  SEC7113: CSS was ignored due to mime type mismatch.

Is this an issue with IIS or the RadStyleSheetManager?   Been a while since I had a single typo cause this much grief.  :)

Thanks!

Dave

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Default" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
    <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server">
        <StyleSheets>
            <telerik:StyleSheetReference Path="package.css" />
        </StyleSheets>
    </telerik:RadStyleSheetManager>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <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>
    <script type="text/javascript">
        //Put your JavaScript code here.
    </script>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
    <div>
 
    </div>
    </form>
</body>
</html>
Dave
Top achievements
Rank 1
Iron
Veteran
Iron
 answered on 08 Oct 2020
6 answers
1.2K+ views
Hi,

I have a RadTabStrip and RadMultiPage which loads user controls for each tab.  This I had to do using the PageViewCreated event of the RadMultiPage, but at least it works.

Now, I need to be able to navigate through the tabs from one of my user controls that are loaded into the PageViews in the RadMultiPage.  If I set the RadTabStrip.Tabs[i].Selected = true then the tab is selected, but the assosciated PageView is not shown.

How can I programmatically get the PageView to show?

Thanks.
Vessy
Telerik team
 answered on 08 Oct 2020
14 answers
365 views
I just deployed an application that uses the RadEditor v2008.2.813.35 and my client doesn't see the icons when she loads the page.  The toolbars are visible, but not the icons.

The strange thing is that I can see the icons, and so do my other clients.  Could this be an intranet issue with my client's company?

Any thoughts?

Thanks.
Vessy
Telerik team
 answered on 08 Oct 2020
3 answers
1.0K+ views
We ran into a situation that we need get/set the whole html from radeditor, but GetHtml()/SetHtml() only get/set the content whithin <body> tag.

what happens is:
on server side, we use
radeditor.html = "<html><header>...</header><body>...</body></html>"

on client side, we need to get the html, do some process and set it back. But GetHtml() only get the content whithin <body>, and SetHtml does the same.

var e1 = <%=radEditor.ClientID%>;
  
var h1 = e1.GetHtml();
process h1...
  
e1.SetHtml(h1);

On server side, we can do that with html property. But how can I update the whole html from client side? 

Thanks
Peter Milchev
Telerik team
 answered on 08 Oct 2020
1 answer
104 views

 

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

 

 

 

Doncho
Telerik team
 answered on 08 Oct 2020
8 answers
803 views
Hi.

I'm using a tab strip with Office 2007 skin and i need to change the color of one tab when there's been an error on one field inside the tab. how could i do this.

thanks in advanced.
Vessy
Telerik team
 answered on 07 Oct 2020
1 answer
115 views

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?

Attila Antal
Telerik team
 answered on 07 Oct 2020
4 answers
162 views

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?

 

Vessy
Telerik team
 answered on 07 Oct 2020
1 answer
83 views

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

Attila Antal
Telerik team
 answered on 06 Oct 2020
2 answers
124 views

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

Tim
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 06 Oct 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?