Hi all,
Currently, I have a combo box in a user control where the AllowCustomText property is set to true so that I can perform LoadOnDemand. However, I have an issue with preventing special characters from being entered. I looked at the article: http://www.telerik.com/help/aspnet-ajax/combo-prevent-typing-particular-characters.html. Unfortunately, I have been having a difficult time trying to implement the suggestions in the article. I tried to use the ClientScript methods from the page (ClientScript.RegisterClientStartupScript, etc) but to no avail.
In addition, I tried to append to the page's onload with the following code snippet
Format Code Block(
if (window.addEventListener){
window.addEventListener('onload', 'someFunction', false);
}
else if (window.attachEvent){
window.attachEvent('onload', 'someFunction');
}
)
Also, I tried it with and without the quotes for someFunction.
Does anyone out there have any suggestions?
Thanks,
Ron