Josef:
Thanks for your encouraging reply - I did get it working just recently - the key was to add the line:
<%@ Register Assembly="RadInput.Net2" Namespace="Telerik.WebControls" TagPrefix="radI" %>
in addition to a similar line registering my custom controls.
However, I am still left with a javascript error:
"RadMaskedTextBox is not defined"
in reference to this script in the page source:
<span id="MyRadInput1_wrapper"><script type="text/javascript" src="/WebTest/RadControls/Input/Scripts/1_2_0/RadInput.js"></script><input type="hidden" id="MyRadInput1" value="" /><input type="hidden" name="MyRadInput1" value="" id="MyRadInput1_Value" /><input id="MyRadInput1_TextBox" name="MyRadInput1_TextBox" type="text" value="" /><script type="text/javascript">window["MyRadInput1"] = new RadMaskedTextBox("MyRadInput1", "");window["MyRadInput1"].PromptChar="_";window["MyRadInput1"].DisplayPromptChar="_";window["MyRadInput1"].SetMask();window["MyRadInput1"].SetValue(window["MyRadInput1"].field.value);window["MyRadInput1"].Initialize();</script></span>
<span id="RadMaskedTextBox1_wrapper"><input type="hidden" id="RadMaskedTextBox1" value="" /><input type="hidden" name="RadMaskedTextBox1" value="" id="RadMaskedTextBox1_Value" /><input id="RadMaskedTextBox1_TextBox" name="RadMaskedTextBox1_TextBox" type="text" value="" /><script type="text/javascript">window["RadMaskedTextBox1"] = new RadMaskedTextBox("RadMaskedTextBox1", "");window["RadMaskedTextBox1"].PromptChar="_";window["RadMaskedTextBox1"].DisplayPromptChar="_";window["RadMaskedTextBox1"].SetMask();window["RadMaskedTextBox1"].SetValue(window["RadMaskedTextBox1"].field.value);window["RadMaskedTextBox1"].Initialize();</script></span></div>
(excuse long line)
This arises from ( I assume) my aspx line:
<cc1:MyRadInput ID="MyRadInput1" runat="server" Text="Hello!"></cc1:MyRadInput>
and a script element:
<script type='text/javascript' language='javascript' src='/RadControls/Input/Scripts/1_2_0/RadInput.js'></script>
This must be some installation problem, yet I
have copied ALL of the RadControls folder to the WebTest (root) folder...
Obviously the javascript does not recognise RadMaskedTextBox - what to do?
Any light to shed on this problem much appreciated.
BTW, I am using VS 2005 and Q1 2006 Telerik
Regards
James.