Hi, Could any one please help me to know how to populate data in CheckBoxList (sever side control) through JavaScript (Ajax)?
The complete scenario is like that. I have a dropdown list control and base on the selected value from the dropdown list Checkboxlist will be populated by getting data from database. Thanks & regards Paul -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schwarz Sent: Wednesday, June 14, 2006 1:03 PM To: [email protected] Subject: [ajaxpro] Re: Ms.Position has no properties 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] This email may contain material that is confidential, privileged and/or attorney work product for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
