We help IT Professionals succeed at work.

Can this JavaScript framework be implemented in .NET 1.1

juststeve
juststeve used Ask the Experts™
on
I'm attempting to implement a set of javascript functions that produce type ahead functionality for a .net dropdown list box as found at:
http://aspalliance.com/articleViewer.aspx?aId=775&pId=-1

Alas, the solution assumes .net 2.0 where the code-behind rests on using the block below. I _think this is doing nothing more complicated (nor _less) than assigning a javascript function to an event on the rendered web control...that _should mean it can be achieved in the 1.1 framework?

{
  Type typ = GetType();
  if (!Page.ClientScript.IsClientScriptIncludeRegistered(typ, js))
  Page.ClientScript.RegisterClientScriptInclude(typ, js, js);
  ddlTest.Attributes.Add("onKeyDown", "TADD_OnKeyDown(this);");
}
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Hello juststeve,

First of all, you don't need to use Atlas in order to have AJAX enabled pages. As you probably know, you can do that without AJAX. There are a few solutions you can use instead of AJAX but AJAX is not made for .Net 2.0 and as far as I know it will not be adjusted to work with .Net 1.1 (VS2003).
Here is one free solution you can use in .Net 1.1: http://www.ajaxpro.info/

I hope this will help you.

Regards,
Sasa

Author

Commented:
Tho i used 'framework' in the subject title...the javascript in question is just a handful of function working together for type ahead support of a dropdown box. Not a full fledged Ajax framework.

Author

Commented:
My bad...this question should have been in asp.net.