or

<telerik:RadTextBox ID="txtSalution" Text='<%# Eval("salutation") %>' runat="server" Translate="false" AutoPostBack="false" ReadOnly="true" Width="70px" ReadOnlyStyle-Font-Bold="true" ReadOnlyStyle-Font-Size="10" ReadOnlyStyle-BackColor="#F0F0F0" />
<telerik:RadTextBox ID="txtSalution" Text='<%# Eval("salutation") %>' runat="server" Translate="false" AutoPostBack="false" ReadOnly="true" Width="70px" ReadOnlyStyle-Font-Bold="true" ReadOnlyStyle-Font-Size="10" ReadOnlyStyle-BackColor="#F0F0F0" HoveredStyle-Font-Bold="true" HoveredStyle-Font-Size="10" HoveredStyle-BackColor="#F0F0F0" />
function chkIfEmpty(parmtxt) { var rtxtBox = $find(parmtxt); var val = rtxtBox.get_element().value; if (!$.trim(val).length) { $('#imgaccept1').attr('style', 'display:none;'); $('#imgexclamation1').attr('style', 'display:block;'); $('#hfEingabeCheck').val('false') }}<telerik:RadTextBox ID="rtxtVermittlerName" runat="server" Label="Name" LabelWidth="100px" Width="350px" Skin="MetroTouch" EmptyMessage="Mustermann" onblur="chkIfEmpty('<%= rtxtVermittlerName.ClientID %>')"></telerik:RadTextBox> "parmtxt" is null.
if i write it directly like this: var rtxtBox = $find("<%= rtxtVermittlerName.ClientID %>");
it works.
What i'm doing wrong?
Thanks for reading.
Daniel
Hi everybody,
I just updated a VS 2012 project to Version 2013.1.220.35 where I use the AutoCompleteBox. Suddenly it ignores my DropDownItemTemplate and shows just the information from the DataTextField. I checked the demo and it looks the same. The Client-Side-Template seems to work fine, the Server-Side-Template not at all.
Does anyone have the same problem?
Best Regards
Denis
Hello I am very new to the telerik controls I am trying to change the radbox text in the page load event but it is not changing .
<radtextbox id="test" runat="server" > public void page_load() { test.Text= Session.PageCount.ToString(); }<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="input_size.aspx.vb" Inherits="Elan.Web.input_size" %><!DOCTYPE html><html><headrunat="server"><title></title></head><body><formid="form1"runat="server"><telerik:RadScriptManagerrunat="server"ID="ScriptManager1"/><div><telerik:RadButtonSkin="Metro"Text="Button"runat="server"ID="bTest"/><telerik:RadComboBoxSkin="Metro"runat="server"ID="dTest"/><telerik:RadTextBoxSkin="Metro"runat="server"ID="tTest"/><telerik:raddatepickerSkin="Metro"runat="server"ID="dtTest"/></div></form></body></html>
Protected Overloads Sub grid_pdfExport(ByVal source As Object, ByVal e As GridPdfExportingArgs) e.RawHTML = e.RawHTML.Replace("<br>", "<br/>") e.RawHTML = Regex.Replace(e.RawHTML, "</?(div).*?>", "") e.RawHTML = Regex.Replace(e.RawHTML, "</?(a).*?>", "") e.RawHTML = e.RawHTML.Replace("width: 100%; table-layout: auto;", "width:100% ; border: 1px solid #666; border-collapse: collapse; margin: 0;") e.RawHTML = e.RawHTML.Replace("<th scope=""col"">", "<th scope=""col"" style=""font-weight: normal; color: #fff; background-color: #333; border: 1px solid #f1f1f1; white-space: normal; padding: 2px 3px; vertical-align: bottom; line-height: 18px; text-align: left; font-family: arial; font-size: 8px; "">") e.RawHTML = e.RawHTML.Replace("<td>", "<td style=""font-weight: normal; color: #000; background-color: #fff; border: 1px solid #f1f1f1; white-space: normal;border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; border-right: 1px solid #f1f1f1; border-left: 1px solid #f1f1f1; padding: 2px 5px; vertical-align: top; text-align: left; font-family: arial; font-size: 8px; "">")End Sub