<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.
I was able to reproduce the problem in your online demo: http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx
Steps to reproduce:
I am running IE10.
Thanks.
' this method handles lump sum entry of one character using the pen' it also is called using a mousePrivate Sub KeyEntry1_SubmitClicked() Handles KeyEntry1.SubmitClicked ' if the button tapped was the del button clear the qty textbox If KeyEntry1.pTag.ToString() = "del" Then rntbLumpSum.Value = Nothing rntbLumpSum.Text = "" ' otherwise append the character in the Tag property to the ' qty textbox ElseIf KeyEntry1.pTag.ToString() = "." Then Else rntbLumpSum.Text += KeyEntry1.pTag.ToString() End IfEnd SubImports Telerik.Web.UIPartial Class KeyEntry Inherits System.Web.UI.UserControl Public Delegate Sub SubmitClickedHandler() Private btnText As String Private key_press As String Public Event SubmitClicked As SubmitClickedHandler Public Property keyPad() As String Get Return btnText End Get Set(ByVal value As String) btnText = value End Set End Property Public ReadOnly Property pTag() As String Get Return key_press End Get End Property Protected Sub button_Click(sender As Object, e As EventArgs) Handles Bdel.Click, B0.Click, B1.Click, B2.Click, B3.Click, B4.Click, B5.Click, B6.Click, B7.Click, B8.Click, B9.Click, Bdot.Click btnText = DirectCast(sender, RadButton).Text key_press = DirectCast(sender, RadButton).Text RaiseEvent SubmitClicked() End SubEnd Class<div> <telerik:RadWindow ID="rwLumpSum" Modal="true" Top="0" Left="0" VisibleOnPageLoad="false" runat="server" > <ContentTemplate> <asp:UpdatePanel ID="cpLumpSum" UpdateMode="Conditional" runat="server"> <ContentTemplate> <table> <tr> <td>Lump Sum</td> <td> <telerik:RadNumericTextBox ID="rntbLumpSum" MinValue="0" MaxValue="999.99" runat="server"> <NumberFormat DecimalDigits="2" /> </telerik:RadNumericTextBox> </td> </tr> <tr> <td colspan="2"> <keypad:KeyEntry ID="KeyEntry1" runat="server" /> </td> </tr> <tr> <td> <telerik:RadButton id="rbCancel" Text="Cancel" OnClientClicked="rbCancelClicked" AutoPostBack="false" UseSubmitBehavior="false" CausesValidation="false" runat="server" /> </td> <td> <telerik:RadButton id="rbUpdate" Text="Update" OnClientClicked="rbUpdateClicked" runat="server" /> </td> </tr> </table> </ContentTemplate> <Triggers> <asp:PostBackTrigger ControlID="rbUpdate" /> </Triggers> </asp:UpdatePanel> </ContentTemplate> </telerik:RadWindow></div>