protected void RadGrid1_PreRender(object sender, EventArgs e){ GridNoRecordsItem norecordItem = (GridNoRecordsItem)RadGrid1.MasterTableView.GetItems(GridItemType.NoRecordsItem)[0]; Label lbl = (Label)norecordItem.FindControl("Label1");}<telerik:RadDatePicker ID="rdpDateDebut" runat="server" SelectionOnFocus="SelectAll" Width="100px" DbSelectedDate='<%# Bind("Date") %>'></telerik:RadDatePicker>
Old version:
masterTable.get_dataItems()[row].findElement(
"rntbox_EntitleRate").value
return 50000
new Version:
masterTable.get_dataItems()[row].findElement("rntbox_EntitleRate").value
hi
div.RadUpload .ruButtonHover Does not work in chrome!
please fix this.
Hello Telerik Team,
I have used RadCombox in my site extensively, and also I have used the “EmptyMessage” property. Recently I have updated the Telerik version to “2012.2.724.35” and after that i am facing too many issues related to RadCombox.
Older Version we were using: 2011.1.519.35
New Version currently we are using: 2012.2.724.35
In Telerik “2012.2.724.35” version, i have used the following RadComboBox In my web page. Now the issue is, if I do not change the default selection of following ddlStatus i.e. the ddlStatus is set to “-Select One-” and when I trying to access the “SelectedItem” property of ddlStatus from code behind, then it gives a null value whereas with the previous telerik version (2011.1.519.35), if the ddlStatus is set to default selection i.e. “-Select One-” and if I trying to access the “SelectedItem” property of ddlStatus then it gives the object of 0th position item i.e. <telerik:RadComboBoxItem Text="" Value="0" />. Besides that, in “2012.2.724.35” version, for the default selection of ddlStatus, the ddlStatus.SelectedValue property gives the Empty string where as in older version(2011.1.519.35) it gives the value of 0th element i.e. "0".
<telerik:RadComboBox ID="ddlStatus" runat="server" Width="60px" EmptyMessage="-Select one-">
<Items>
<telerik:RadComboBoxItem Text="" Value="0" />
<telerik:RadComboBoxItem Text="No" Value="1" />
<telerik:RadComboBoxItem Text="Yes" Value="2" />
</Items>
</telerik:RadComboBox>
This changed behavior of RadComboBox encounters so many issues in my website. Is there any generic way to resolve this issue?
Please suggest the workaround to resolve this issue.
Thanks,
Ashish
RadNotification1.ShowInterval = 12000 ' 2 minutesRadNotification1.AutoCloseDelay = 10000 ' 10 seclbl_NotifyText.Text = Format(Now, "HH:mm") ' a label within the RadNotification1| <radcontrol:RadComboBox ID="MessageRecepientsSelectorComboBox" runat="server" EnableLoadOnDemand="true" |
| LoadingMessage="Loading..." EmptyMessage="Please enter recepient(s) for the message..." |
| OnItemsRequested="MessageRecepientsSelectorComboBox_OnItemsRequested" Width="450" ShowDropDownOnTextboxClick="false" |
| Filter="StartsWith" OnSelectedIndexChanged="MessageRecepientsSelectorComboBox_OnSelectedIndexChanged" |
| AutoPostBack="true" EnableItemCaching="true"></radcontrol:RadComboBox> |
| protected void MessageRecepientsSelectorComboBox_OnItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e) |
| { |
| RadComboBox recepientSelectorComboBox = (RadComboBox)sender; |
| if (!e.Text.Equals("") && e.Text.Length >= 1) |
| { |
| List<Controls_RecepientsSelectorAJAXDropDownResult> potentialRecepients = MemberContactStaticRepository.GetRecepientsForAJAXSelector(53, e.Text); |
| RadComboBoxItem currentItem = new RadComboBoxItem(); //stop re initialising var in loop |
| for(int i = 0;i < potentialRecepients.Count();i++) |
| { |
| currentItem = new RadComboBoxItem(potentialRecepients[i].UserName, potentialRecepients[i].UserID.ToString()); |
| //currentItem.Attributes["ContactType"] = "User"; |
| recepientSelectorComboBox.Items.Add(currentItem); |
| } |
| } |
| } |
| protected void MessageRecepientsSelectorComboBox_OnSelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e) |
| { |
| RadComboBox recepientBox = (RadComboBox)sender; |
| //RadComboBoxItem selectedItem = MessageRecepientsSelectorComboBox.FindItemByValue(e.Value); //finds nothing == null |
| //MessageRecepientsSelectorComboBox.Items.Count; // is 0 |
| //MessageRecepientsSelectorComboBox.SelectedIndex;//returns -1 |
| } |