Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
120 views

I am using RadEditor with DNN Evoq Content 8.0.3. Is there a way to load Google fonts in the editor? I've included the following in my custom CSS file:

@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i);

but, the editor is not loading the fonts in the iframe. Can anyone assist? Thank you.

Stanimir
Telerik team
 answered on 23 Aug 2016
4 answers
84 views
Hi,

We are using the full featured RAD Editor for MOSS for one of our clients who want to use "Form element". It seems to work fine, except that it does not save everything. We can add a text input and then add a name attribut to it, but when we check in the page the attribute is removed (and we need to be able to add the name attribute). I think it might be Sharepoint who validates the html code and removes it somehow(?), but how should we go around this? Is "Form element" not suppose to work in RAD editor for MOSS (even though you can add it)?

For now we have added a javascript, setting the name attribute to the same as the id attribute (that we can save with the page). But this does not work for radiobuttons.

Best regards
Maria
Stanimir
Telerik team
 answered on 23 Aug 2016
2 answers
91 views

I have an ASP.Net with a RadGrid.  VB.Net is the code-behind.

In the RadGrid, one of the columns is a hyperlink column.  When the user clicks on that column, it brings them to an ASP.Net page to display the details of the item they clicked on.

When the user clicks on the hyperlink column, is there a way to show the AjaxLoadingPanel on the RadGrid since loading the page with the details may take more than a few seconds?

Please help!

Thanks!

Sincerely,

Keith Jackson

 

Keith
Top achievements
Rank 1
 answered on 22 Aug 2016
3 answers
87 views

I have a legacy application that uses RadScheduler. It looks like the version it is built with is 2012.3.1206.40.

We recently discovered a problem with the context menu on mobile devices. We have a right-click menu set up that displays some options when the application runs in a desktop browser. This works well on the desktop but not on mobile devices. 

A long tap on a mobile device in theory should activate the same menu but it does not appear. Is there anything I should or could do to make it work on mobile? I was expecting it to just work. 

I understand I may need to update the control but I'm unsure on how to go about doing that. Can someone point me in the right direction? Thanks!

Matt
Top achievements
Rank 1
 answered on 22 Aug 2016
6 answers
84 views

I implemented paste from Excel based on info from this forum. With latest version of RadGrid it does not work any longer. I am having trouble to fix it. Can you help, please?

function pasteFromExcel() {

            var ua = window.navigator.userAgent;
            var msie = ua.indexOf("MSIE ");

            if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\:11\./)) {
                //continue for IE
            }
            else {
                jInfo("Paste from Excel works only in IE (due security policies of other browsers)","INFO")
            }

            if (!lastFocused) return;
            var clipData = window.clipboardData.getData('Text');
            var crlf = String.fromCharCode(13) + String.fromCharCode(10);
            var table = clipData.split(crlf);
            for (var tRow = 0; tRow < table.length - 1; tRow++)
                table[tRow] = table[tRow].split(String.fromCharCode(9));
            Array.remove(table, table[table.length - 1]);
            fillTable(table);

            $('#<%= lbtnSaveMarketAccessArea.ClientID %>').attr("class", "button3D_Yellow");
        }

        function fillTable(table) {
            var pCell = lastFocused.parentNode;
            var pRow = pCell.parentNode;
            var pBody = pRow.parentNode;
            var maxRows = pBody.rows.length;
            var maxCols = pRow.cells.length;

            for (var row = 0; row < table.length; row++) {
                for (var col = 0; col < table[row].length; col++) {
                    var cCellIndex = pCell.cellIndex + col;
                    var cRowIndex = pRow.sectionRowIndex + row;

                    if (cRowIndex < maxRows && cCellIndex < maxCols) {
                        var cCell = pBody.rows[cRowIndex].cells[cCellIndex];
                        var pInput = cCell.getElementsByTagName("input")[0];

                        pInput.style.backgroundColor = "#F7FAFF";
                        pInput.value = table[row][col];
                    }
                }
            }
        }

David
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 22 Aug 2016
1 answer
107 views

