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

hi,

i have a rad grid which sometime i should show in edit mode and sometimes not, which relays on my data in the c# code.

when grid in editable i want my fields blank so i used editItemTemplate  with desired control in it,

for the non-editable state i used ItemTemplate with label in it and attached code with eval.

i want to control the grid state in the code to sometimes sow these columns with the editItemTemplate 

and on other times the itemtemplate fields, how can i do that?

Chaya
Top achievements
Rank 1
 answered on 20 May 2018
14 answers
3.6K+ views
I don't recall this having been an issue in the past, but I am now having this problem which I need help with.

I use RadWindows to display Reporting Services reports. Occassionally some reports will contain links to external web pages which used to open in a new window via this method: javascript:void(window.open('http://myexternalpageurl', '_blank'))

When I click on these links, nothing happens. I could have sworn this wasn't an issue in the past. I could revert back to the April or May builds to confirm, but would rather not have to.

I need this functionality to work. Any ideas or alternate solutions?

Thanks!!

Paul
walter
Top achievements
Rank 1
 answered on 20 May 2018
13 answers
2.8K+ views
I have run into a bit of an issue.  When I try to do Response write on my website, I keep getting this error:

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '/jKdRzWx0huuXqI3TN3L'.

I get this error after my code has completed and the execution is going back to do a page refresh.  I know this is kind of bare minimum, but can anyone give any insight based on this information from this error?

Thanks in advance.
Lee
Marin Bratanov
Telerik team
 answered on 18 May 2018
0 answers
116 views

Hi, Telerik:

The situation step:

    1. Goto "Editor - Built-in Dialogs" page. (https://demos.telerik.com/aspnet-ajax/editor/examples/built-in-dialogs/defaultcs.aspx)

    2. Zoom browser to 125%.

    3. Select 'MetroTouch' or 'BlackMetroTouch' skin.

    4. Open 'Document Manager' or 'Template Manager'.

The dialog's height is too long, how do I decrease it?

Thanks.

ChainHome Yang
Top achievements
Rank 1
 asked on 18 May 2018
3 answers
398 views
Our users have notices that when the page is scrolled with the date picker control open and calendar is showing, that the calendar does not move with the date textbox as the page is scrolled.  Is there any way to have the dropdown calendar also move when page is scrolled.
Vessy
Telerik team
 answered on 18 May 2018
0 answers
96 views

Hello,

I have an issue with a Grid.

The environment where this happens is in Internet Explorer 9.

When a row is expanded everything looks fine, but if the data shown in the expanded grid has many rows (scroll is created) and then it is collapsed, the main grid loses its format. Please see the attached images.

 

Note that in the image where a row is expanded everything looks as it should be but, in the other image when it is collapsed it looks bad, seems like the width is missing.

 

The version is being used is:

Version: 2017.2.711.45

Could you help me with this issue?

 

Thank you.

Alberto
Top achievements
Rank 1
 asked on 17 May 2018
3 answers
160 views

Hi everybody,

I have two RadNumericTextBox which represent initial and final values. I added two js functions, one goes for ini and the other goes for fin. These check values entered by user to verify that initial value is minor or equal to final value and viceversa.

The issue with my code is that ini value isnot being set when I call ini.set_value(fin.get_value()). It will only work if I enter (for the second time) a new bigger initial value (initial value cannot be bigger than final value).

I already debugged the js and it works fine but it has to be executed twice in order to see the corrected value at initial RadNumericTextBox.

Here is the RadNumericTextBox declaration

1.<telerik:RadNumericTextBox ID="TextInicio" runat="server" Value="0" DataType="System.Int32" MinValue="1">
2.   <NegativeStyle Resize="None"></NegativeStyle>
3.   <NumberFormat ZeroPattern="n" DecimalDigits="0"></NumberFormat>
4.   <ClientEvents OnValueChanging="VerificarValorInicio" />
5.</telerik:RadNumericTextBox>

 

And the javascript function

01.function VerificarValorInicio(sender,args)
02.{
03.   var txtIni = $find("<%=TextInicio.ClientID%>");
04.   var ini = txtIni.get_value();
05.   var txtFin = $find("<%=TextFin.ClientID%>");
06.   var fin    = txtFin.get_value();
07. 
08.// If user entered an ini value bigger than fin value (which is not allowed)
09.   if (ini > fin) {
10.       txtIni.set_value(fin); // txtIni won´t show the value passed by fin variable
11.   }
12.}

 

Any ideas about this??

Thanks in advance

 

Peter Milchev
Telerik team
 answered on 17 May 2018
4 answers
1.2K+ views

Hi,

We have a vertically scrolled DIV and we want to export the whole DIV in PDF, we are using ClientExportManger exportPDF, but the only visible part of DIV exported in PDF while we need to export complete DIV in multiple PDF pages. Snapshot attached with a red highlighted scrollbar. How we achieve that goal? Any small sample application would be helpful.

Marin Bratanov
Telerik team
 answered on 17 May 2018
7 answers
471 views
Hi,

I have one user control which contains radtabstrip. For this I set ContentUrl property of RadPageView to one of the aspx page. This user control I placed in another aspx page. Now I want to access control & client side method of parent page(aspx) from my child page(RadPageView contenturl page). It is urgent. 

Thanks 
Vijesh
David
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 17 May 2018
0 answers
78 views

I have a RadDateTimePicker in a grid, which is in edit mode.  In a certain scenario, I want to clear the value that was selected in the RadDateTimePicker via javascript.

However, when I do a "find", or a "get", or "document.getElementById", I cannot find my object.  Any ideas?

I have tried with ClientIdMode not set and with it =AutoId

var myElement = $find("<%=Time.ClientID %>");      --object reference not set to an instance of an object

<EditFormSettings EditFormType="Template">
    <FormTemplate>
        <table width="100%" OnKeyPress="return disableEnterKey(event)">
            <tr>
                <td>
                    <div class="myClass1">
                        <span class="label" id="Span1">
                            junk
                        </span>
                        <span class="myClass2 id="Span2">
                            <telerik:RadDateTimePicker ID="Time" runat="server"  />
                        </span>
Stacy
Top achievements
Rank 1
 asked on 17 May 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?