<a href="javascript://" onclick="var win = GetWindow().BrowserWindow.radopen('randomPopup.aspx'); win.set_modal(true);">Click me</a><a href="javascript://" onclick="var win = GetWindow().BrowserWindow.radopen('randomPopup.aspx'); win.set_modal(true);"><img src="clickMe.png" /></a>
<telerik:RadTreeView ID="tvIndustrySectors" runat="server" CheckBoxes="true" TriStateCheckBoxes="False" Height="180px" />I am using radeditor’s old version and now want to upgrade to new one.
I downloaded the trial version and problem I am facing is, while adding customize toolbar i can’t add a linkurl in configfile.
What I want to do is I want to show one image in tools option and clicking on it will call a function. This is working fine with old radeditor by adding option <tool name="setbackgroundcolor" IconUrl="BackColor.gif" /> If I am using same config file with new editor it is giving me javascript error on load, so can you please tell me how I can achieve same functionality with new ediotor.
<
rad:RadAjaxPanel ID="rjPnlRegister" runat="server" LoadingPanelID="ajxldpnlRegister">
<
rad:RadCaptcha ID="rdCaptcha" runat="server" ErrorMessage="You have entered an invalid code." ValidationGroup="SubmitGroup">
</rad:RadCaptcha>
<asp:Label ID="lblStatus" runat="server" Text="Label"></asp:Label>
<asp:Button ID="btnSubmit" runat="server" Text="Button"
ValidationGroup="SubmitGroup" onclick="btnSubmit_Click" />
</rad:RadAjaxPanel>
<
rad:RadAjaxLoadingPanel ID="ajxldpnlRegister" runat="server" Transparency="20" BackColor="#FFFFFF">
<asp:Image runat="server" ID="imgLoading" SkinID="imageajaxloading" AlternateText="" />
</
rad:RadAjaxLoadingPanel>
The Code in aspx.cs page:
protected
void btnSubmit_Click(object sender, EventArgs e)
{
if (Page.IsValid)
{
lblStatus.Text =
"correct!";
lblStatus.ForeColor = System.Drawing.
Color.Red;
}
}
I tested same code in ascx page and aspx page but in aspx page it works fine in aspx page i.e its validating correctly
but in ascx page its not validating when click on the button
can any tell why its happening like that....