There was a time that we could use the skin chooser for all objects on the Telerik website overview pages.

Now it is only active for certain components Eg. Editor and Grid, but not for RadComboBox for instance.

Can it be activated again for all components please?

 

Regards,

Marc

Vessy
Telerik team
 answered on 22 Aug 2016
3 answers
221 views

I have several RadDateTimePicker controls that all have a problem when showing the Date.  The calendar shadow border is put up over the date control giving an ugly line. RadDatePicker controls work fine.

This is the HTML used to create the DateTIme control.

<telerik:RadDateTimePicker ID="PickDate" runat="server"  Width="350px">
      <ClientEvents  OnDateSelected="SetDatePickRadio"/>
      <Calendar runat="server" ShowRowHeaders="false"></Calendar>
</telerik:RadDateTimePicker>

The Calendar ShowRowHeader=false is to remove the week numbers that clients were complaining about. It has nothing to do with the problem.

The attached png file show the Date control up and the  control up. You can see the line in the Date comes from Time control.  I have the latest ASP.NET AJAX.

Any suggestions would be appreciated, I believe it is a Telerik RadDateTimePicker bug.

George

 

 

Maria Ilieva
Telerik team
 answered on 22 Aug 2016
1 answer
452 views

I am using a grid with a combobox and a button to save the checked values from the Grid..

When I click the save button the Grid no longer shows up after post back.

I am using the [radgridHardware_NeedDataSource[ and the functionality was working fine when I used the AutoGenerateColumns=true, but once I changed to use the GridBoundColumn the Grid does not work....  

I have tried all the suggestions on a google search (please see below)   Any help would be really appreciated

 

radgridHardware.DataSource = Nothing

radgridHardware.DataBind()

radgridHardware.MasterTableView.SortExpressions.Clear()

radgridHardware.MasterTableView.GroupByExpressions.Clear()

radgridHardware.MasterTableView.Rebind()

radgridHardware.Rebind()

<div id="leftPanel">
<telerik:RadGrid ID="radgridHardware" runat="server" AllowMultiRowSelection="true"
AllowSorting="True" GridLines="None" AutoGenerateColumns="false"
AllowPaging="True" Skin="Sunset"
PageSize="20">
<MasterTableView>
<Columns>
<telerik:GridClientSelectColumn UniqueName="hardwareSelectColumn" HeaderText="Assign"></telerik:GridClientSelectColumn>
<telerik:GridBoundColumn DataField="RawID" Visible="true" HeaderText="ID" UniqueName="RawID"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Vendor" Visible="true" HeaderText="Vendor" UniqueName="Vendor"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Model" Visible="true" HeaderText="Model" UniqueName="Model"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Product" Visible="true" HeaderText="Product" UniqueName="Product"></telerik:GridBoundColumn>
</Columns>
</MasterTableView>
<PagerStyle Mode="NumericPages"></PagerStyle>
<ClientSettings EnableRowHoverStyle="true">
<Selecting AllowRowSelect="True"></Selecting>
</ClientSettings>
</telerik:RadGrid>
</div>

 

Viktor Tachev
Telerik team
 answered on 22 Aug 2016
1 answer
111 views
http://stackoverflow.com/questions/38377796/export-html-table-to-excel-doesnt-open-in-office-2010

the issue is when you export grid to excel in html format will no longer ask you if you wish to open it but will just show as a blank excel.

export to csv still works fine.

is there anything being done about this?
Eyup
Telerik team
 answered on 22 Aug 2016
9 answers
875 views
I've tried implementing the client-side example at http://demos.telerik.com/aspnet-ajax/splitter/examples/clientsideapi/defaultcs.aspx without success.  On my page, when ToggleCollapsePane runs I just get the error 'splitter is null'.  I read somewhere or other while going through documentation on this site that getting the client-side object only works if the script is nested in a <body> tag, which this isn't; the page hasn't got a <body> tag, everything's nested in a content panel.  Is this a major problem?

Is there any way to expand/collapse a pane in the code behind, rather than trying to use the client-side API?
Vessy
Telerik team
 answered on 22 Aug 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?