i have a javascript function say 'onclientclicking'.
<script type="text/javascript">
function OnClientClicking(button, args) {
window.location = button.get_navigateUrl();
args.set_cancel(true);
}
</script>
I want to execute this function from code behind. What i am trying to do is based on certain conditions, i need to set the event to telerik button
rad_btn_text.Attributes["OnClientClicking"] = javascript function;
how can it be possible?
regards,
Sivajith S