or
function OnClientButtonClicking(sender, args) { var button = args.get_item(); if (button.get_commandName() == "SendEmail") { var emailaddress = document.getElementById("EmailAddress").value; var subject = document.getElementById("EmailSubject").value; var editor = $find("<%=RadEditorEmailBody.ClientID%>"); var body = editor.get_html(); window.location = "mailto:" + emailaddress + "?subject=" + subject + "&body=" + body; } }string body = string.Empty;body += string.Format("This is the message to send.<br />");body += string.Format("It contains various information<br />");body += string.Format("<br />");RadEditorEmailBody.Content =body;var body = editor.get_html(true); in the javascript the result is the same, but the text is clipped if I enter a special character like §, ø, etc.<telerik:RadComboBox ID="d1ConDDL" Width="275px" Height="150px" DropDownWidth="275px" OnItemsRequested="contactItemsRequested" runat="server" EmptyMessage="Please choose a contact..." HighlightTemplatedItems="True" EnableVirtualScrolling="True" ShowMoreResultsBox="True" EnableLoadOnDemand="True"> <HeaderTemplate> <table style="width: 250px; text-align: left"> <tr> <td style="width: 125px;"> Contact Name </td> <td style="width: 125px;"> Contact ID </td> </tr> </table> </HeaderTemplate> <ItemTemplate> <table style="width: 250px; text-align: left;"> <tr> <td style="width: 125px;"> <%# DataBinder.Eval(Container,"Attributes['CONTACT_ORG']") %> </td> <td style="width: 125px; text-align: left"> <%# DataBinder.Eval(Container, "Attributes['CONTACT_ID']")%> </td> </tr> </table> </ItemTemplate> </telerik:RadComboBox>protected void contactItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e) { var ds = new DataSet(); var factory = new QueryFactory(new Configuration().DataConfigurationFile); var query = factory.GetQuery("P_GET_ALL_CONTACTS"); query.Fill(ds); var dt = ds.Tables[0]; var itemOffset = e.NumberOfItems; var endOffset = Math.Min(itemOffset + ItemsPerRequest, dt.Rows.Count); e.EndOfItems = endOffset == dt.Rows.Count; for (var i = itemOffset; i < endOffset; i++) { d1ConDDL.Items.Add(new RadComboBoxItem(dt.Rows[i]["CONTACT_ORG"].ToString(), dt.Rows[i]["CONTACT_ID"].ToString())); d2ConDDL.Items.Add(new RadComboBoxItem(dt.Rows[i]["CONTACT_ORG"].ToString(), dt.Rows[i]["CONTACT_ID"].ToString())); } d1ConDDL.DataBind(); e.Message = GetStatusMessage(endOffset, dt.Rows.Count); }
