Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
119 views

Hi all,

it is possible to rebind only the current page ?

My scenario is I open a detail using a hyperlink column in a RadWindow .

when the user closes the RadWindow I would only have to rebind only the current page .

thank you

Konstantin Dikov
Telerik team
 answered on 19 Jul 2016
4 answers
280 views

Good morning,

 

I'm trying to print all the selected rows in a RadGrid together with every nested row. My table contains master table rows and each row, when expanded, contains 4 extra rows. I'm using the code example below for printing but it only prints the selected rows (if the master table row is not expanded and every nested row not selected, it will just print the master table row).

function PrintGrid() {
                var sh = '<%= ClientScript.GetWebResourceUrl(RadGrid1.GetType(),String.Format("Telerik.Web.UI.Skins.{0}.Grid.{0}.css",RadGrid1.Skin)) %>';
                var styleStr = "<html><head><link href = '" + sh + "' rel='stylesheet' type='text/css'></link></head>";
                var MasterTable = $find('<%= RadGrid1.ClientID %>').get_masterTableView();
                var selectedRows = MasterTable.get_selectedItems();
                var htmlcontent = "<table>";
                for (var i = 0; i < selectedRows.length; i++) {
                    var row = selectedRows[i];
                    htmlcontent = htmlcontent + "<tr>" + row.get_element().innerHTML + "</tr>";
                    if (row.get_nestedViews().length > 0) {
                        var nestedSelectedRows = row.get_nestedViews()[0].get_selectedItems();
                        for (var j = 0; j < nestedSelectedRows.length; j++) {
                            var nestedRow = nestedSelectedRows[j];
                            htmlcontent = htmlcontent + "<tr>" + nestedRow.get_element().innerHTML + "</tr>";
                        }
                    }
                }
 
                htmlcontent = styleStr + "<body><div class='RadGrid RadGrid_Metro'>" + htmlcontent + "</table></div></body></html>";
 
                var previewWnd = window.open('about:blank', '', '', false);
                previewWnd.document.open();
                previewWnd.document.write(htmlcontent);
                previewWnd.document.close();
                previewWnd.print();
            }

 

I'm currently lost and don't know how to take this further. Should I expand all the nested rows and select them on print button click, print the document, and then collapse them again or is there a better/faster way to do this?

Konstantin Dikov
Telerik team
 answered on 18 Jul 2016
3 answers
184 views

Hello,

is there any way how to get rid of all ScriptResource and WebResource requests of Telerik controls? I want to use standard script and style bundling. On every page there is always more then 15 requests only for embedded resources. I think it is better to have 1 request for styles and one for scripts. Well, sometimes more, but I want definitely remove all these requests. So any chance to get source scripts, create my own bundles and disable resource requests?

Thanks

Marin Bratanov
Telerik team
 answered on 18 Jul 2016
1 answer
133 views

Hi Everyone,

My company has a license for Telerik UI for asp.net. My currently installed version us 2014.2.724.40.

My browser is Chrome Version 51, OS is Windows 10 and I am using Telerik through Visual Studio 2010.

I am experiencing a problem where adding a RadDateTimePicker to an existing page is preventing post back from occurring. It submits but does not actually fire any back end code. If I take the date picker away it then allows postback, I tried to see if it was validation but adding the ignore attributes does not appear to have any affect.

Thanks

Gerard
Top achievements
Rank 1
 answered on 18 Jul 2016
2 answers
104 views

Hi together,

i`m trying to use a RadContextMenu on a side with 14 RadGrids. Eight of this Grids will use the contextmenu. With the Contextmenu i will Redirect to another aspx page if the cell value of the clicked row is <= something like that.

I currently stuck, by accessing the right radgrid and the cell of the klicked row. How do i get the "clicked" radgrid, or maybe the clicked cell with the values?

 

Greets

Aero

aero
Top achievements
Rank 1
 answered on 18 Jul 2016
5 answers
263 views

Hi.

when i click on the link button on RadEditor, by default, user have to click on all properties for the document manager to be shown. and it he forget to fill in the link text before clicking on all properties, it will be hidden.

How can i set the link manager to always show the all properties state with the link text also being shown

Stanimir
Telerik team
 answered on 18 Jul 2016
3 answers
233 views

Good Morning

I have a RadGrid inside a NestedViewTemplate.  I want it to auto-size its height to match number of rows in the Grid.  So if the grid is empty, it should show one row with 'No Records Found'.  If there are more rows, it should resize the height to contain those.   This is to avoid having a fixed size space with lots of blanks.

How can I do this?

Thank you
Raka

Kostadin
Telerik team
 answered on 18 Jul 2016
3 answers
80 views

i am following this guide

i need the document manager to reference to a physical path instead of virtual path

upon trying to integrate the example to my project, i receive the following error in CustomFileSystemProvider.cs.

stating that 'System.IO.PathHelper' is inaccessible due to its protection level

 

or is there another example for using physical path on DocumentManager?

Stanimir
Telerik team
 answered on 18 Jul 2016
3 answers
774 views
    HI,

Does it possible to open a window with a simple click on a rad button. It should be really easy to do, but I don't know how to do this. I tried, with the onClientClicked event, to call a radopen, but it didn't work. It seem that radopen is not defined. In fact, in javascript console (Chrome), the following error message appears:

  1. Uncaught ReferenceError: radopen is not defined
    1. (anonymous function)test.aspx:59

May someone help me please ?
Thank you
Jahabar
Top achievements
Rank 1
 answered on 18 Jul 2016
2 answers
178 views
Hi,

We have recently invested lots of time and effort in setting up OData v4 web services within our company and it proved to be a very powerful technology.

We have however just realized that the Telerik ClientDataSource is currently not supporting this version of OData (or even v3). This is very unfortunate since Telerik offers really great components that we were planning to use in our future mobile & native applications.

Could you let us know if there is any plan to add support to this technology?

Regards,
Jesus
Top achievements
Rank 1
 answered on 17 Jul 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?