Sys.Application.add_init(function() {
$create(Telerik.Web.UI.RadNumericTextBox, {"_enableOldBoxModel":false,"_focused":false,"_originalValue":45,"_postBackEventReferenceScript":"setTimeout(\"__doPostBack(\\\u0027ctl00$m$g_c2c9bd70_6add_41ce_811f_7a6842bf9330$ctl10$6cd603ba-6163-4442-b414-0171c5db5942_upper_12$inputBox\\\u0027,\\\u0027\\\u0027)\", 0)","_shouldResetWidthInPixels":true,"clientStateFieldID":"ctl00_m_g_c2c9bd70_6add_41ce_811f_7a6842bf9330_ctl10_6cd603ba-6163-4442-b414-0171c5db5942_upper_12_inputBox_ClientState","enabled":true,"incrementSettings":{InterceptArrowKeys:true,InterceptMouseWheel:true,Step:1},"numberFormat":{"DecimalDigits":0,"DecimalSeparator":".","CultureNativeDecimalSeparator":".","GroupSeparator":",","GroupSizes":3,"NegativePattern":"-n","NegativeSign":"-","PositivePattern":"n","AllowRounding":true,"KeepNotRoundedValue":false,"KeepTrailingZerosOnFocus":false},"styles":{HoveredStyle: ["width:32px;", "riTextBox riHover eingabe number"],InvalidStyle: ["width:32px;", "riTextBox riError eingabe number"],DisabledStyle: ["width:32px;", "riTextBox riDisabled eingabe number"],FocusedStyle: ["width:32px;", "riTextBox riFocused eingabe number"],EmptyMessageStyle: ["width:32px;", "riTextBox riEmpty eingabe number"],ReadOnlyStyle: ["width:32px;", "riTextBox riRead eingabe number"],EnabledStyle: ["width:32px;", "riTextBox riEnabled eingabe number"],NegativeStyle: ["width:32px;", "riTextBox riNegative eingabe number"]}}, null, null, $get("ctl00_m_g_c2c9bd70_6add_41ce_811f_7a6842bf9330_ctl10_6cd603ba-6163-4442-b414-0171c5db5942_upper_12_inputBox"));
});

problem with custom fonts in the drop down.
My Radeditor component contains the following.
<FontNames>
<telerik:EditorFont Value="SomeFont1" />
<telerik:EditorFont Value="SomeFont2" />
<telerik:EditorFont Value="SomeFont3" />
</FontNames>
However, no matter what font is chosen the text in the dropdown box says Arial. If I examine the content it is updating to the selected font. (ie: <FONT face="SomeFont1">dfsdfasdfasdfasdf</FONT>) Only the text rendered in the dropdown says Arial.
Note, that the fonts being chosen do not actually exist on the computer. The content is being captured for an offline printing application, where the user chooses the font(s) the content will print in.
Does the editor require the chosen font to exist on the client computer?
Since, I dont what the user to think that the content will print in Arial. Is there a way to make the box say "Default" instead of "Arial"?


Hello,
I am having trouble finding the proper syntax for getting controls inside Radschedulers InlineInsertTemplate (or any other template for that matter) I have read the articles in the KB about accessing controls inside templates dealing with RadMenu but none specifically dealing with RadScheduler.
I am trying to check the value of a textbox in my template on appointment insert to see if it has a value or not. If not, I want to be able to insert some sort of default value into the appointment. Whenever I try to access controls in the inline edit using schedule.FindControl("myTextBox") or schedule.NamingContainer.FindControl("myTextBox") I am met with an error
Object reference not set to an instance of an object.
Here is an example of the code I am trying to use.
| Protected Sub schedule_AppointmentInsert(ByVal sender As Object, ByVal e As Telerik.Web.UI.SchedulerCancelEventArgs) Handles schedule.AppointmentInsert |
| 'Insert this dummy value into the textbox when appointment is being inserted |
| CType(schedule.FindControl("TitleTextBox"), TextBox).Text = "YO" |
| End Sub |
| protected void Page_Load(object sender, EventArgs e) |
| { |
| if (!Page.IsPostBack) |
| { |
| RadTreeNode rootNode = new RadTreeNode("Computers"); |
| rootNode.Attributes.Add("type", "ROOT"); |
| rootNode.Value = "ROOT"; |
| rootNode.ImageUrl = "~/TreeView/Img/WindowsXP/6myNetworkPlaces.gif"; |
| rootNode.Expanded = true; |
| rootNode.ExpandMode = TreeNodeExpandMode.ServerSideCallBack; |
| RadTreeView1.Nodes.Add(rootNode); |
| } |
| } |
| protected void RadTreeView1_NodeExpand(object sender, RadTreeNodeEventArgs e) |
| { |
| if (e.Node.Attributes["type"] == "ROOT") |
| { |
| RadTreeNode node = new RadTreeNode("mypc"); |
| node.Attributes.Add("type", "COMPUTER"); |
| node.Value = "COMPUTER"; |
| node.ImageUrl = "~/TreeView/Img/WindowsXP/2PCRemote.gif"; |
| node.ExpandMode = TreeNodeExpandMode.ServerSideCallBack; |
| e.Node.Nodes.Add(node); |
| return; |
| } |
| if (e.Node.Attributes["type"] == "COMPUTER") |
| { |
| RadTreeNode node = new RadTreeNode("C"); |
| node.Attributes.Add("type", "DRIVE"); |
| node.Value = "DRIVE"; |
| node.ImageUrl = "~/TreeView/Img/WindowsXP/15hardDisk.gif"; |
| node.ExpandMode = TreeNodeExpandMode.ServerSideCallBack; |
| e.Node.Nodes.Add(node); |
| } |
| } |