Hi,
I am using the radSchduler for a new project. I encountered and error when trying to save a modified appointment.
"Update requires a valid UpdateCommand when passed DataRow collection with modified rows."
Hi
is there any way to change the font of the add new row in WinForms grid view
thanks in advance
regards
Hi, how do I resolve this error? Please see attachement.
RadScheduler: Error Could not find Schema information for the attribute 'urn:schemas-microsoft.com:xml-msdata:UseCurrentLocale'.
Thanks and best regards,
Dominic
I want to implement my own version of load on demand feature for RadCheckedDropDownList (if there's already one that meets my requirements then sorry for posting).
When the RadCheckedDropDownList's OnKeyUp event happens for alphanumeric char I want to send async request to my ASP.NET Web Service - when webservice's request is completed I want to either (both options are viable for me):
a) add new items (that are not already existing) to the DataSource,
b) save somewhere items that are already checked and load items to the DataSource,
and show Popup scrolled to the item that is matching the text that already user inserted into RadCheckedDropDownList's RadCheckedDropDownListEditableAreaElement.
My code so far:
private void LoadOnDemandCompleted( object sender, GetDropDownMenuItemsPagedCompletedEventArgs e )
{
//RadCheckedDropDownListOnDemand - my class that inherits RadCheckedDropDownList
if ( e.Error != null || e.Result == null || (int)e.UserState != this.RadCheckedDropDownListOnDemand.RequestId )
{
//WS call errored out, nothing was returned, or the request number is not matching
return;
}
if ( !( this.RadCheckedDropDownListOnDemand.DataSource is List<RadCheckedListDataItem> mainDataSource ) )
return;
//Properties explanation:
//Value == string to display
//Id == id in database
//ChoiceOrder - order in which the RadCheckedListDataItem should appear -> lower ChoiceOrder means it is higher on the list
var itemsFiltered = e.Result.Select( re => new RadCheckedListDataItem( re.Value )
{
Value = re.Id,
Tag = re.ChoiceOrder,
} )
.Where( item => !mainDataSource.Any( mainDataSourceItem => (int)item.Value == (int)mainDataSourceItem.Value ) )
.ToList();
//don not want to add items that are already existing in
if ( itemsFiltered.Count > 0 )
{
mainDataSource.AddRange( itemsFiltered );
//want to refresh item list for CheckedDropDownListElement
if ( !( this.RadCheckedDropDownListOnDemand.CheckedDropDownListElement.DataSource is List<RadCheckedListDataItem> listElementDataSource ) )
return;
listElementDataSource.AddRange( itemsFiltered );
//this does not show the newly added items
this.RadCheckedDropDownListOnDemand.CheckedDropDownListElement.ShowPopup();
}
}
With certain sizes of RadTextBoxControl, the selected text does not get highlighted properly. Some lines are not highlighted, even though they are selected.
I have attached a sample project that shows the issue. Just run the project and you will see it.
Ok, this one's just weird. The Close (X) button on MessageBox's TitleBar is not working. I click on it and nothing happens.
ds = Telerik.WinControls.RadMessageBox.Show(Me, "Are you sure?", "Clear form", MessageBoxButtons.YesNo, RadMessageIcon.Question, MessageBoxDefaultButton.Button1)
Help.
Edit: interestingly, it's the same with regular (native) MessageBox. As if the button is disabled. But why even show it then?
Hello,
I would like to display multiline text with a varying text length on my user interface.
As the space on the device display is quite limited, but the displayed text sometimes pretty long, I thought about using a multiline radTextbox or a radRichTextEditor rather than simple labels, as they provide the autoscroll property which would work perfectly for varying text lengthes.
As the textboxes would be there only for displaying purposes (the text shouldn't be editable), i thought their property "focusable = false" would be the solution to prevent the controls from getting focused and therefore from getting edited.
Unfortunately, both the radTextBox and radRichTextEditor stay focusable even if the property is set to false. Also in combination with IsReadOnly = true the controls still gain focus when clicking on them. Is there another property which needs to be modified in combination to make focusable = false work?
Thank you in advance for your help and have a nice day!
It would be nice if we had 2 more events on the columns as well
TaskBoardColumnCollapsing, TaskBoardColumnCollapsed
These would be necessary when the control is database driven since the TaskBoardColumnCollapsed would trigger a database update for the TaskBoardColumns Table.
If it's already there... can you tell me how I can access that event?