Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
107 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
95 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
92 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
120 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
240 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
478 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
122 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
905 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
3 answers
107 views

hello .I have a question about exporting a grid to excel

I have a grid with one numeric column(INT 32) and I want to show the content of this cell with comma (Like 10,000) and when it will export to excel it shows exactly like the content (I mean 10,000 in grid and in excel both) And the main part is I want it will be numeric cell in excel not string cell.

I have added this parts to column  :   DataType="System.Int32" DataFormatString="{0:n0}

but after exporting, this cell format is not numeric .it is string and I should change it to numeric cell manualy . I want it in numeric format .

Thanks in Advanced

Viktor Tachev
Telerik team
 answered on 22 Aug 2016
3 answers
405 views
Q: When dragging rows up or down, how do we capture the new index?

With the new drag & drop features of the 2009.Q2 release, is there a simple example of dragging a RadGrid row up or down?  All the online demos drag *between* grids, but even the online demos do not move the row up or down.

I can do all the database stuff, I just need to know what event to hook into when dropping on the same grid, and how to get the new grid index of the dropped row.

Logically it would be something like:
grid1_rowdropped....
    if startingGrid = droppedGrid then
        get index of new location in grid1 that the row was dropped into
            do database stuff here (I can do this once I get the index passed back)

I just need a little nudge in the right direction.
(If anyone is building a simple sample from scratch, a small ToDo list sample would probably be usefull for the community.)

Thank you,
Mike
Konstantin Dikov
Telerik team
 answered on 22 Aug 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
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
Iron
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?