I've a RadGrid and a ItemTemplateColumn which contains a RadTextBox, I'm binding the grid on client side by using a Webservice and on "OnRowDataBound" event i want to set value in the textbox (that is present inside the ItemTemplate)
<telerik:RadGrid ID="dgvDataEntry" runat="server">
<MasterTableView>
<Columns>
<telerik:GridTemplateColumn HeaderText="Attribute Name" DataField="AttrName" UniqueName="AttrName">
<ItemTemplate>
<telerik:RadTextBox ID="RadTextBox1" runat="server" />
</ItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
</MasterTableView>
<ClientSettings>
<ClientEvents OnRowDataBound="RadGrid1_RowDataBound" />
</ClientSettings>
</telerik:RadGrid>
here is my OnRowDataBound event
function RadGrid1_RowDataBound(sender, args) {
var txt = args.get_item().findControl("RadTextBox1"); //I always get "null" here
}
Is it the wrong way to access the control inside the ItemTemplate? Let me know where i'm doing wrong?
I have populated the FontNames tool with a list in toolsfile.xml (standard fonts like Arial, etc), plus some additional fonts using FontNames.Add() in code. The additional fonts are hosted elsewhere, and are loaded with css @font-face statements.
All the fonts appear in the drop down list, and are correctly applied to content, so the important part is working well.
The problem occurs when you put your cursor in some text which has a font applied. If it is one of the common fonts, the FontName tool correclty displays the name of the font. If it is one of the uncommon fonts I added to the list, the tool shows somethng like this: "Thread-00002640-Id-0000017d" instead of the actual font name.
Works correclty in Forefox and Webkit browsers
Any ideas on how to get IE to display the proper font name?
I am using version 2012.3.1308.40
SyncVariantLocalizations, SyncVariantPictures, etc).<asp:CheckBox ID="CheckBox5" runat="server" Enabled="false" Checked='<%# Eval("SyncVariantLocalizations")%>' /><telerik:GridTemplateColumn UniqueName="SyncSetting" HeaderText="Sync Settings" HeaderStyle-Width="232"> <ItemTemplate> <div style="float: right;"> <telerik:RadComboBox ID="RadComboBoxSyncConf" runat="server" Width="220px" CheckBoxes="true" EnableCheckAllItemsCheckBox="false" DropDownAutoWidth="Enabled"> <Items> <telerik:RadComboBoxItem Text="Product Localizations" Value="SyncProductLocalizations" Checked='<%# Eval("SyncProductLocalizations")%>' Enabled="false" /> <telerik:RadComboBoxItem Text="Product Pictures" Value="SyncProductPictures" Checked='<%# Eval("SyncProductPictures")%>' Enabled="false" /> <telerik:RadComboBoxItem Text="Product Categories" Value="SyncProductCategoryMap" Checked='<%# Eval("SyncProductCategoryMap")%>' /> <telerik:RadComboBoxItem Text="Product Manufacturers" Value="SyncProductManufacturerMap" Checked='<%# Eval("SyncProductManufacturerMap")%>' /> <telerik:RadComboBoxItem Text="Variant Localizations" Value="SyncVariantLocalizations" Checked='<%# Eval("SyncVariantLocalizations")%>' /> <telerik:RadComboBoxItem Text="Variant Pictures" Value="SyncVariantPictures" Checked='<%# Eval("SyncVariantPictures")%>' /> <telerik:RadComboBoxItem Text="Variant Attributes" Value="SyncVariantCustomAttributes" Checked='<%# Eval("SyncVariantCustomAttributes")%>' /> </Items> </telerik:RadComboBox> </div> </ItemTemplate> </telerik:GridTemplateColumn><telerik:RadMenu ID="RadMenu1" runat="server" Flow="Horizontal" EnableEmbeddedSkins="False" Skin=""> <Items> <telerik:RadMenuItem Text="Home" ></telerik:RadMenuItem> <telerik:RadMenuItem runat="server" Text="|" IsSeparator="True" /> <telerik:RadMenuItem Text="About" ></telerik:RadMenuItem> <telerik:RadMenuItem runat="server" Text="|" IsSeparator="True" /> <telerik:RadMenuItem Text="Contact" ></telerik:RadMenuItem> </Items></telerik:RadMenu>string
imageURL = Page.ResolveUrl("~/Images/") + "Companylogo.jpg";
Telerik.Web.UI.ExportInfrastructure.
Table table = pExportEventArgs.ExportStructure.Tables[0];
xls.
Cell cmpCell = table.Cells["A1"];
table.InsertImage(cmpCell, imageURL);
table.ShiftRowsDown(1, 8);
Then I need to add some information to the sheet like this on row 9, from starting cell like this:
table.rows[9].cells[0]. value = "Down loaded from company name:" + current Date Time;
For this long text to appear as visible, I want to merge cells and then display.
From row 10, grid data gets displayed. If cell1 is not wide enough, row 9 value partially is visible.
How can I merge cells of particular row and add value to it.
I appreciate your response.