or
|
function
RadComboBox1_SelectedIndexChanged(sender, args)
{
tableView.set_pageSize(sender.getValue());
}
But it throws the error "Object doesnot support the property or method"..
Please help soon..
Thanks,
Pradeep
Would it be possible to implement the EmptyListItem functionality as seen in GridDropDownColumn also in the RadComboBox control?
With the GridDropDownColumn, you can add this:
| EnableEmptyListItem="true" EmptyListItemText="(select project)" EmptyListItemValue="" |
| GridGroupByExpression expression = new GridGroupByExpression(); |
| GridGroupByField gridGroupByField = new GridGroupByField(); |
| gridGroupByField = new GridGroupByField(); |
| gridGroupByField.FieldName = "CustomerName"; |
| gridGroupByField.HeaderText = "Customer Name"; |
| expression.SelectFields.Add(gridGroupByField); |
| gridGroupByField = new GridGroupByField(); |
| gridGroupByField.FieldName = "CustomerName"; |
| gridGroupByField.HeaderText = "Customer Name"; |
| expression.GroupByFields.Add(gridGroupByField); |
| gridGroupByField = new GridGroupByField(); |
| gridGroupByField.FieldName = "CustomerStatus"; |
| gridGroupByField.HeaderText = "Customer Status"; |
| expression.SelectFields.Add(gridGroupByField); |
| gridGroupByField = new GridGroupByField(); |
| gridGroupByField.FieldName = "CustomerStatus"; |
| gridGroupByField.HeaderText = "Customer Status"; |
| expression.GroupByFields.Add(gridGroupByField); |
| gridGroupByField = new GridGroupByField(); |
| gridGroupByField.FieldName = "CustStatusID"; |
| gridGroupByField.HeaderText = "Number of splits: "; |
| gridGroupByField.HeaderValueSeparator = " "; |
| // gridGroupByField.FormatString = "<strong style='color:red'>{0}</strong>"; |
| gridGroupByField.Aggregate = GridAggregateFunction.Count; |
| expression.SelectFields.Add(gridGroupByField); |
| rg_Results.MasterTableView.GroupByExpressions.Add(expression); |
| <tk:RadDatePicker runat="server" ID="ForwardCalendar" Culture="it-IT" Skin="Telerik" |
| Calendar-ShowRowHeaders="false" Calendar-EnableMultiSelect="false" Calendar-EnableMonthYearFastNavigation="false" |
| Calendar-EnableNavigationAnimation="true"> |
| <DateInput runat="server" EnableEmbeddedSkins="false" AutoPostBack="false"> |
| </DateInput> |
| <DatePopupButton ImageUrl="~/images/icons/calendar.png" HoverImageUrl="~/images/icons/calendar.png" |
| ToolTip="" /> |
| </tk:RadDatePicker> |

| function MultipleTextSource(sources) { | |
| this.sources = sources; | |
| this.get_text = function() | |
| { | |
| var texts = []; | |
| for (var i = 0; i < this.sources.length; i++) | |
| { | |
| texts[texts.length] = this.sources[i].get_text(); | |
| } | |
| return texts.join("<controlSeparator><br/>LABEL 1<br/></controlSeparator>"); | |
| } | |
| this.set_text = function(text) | |
| { | |
| var texttexts = text.split("<controlSeparator><br/><br/></controlSeparator>"); | |
| for (var i = 0; i < this.sources.length; i++) | |
| { | |
| this.sources[i].set_text(texts[i]); | |
| } | |
| } | |
| } |