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

How do I send parameters to a webservice

3 Answers 373 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Christos
Top achievements
Rank 1
Christos asked on 22 Nov 2010, 10:21 PM
I would like to ask the knowledgeable people of this forum this:
Given a radcombobox, declared as:
<telerik:RadComboBox ID="SearchComboBox" runat="server" EnableLoadOnDemand="true" AutoPostBack="false"
                    EmptyMessage="Αυτό που ψάχνεις" Width="169px" WebServiceSettings-Path="~/RetrieveHeadlines.asmx"
                    WebServiceSettings-Method="GetHeadlines" Skin="Sunset"
                    EnableItemCaching="true">
 </telerik:RadComboBox>

Given the webservice-declaration:
[WebMethod(EnableSession = true)]
[System.Web.Script.Services.ScriptMethod]
public RadComboBoxItemData[] GetHeadlines(RadComboBoxContext context, int divisionID)

How do I send a value to the "divisionID" parameter?

Thanks in advance: /Christos

3 Answers, 1 is accepted

Sort by
0
Kalina
Telerik team
answered on 25 Nov 2010, 11:11 AM
Hi Christos,

Please take a look at the "Passing Context Information to the Server" help article.

All the best,
Kalina
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Christos
Top achievements
Rank 1
answered on 30 Nov 2010, 11:21 PM
Yes, I was already aware about that article but the problem is that the OnClientItemsRequesting event fires only once.
0
Kalina
Telerik team
answered on 03 Dec 2010, 06:55 PM
Hello Christos,

OnClientItemsRequesting event fires on each request.
Could you please explain in more details the scenario that you implement?

Kind regards,
Kalina
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
ComboBox
Asked by
Christos
Top achievements
Rank 1
Answers by
Kalina
Telerik team
Christos
Top achievements
Rank 1
Share this question
or