Hi mates,
I have a Telerik RadGrid with a DetailsTable, and the following CommandItemTemplate is in this DetailsTable:
<CommandItemTemplate>
<asp:LinkButton ID="btnNuevoAperitivoFrioIng" runat="server" ForeColor="#384e73" OnClick="btnNuevoAperitivoFrioIng_Click" ><img style="border:0px;vertical-align:middle; height:24px; width:24px" alt="" src="../img/buttons/add.png"/>Nuevo</asp:LinkButton>
</CommandItemTemplate>
I need to get the ID of the expanded parent row when I clic on btnNuevoAperitivoFrioIng (in the btnNuevoAperitivoFrioIng_Click function). How could I get this ID, please?
Thanks a lot in advance.
Cheers.
David Ortega
Hi
I am exporting a radgrid to pdf and setting the background colour of alternate lines as light grey, font and font size for cells and footer in the item created event, and all is working as it should.
However I would like to change the text color or background color of a column based on the value of another column but I am not sure in which event I should do this while exporting to pdf. I tried the RadGrid1_ItemDataBound event but it has no effect on the pdf output.
Can you point me in the right direction?
Thanks
<
telerik:RadEditor
ID
=
"txtsomeID"
runat
=
"server"
Width
=
"100%"
AutoResizeHeight
=
"false"
Height
=
"300px"
TabIndex
=
"1"
StripFormattingOnPaste
=
"All"
EnableResize
=
"false"
OnClientLoad
=
"OnClientLoad"
OnClientSubmit
=
"OnClientSubmit"
>
<
Content
></
Content
>
<
ContextMenus
>
<
telerik:EditorContextMenu
Enabled
=
"false"
/>
<
telerik:EditorContextMenu
TagName
=
"IMG"
Enabled
=
"false"
/>
<
telerik:EditorContextMenu
TagName
=
"TABLE"
Enabled
=
"false"
/>
</
ContextMenus
>
</
telerik:RadEditor
>
<script type="text/javascript>
function OnClientLoad(editor, args) {
var element = document.all ? editor.get_document().body : editor.get_document();
var eventHandler = document.all ? "drop" : "dragstart";
var selElem = editor.getSelectedElement();
$telerik.addExternalHandler(element, eventHandler, function(e) { $telerik.cancelRawEvent(e); return false; });
}
function OnClientSubmit(editor) {
editor.fire("FormatStripper", { value: "ALL" });
}
</script>
Hi,
I've been experiencing a problem with RadPivotGrid for a while now and the problem is when you zoom in (or out) a page that contains radpivotgrid, row alignment is gone and as you see in the attached screenshot, the problem exists even in product demos.
this also happens occasionally without even zooming, specially on slow connections rows are not aligned with their headers properly.
Is there a fix for it? Is there a client side method that can realign rows?
Please help.
Thanks
Hi,
I am using the Tree List control with Auto Generate Columns
set to false. I want to use in place editing, but the documentation states that
in place editing is only for Auto Generate Columns. I have placed an HTML text
box in an item template with an onClick event.
<input id="txtDescription" type="text" value="<%# Eval("Description") %>" onclick="Field_onClick(this, false);" onblur="Field_onBlur(this);" readonly="readonly" />
function Field_onClick(txt,
allowBlank) {
if (_mode == mode.Params)
{
_tlConfig.AllowEdit = true;
txt.readOnly = '';
txt.focus();
}
}
The problem is that I have to click on the text box twice
before I can edit it contents. Is there a way around this problem?
Thanks, Paul.