Link to home
Start Free TrialLog in
Avatar of juststeve
juststeve

asked on

Can this JavaScript framework be implemented in .NET 1.1

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);");
}
ASKER CERTIFIED SOLUTION
Avatar of sasapopovic
sasapopovic
Flag of Serbia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of juststeve
juststeve

ASKER

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.
My bad...this question should have been in asp.net.