or
Here is the code:
| <telerik:RadComboBox ID="radList" Runat="server" EnableEmbeddedSkins="False" Skin="search" Width="120px" NoWrap="True" Height="200px" DropDownWidth="225px" EnableLoadOnDemand="true" |
| OnClientItemsRequesting="OnClientItemsRequesting" ItemRequestTimeout="2000" |
| OnClientSelectedIndexChanged="onChanged" |
| EnableViewState="false" LoadingMessage="Loading..." EmptyMessage="Type to get results" |
| > |
| <WebServiceSettings Method="GetItems" Path="~/WebServices/Search.asmx" /> |
| </telerik:RadComboBox> |
And the javascript function called:
| function OnClientItemsRequesting(sender, eventArgs) |
| { |
| var text = eventArgs.get_text(); |
| if( text.length < 3) |
| { |
| eventArgs.set_cancel(true); |
| } |
| else{ |
| var context = eventArgs.get_context(); |
| context["FilterString"] = text; |
| } |
| } |
This is the only thing that I do for defining the conotrol. Is there any way to improve the perfomance, as 3 seconds just to get to server is really slow.
My second question is there a way to change mode of combo to textbox?
Thanks in advance for your help.
Best regards,
Khurram

if
(_9==RadCalendarUtils.RENDERINCOLUMNS&&_c){
for
(i=0;i<this.Cols;i++){
var
_37=_2.rows[_36].cells[_14+i];
if
(this.isNumber(_37.innerHTML)){
_37.innerHTML=_15[i]; ///This is where I have the error.



<telerik:RadGrid ID="CurrentSalesRepRadGrid" runat="server" CellSpacing="0" GridLines="None"
AllowAutomaticInserts="True" AutoGenerateColumns="False" DataSourceID="SalesRepSQLDS" style="z-index:9000">
<MasterTableView CommandItemDisplay="Top" DataSourceID="SalesRepSQLDS" EditMode="PopUp">
<CommandItemSettings ExportToPdfText="Export to PDF" AddNewRecordText="Take Over\Assign this Item" />
<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True">
</RowIndicatorColumn>
<ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True">
</ExpandCollapseColumn>
...... Clolumns
<EditFormSettings EditFormType="Template" PopUpSettings-Width="700px">
<EditColumn FilterControlAltText="Filter EditCommandColumn column">
</EditColumn>
<FormTemplate>
<table border="1" style="width: 458px">
<tr>
<td class="style2">
Select SalesRep :
</td>
<td>
<telerik:RadComboBox ID="SalesRepRadComboBox" runat="server" AutoPostBack="True"
DropDownWidth="700px" EnableItemCaching="True" EnableLoadOnDemand="True" EnableVirtualScrolling="True"
Height="190px" HighlightTemplatedItems="True" ItemRequestTimeout="500" OnItemsRequested="SalesRepRadComboBox_ItemsRequested"
OnLoad="SalesRepRadComboBox_Load" Text='<%# Session["userId"] %>' ShowMoreResultsBox="True"
Width="330px" OnSelectedIndexChanged="SalesRepRadComboBox_SelectedIndexChanged">
<CollapseAnimation Duration="200" Type="OutQuint" />
<HeaderTemplate>
<ul>
<li class="col0">ID</li>
<li class="col1">Name</li>
<li class="col2">e-Mail</li>
<li class="col3">Company</li>
</ul>
</HeaderTemplate>
<ItemTemplate>
<ul>
<li class="col0">
<%# DataBinder.Eval(Container.DataItem, "UserId") %></li>
<li class="col1">
<%# DataBinder.Eval(Container.DataItem, "FullName") %></li>
<li class="col2">
<%# DataBinder.Eval(Container.DataItem, "email1") %></li>
<li class="col3">
<%# DataBinder.Eval(Container.DataItem, "Account") %></li>
</ul>
</ItemTemplate>
</telerik:RadComboBox>
</td>
</tr>
<tr>
<td class="style2">
Selected As SalesRep :
</td>
<td class="style2">
<asp:Label ID="SalesRepSelectedLabel" runat="server" OnLoad="SalesRepSelectedLabel_Load"></asp:Label>
<br />
<asp:Label ID="SalesRepLabel" runat="server" Text='<%# Bind("userId") %>' OnLoad="SalesRepLabel_Load2"></asp:Label>
</td>
</tr>
<tr>
<td class="style2">
Notes For Changing Sales Rep
</td>
<td>
<asp:TextBox ID="SalesRepChangingNotesTextBox" runat="server" Text='<%# Bind("Note") %>'
Height="51px" TextMode="MultiLine" Width="330px"></asp:TextBox>
</td>
</tr>
</table>
<asp:Button ID="Button1" runat="server" Text="Take over item" Width="100%" CommandName="PerformInsert"
OnClick="Button1_Click2" />
<br />
</FormTemplate>
<PopUpSettings Width="700px" />
</EditFormSettings>
</MasterTableView>
<FilterMenu EnableImageSprites="False">
</FilterMenu>
</telerik:RadGrid>


Expression
="(({0} - {1}) / {0}) * 100"