Hi,

I work with aspx page.

If I add Ajax.Autocompleter in my page aspx, it's ok.

But If I add the  Ajax.Autocompleter in WebUserControl(ascx), I have a
javascript error.


 <asp:TextBox runat="server" ID="stop"  Width="285"></
asp:TextBox>
  <div class="update" id="stop_update"></div>

new Ajax.Autocompleter ("<%=stop.ClientID %>",
'stop_update',
'autocompletion.aspx',
{
method: 'post',
paramName: 'stop',
afterUpdateElement: map_stop
});

error message : Ajax is not defined
                      'stop_update',


The same code is ok if it's directly in the aspx page.

Thank's for your help.

Cedrico
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to