| function checkPassword() { |
| var passwdBox = $find("<%= PasswordBox.ClientID %>"); |
| passwdBox.get_styles().EnabledStyle[0] += "background-color: Red;"; |
| passwdBox.updateCssClass(); |
| } |
#region CreateChildControls
protected override void CreateChildControls()
{
try
{
//// Creation of the Controls
radPaneTop.Controls.Add(radEditorTop);
radPaneBottom.Controls.Add(radEditorBottom);
radSplit.Controls.Add(radPaneTop);
radSplit.Controls.Add(radSplitBar);
radSplit.Controls.Add(radPaneBottom);
this.Controls.Add(radSplit);
base.CreateChildControls();
}
catch (Exception ExpCreateChildControls)
{
throw ExpCreateChildControls;
}
}
#region EnsureChildControls
protected override void EnsureChildControls()
{
base.EnsureChildControls();
}
#endregion
#endregion
protected override void Render(HtmlTextWriter writer)
{
try
{
// AddAttributesToRender(writer);
if (HttpContext.Current != null)
{
//Panel a = new Panel();
//TextBox b = new TextBox();
//a.RenderBeginTag(writer);
this.radSplit.RenderBeginTag(writer);
this.radPaneTop.RenderBeginTag(writer);
//this.radEditorTop.RenderControl(writer);
this.radEditorTop.RenderControl(writer);
this.radPaneTop.RenderEndTag(writer);
this.radSplitBar.RenderBeginTag(writer);
this.radSplitBar.RenderEndTag(writer);
this.radPaneBottom.RenderBeginTag(writer);
this.radEditorBottom.RenderControl(writer);
this.radPaneBottom.RenderEndTag(writer);
this.radSplit.RenderEndTag(writer);
}
}
catch (Exception ex)
{
}

<
link href="../Skins/WFSP/Spell.WFSP.css" rel="stylesheet" type="text/css" /> <telerik:RadSpell ID="RadSpell1" runat="server"
ControlToCheck="txtShortDesc" EnableEmbeddedSkins="false" Skin="WFSP" AllowAddCustom="False" ButtonType="ImageButton" ButtonText="abc" ToolTip="Click to Spell Check" SupportedLanguages="en-US,English" WordIgnoreOptions="UPPERCASE, RepeatedWords, WordsWithNumbers"DialogsCssFile="~/Skins/WFSP/Spell.WFSP.css" />
Thank you in advance.
<telerik:GridTemplateColumn DataField="Price" HeaderText="Price"
SortExpression="Price" UniqueName="TemplateColumnPrice">
<ItemTemplate>
<telerik:RadNumericTextBox ID="txtPrice" runat="server" EmptyMessage="type ..." ShowSpinButtons="True" Type="Currency" width="200px" InvalidStyleDuration="100" Value='<%# Convert.ToDecimal(DataBinder.Eval(Container.DataItem, "Price")) %>'>
<NumberFormat AllowRounding="True" KeepNotRoundedValue="False" />
</telerik:RadNumericTextBox>
<asp:RequiredFieldValidator ID="rqPrice" ControlToValidate="txtPrice" runat="server" ErrorMessage="<%$ Resources:Backend, Required %>"/>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField="Price" HeaderText="Price"
SortExpression="Price" UniqueName="TemplateColumnPrice">
<ItemTemplate>
<telerik:GridNumericColumnEditor ID="GridNumericColumnEditor1" runat="server">
<NumericTextBox EmptyMessage="type ..." ShowSpinButtons="True" Type="Currency" width="200px" InvalidStyleDuration="100" Value='<%#Bind("Price") %>' ID="txtPrice">
<NumberFormat AllowRounding="True" KeepNotRoundedValue="False" />
</NumericTextBox>
</telerik:GridNumericColumnEditor>
</ItemTemplate>
</telerik:GridTemplateColumn>
