grid = $find(
'<%= gvChartData.ClientID %>'
);
var
masterTable = grid.get_masterTableView();
<telerik:RadComboBoxID="CustomerComboBox" runat="server" Width="300px" Height="140px" EmptyMessage="Type a customer name" DataTextField="CustomerName" DataValueField="CustomerId" CheckBoxes="True" OnClientItemChecked="ReportSystem.CustomerComboBox_Checked" AllowCustomText="False" MarkFirstMatch = "True" OnClientKeyPressing="ReportSystem.OnClientKeyPressing" ></telerik:RadComboBox>
I'm using the same functionality as outlined in "RadGrid bound to WCF Web Service" sample. In that sample the client binding section is as such
<ClientSettings>
<DataBinding SelectMethod="GetDataAndCount" Location="GridWcfService.svc"
SortParameterType="Linq" FilterParameterType="Linq">
</DataBinding>
</ClientSettings>
However I have a need to send extra parameters in that GetDataAndCount() function. I don't see any way to intercept this call on the client side and provide the necessary information.
Can you please advise?
You can create a Litral control and set the Text property, like following -
protected override void CreateChildControls()
{
Litral scriptLitral=new Litral();
scriptLitral.Text="<script type='text\javascript'>";
scriptLitral.Text+="function CustomAlert(msg){";
scriptLitral.Text+="alert(msg);}</script>";
Controls.Add(scriptLitral);
}