Posted 21 Jun 2012 Link to this post
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="test.ascx.cs" Inherits="_Controls_test" %>
<
asp:Button
ID
=
"btnText"
runat
"server"
Text
"test"
OnClick
"btnTest_Click"
/>
protected
void
btnTest_Click(
object
sender, EventArgs e)
{
CommandEventArgs args =
new
CommandEventArgs(
"TestEvent"
,
"bubbled up!"
);
RaiseBubbleEvent(
null
, args);
}
telerik:RadScriptManager
"ScriptManager1"
telerik:RadAjaxPanel
"UpdatePanel1"
LoadingPanelID
"UpdateProgress1"
>
This is a test page:<
br
asp:Literal
"litTest"
/><
uc1:testUC
"testUC1"
</
telerik:RadAjaxLoadingPanel
override
bool
OnBubbleEvent(
source, EventArgs args)
if
(args !=
)
CommandEventArgs e = (CommandEventArgs)args;
(e.CommandArgument !=
litTest.Text += e.CommandName +
" = "
+ e.CommandArgument.ToString() +
"<br />"
;
return
true
false
Posted 26 Jun 2012 Link to this post
telerik:RadAjaxManager
"RadAjaxManager1"
DefaultLoadingPanelID
AjaxSettings
telerik:AjaxSetting
AjaxControlID
"Panel1"
UpdatedControls
telerik:AjaxUpdatedControl
ControlID
asp:Panel
Skin
"Default"
Posted 26 Jul 2012 Link to this post
telerik:RadToolTipManager
AnimationDuration
"300"
ShowDelay
"200"
HideDelay
"1"
"RadToolTipManager1"
Width
"480px"
Height
"227px"
RelativeTo
"Element"
Animation
"Slide"
Position
"BottomCenter"
OnAjaxUpdate
"OnAjaxUpdate"
"Telerik"
Page_Load(
(!IsPostBack)
Control btnDetail = (Control)
this
.FindControl(
.RadToolTipManager1.TargetControls.Add(btnDetail.ClientID,
"0"
OnAjaxUpdate(
sender, ToolTipUpdateEventArgs args)
.UpdateToolTip(args.Value, args.UpdatePanel);
private
UpdateToolTip(
string
elementID, UpdatePanel panel)
Control ctrl = Page.LoadControl(
"/_Controls/ContactBox.ascx"
panel.ContentTemplateContainer.Controls.Add(ctrl);
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %>
<%@ Register src="~/_Controls/test.ascx" tagname="testUC" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
html
xmlns
"http://www.w3.org/1999/xhtml"
head
id
"Head1"
title
></
body
form
"form1"
Posted 01 Aug 2012 Link to this post
Posted 22 Apr 2014 Link to this post
Posted 25 Apr 2014 Link to this post
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
Posted 25 Apr 2014 in reply to Maria Ilieva Link to this post
Posted 30 Apr 2014 Link to this post