I have created a Rad Button on Page_Init Method for Contenet Palce Holder. I want call onClientClickEvent whenever i click on it.
For Example:
Thanks,
Sandeep
For Example:
RadButton b =
new
RadButton();
b.ID =
"btnAddNew"
;
b.Text = Resources.GetText(
"Add"
);
b.CommandName =
"Add"
;
b.Skin =
"Office2010Silver"
;
b.AutoPostBack =
false
;
b.Icon.PrimaryIconCssClass =
"actionBarAdd"
;
b.Attributes.Add(
"OnClientClicked"
,
"UsersActionButtonClicked()"
);
Thanks,
Sandeep