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?
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.
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.
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
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.
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
>