Hi,
you have to include the ms.ashx where the MS.Position is defined, see
web.config configuration for oldStyle/includeMsPrototype.
Regards,
Michael
On 6/14/06, Liming <[EMAIL PROTECTED]> wrote:
>
> Hi, I'm using the 6.6.7 dll and I'm trying the auto completel example.
> Here is my code
>
> <script type="text/javascript" src="scripts/autocomplete.js"></script>
> <script type="text/javascript">
> function ac_init()
> {
> var x = new MS.Web.AutoCompleteDataTable("TextBox1", 10);
>
> x.getDisplay = function(item) {
> return (item != null ? item.display_name : "");
> }
> x.getValue = function(item) {
> return (item != null ?
> item.display_name.toString().trimRight() :
> "");
> }
> x.getData = function() {
>
> Pyramid.index.GetSearchResult(this.ele.value,this.count,
> this.callback.bind(this));
>
> }
> addEvent(window, "load", ac_init);
> </script>
>
> but once I load in firefox or ie I get MS.Position has no properties.
>
> btw, I use prototype.js and effect.js in the same page as well, not
> sure if there is any conflict.
>
> Any suggestion is greatly appreciated it.
>
>
> >
>
--
Best regards | Schöne Grüße
Michael
Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer
http://weblogs.asp.net/mschwarz/
http://www.schwarz-interactive.de/
mailto:[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---