This is a migrated thread and some comments may be shown as answers.

what is the analogue of property 'Externalcallbackpage'?

2 Answers 46 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Valera
Top achievements
Rank 1
Valera asked on 26 Oct 2008, 03:46 PM
what is the analogue of property 'Externalcallbackpage'
in new version?

2 Answers, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 27 Oct 2008, 06:18 AM
Hello Valera,

In RadComboBox for ASP.NET AJAX the ExternallCallBackPage mechanism is no longer needed.You can simply define the ItemsRequested event in the same (parent) page. It should work as expected.

Also the control could make a request to a Web Service.

Please review the following for more information:
I hope this helps.


All the best,
Rosi
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Valera
Top achievements
Rank 1
answered on 27 Oct 2008, 12:16 PM
I use Url Rewriting in my project like this (simplified version):

public virtual IHttpHandler GetHandler(HttpContext context, String requestType, String url, String pathTranslated)
        {
            url = HttpUtility.UrlDecode(url);
            if (url.Equals("/search/"))
            {
                string targetUrl = "/Search.aspx";
                return PageParser.GetCompiledPageInstance(targetUrl, context.Server.MapPath(targetUrl), context);
           }
}


Search.aspx contains multiple comboboxes.
OnItemsRequested cannot post an AJAX request and returns a javascript error:

[Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: http://test/WebResource.axd?d=K0OWJcgTCXpun5romeS0Fg2&t=633319519957187500 :: WebForm_DoCallback :: line 85"  data: no]
http://test/ScriptResource.axd?d=yrpPTO0G2xX8B6oO7Lr5xvu247QrFxFyGVyPpJOO73Z9w4pxTxs8VmHthTBrqU6S0if0mR-afdUFsHyrnAApsA2&t=633583814480000000
Line 655

You can download a complete project here:
http://xaf.cmsplanet.ru/delight/mymulticombo.zip

Previous versions of RadCombobox (2.8.2.0) worked fine.

How can I resolve the problem?
Thank you.

Valera.
Tags
ComboBox
Asked by
Valera
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Valera
Top achievements
Rank 1
Share this question
or