WebServiceSetting supports Page Method calls

4 posts, 0 answers
  1. Joel Brom
    Joel Brom avatar
    11 posts
    Member since:
    Feb 2010

    Posted 19 Feb 2010 Link to this post

    <WebServiceSettings Method="PageMethods.LoadCombo" Path="Admin.aspx.cs" /> 
    I have coded my web method in the code behind rather than into an asmx.  I get Server Method 'PageMethods.LoadCombo' failed. when clicking on the dropdown arrow.
    I created a test button that successfully executes the PageMethod, however, I do not want my users to have to click on another control.

    Must I create a Web Service for LoadOnDemand to function when the populating the RCB?
  2. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 19 Feb 2010 Link to this post

    Hi Joel Brom,

    We have an example showing RadComboBox loading on demand from a Page Method. Please compare the implementation to yours.

    Regards,
    Simon
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. mark baer
    mark baer avatar
    142 posts
    Member since:
    Sep 2009

    Posted 17 Mar 2011 Link to this post

    I can get the Page Method working when the user is first looking for something in the Combobox, but can I still use this methodology when I put the form in "Edit" mode?  Meaning, I've gone to the database, retrieved my "Order" object and now I'm going to populate the textboxes and comboboxes on the page.  But if one of my comboboxes is using this lazy loading, I won't be able to pre-select the value that was saved for that order, correct?  Is there a decent work around?

    thanks
  4. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 18 Mar 2011 Link to this post

    Hi mark baer,

    Yes, there is a decent workaround, shown in this demo.

    I hope it helps.

    Kind regards,
    Simon
    the Telerik team
Back to Top