I have the following coding
<telerik:RadTextBox ID="RadTextBox1" runat="server" EnableEmbeddedSkins="false" BackColor="Red" ForeColor="White" />
<asp:Button ID="btnTest" runat="server" OnClientClick="populateNTLogin('test');return false;" />
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript">
function populateNTLogin(arg)
{
var textbox = window["<%= RadTextBox1.ClientID %>"];
textbox.SetValue(arg);
return false;
}
</script>
</telerik:RadCodeBlock>
On clicking the button, the value is not populated to the textbox. Any idea how to solve this