Hi,
Is it possible to use paging and just retrieve data for each page (i.e if you go to a new page the data for that page will be loaded)?
The issue i'm having right now is that the result from the server (currently with WCF) has contain all the records in order for the paging to work, however, I dont want to send all the data at once.
Maybe there is a way to manipulate the TotalPages-property to think it has more data in the result?


There is nothing in the docs about this after four hours of searching. I can only conclude there isn't support for this functionality but find that difficult to believe.
Thanks,.

I experienced this message while trying to publish:
Unable to load the service index for source https://nuget.telerik.com/v3/index.json.
Response status code does not indicate success: 401 (Unauthorized).

What I'm trying to achieve is a RadGridView with expanding/collapsing hierarchy rows that uses load on demand data that I get from my server using a REST API call. A separate REST call is started every time a RowSourceNeeded event is fired for a row. The problem is that the GUI thread does not seem to wait for my call and the row tries to expand then immediately collapses again (so basically the whole expand operation does not wait until my data is loaded) after which the grid starts behaving erroneously, which includes;
- the application hangs for a few seconds when I click an expanded hierarchy row
- clicking a hierarchy row makes the whole grid scroll down a bit
Leaving the async API call out for testing purposes and filling the row below with dummy data immediately solves all these problems, so I'm certain it is the cause of these problems.
private async void radGridView1_RowSourceNeededAsync(object sender, GridViewRowSourceNeededEventArgs e)
{
MainJobObject mainJobObject = e.ParentRow.DataBoundItem as MainJobObject;
//make the RESTAPI call here to retrieve the attachments of this job
List<IJobDocument> mainJobObjectAttachments = await FillMainJobObjectWithAttachmentsFromBackend(mainJobObject.JobId);
foreach (IJobDocument attachment in mainJobObjectAttachments)
{
GridViewRowInfo row = e.Template.Rows.NewRow();
row.Cells["MainJobID"].Value = mainJobObject.JobId;
row.Cells["Status"].Value = attachment.StatusObject.Status;
row.Cells["UploadDate"].Value = attachment.StatusObject.UploadDate;
row.Cells["AttachmentID"].Value = attachment.IJobDocumentId;
row.Cells["AttachmentType"].Value = attachment.AttachmentType;
row.Cells["ServisnyTechnik"].Value = attachment.ServisnyTechnik;
row.ErrorText = attachment.Error;
e.SourceCollection.Add(row);
}
}
I am attempting to add a RadSyntaxEditorElement to Telerik Chat UI for Winforms using 2023.3.1010 Trial.
I receive a null reference exception in RadSyntaxEditorElement.cs > SyncZoomComboText line 1312. It says base.Dispatcher = null. (see attached image).
Is it possible to add the SyntaxEditorElement to chat? If, not do you have any other recommendations for display code in chat?
Here is my test code modified from the examples found on your site.
public class MyCodeMessageItemElement : TextMessageItemElement
{
protected override Type ThemeEffectiveType
{
get
{
return typeof(TextMessageItemElement);
}
}
protected override LightVisualElement CreateMainMessageElement()
{
return new CustomCodeMessageBubbleElement();
}
public override void Synchronize()
{
base.Synchronize();
CustomCodeMessageBubbleElement bubble = this.MainMessageElement as CustomCodeMessageBubbleElement;
bubble.DrawText = false;
}
}
public class CustomCodeMessageBubbleElement : ChatMessageBubbleElement
{
protected override Type ThemeEffectiveType
{
get
{
return typeof(ChatMessageBubbleElement);
}
}
//RadTextBoxControlElement textBoxElement;
RadSyntaxEditor radSyntaxEditor;
RadSyntaxEditorElement radSyntaxEditorElement;
public RadSyntaxEditor SyntaxEditor1
{
get
{
return this.radSyntaxEditor;
}
}
protected override void CreateChildElements()
{
base.CreateChildElements();
radSyntaxEditorElement = new RadSyntaxEditorElement();
radSyntaxEditorElement.ZoomComboBox.Enabled = false;
//radSyntaxEditor.ContextMenuOpening += textBoxElement_ContextMenuOpening;
this.Children.Add(radSyntaxEditorElement);
}
//private void textBoxElement_ContextMenuOpening(object sender, TreeBoxContextMenuOpeningEventArgs e)
//{
// foreach (RadItem item in e.ContextMenu.Items)
// {
// if (item.Text.Contains("&Copy"))
// {
// item.Visibility = ElementVisibility.Visible;
// }
// else
// {
// item.Visibility = ElementVisibility.Collapsed;
// }
// }
//}
public override string Text
{
get
{
return base.Text;
}
set
{
base.Text = value;
this.radSyntaxEditor.Text = value;
}
}
}


Hi, new to telerik, we're evaluating rad chat for an internal chat piece to our app.
i'm looking for recommendations for what control to pair with the radchat control for the left side of the chat program. the one where you pick who you're talking to currently. think any old messenger app, conversations on the left, and the main chat with a person on the right.
what would you guys use for that? I only need it to show the person's name, the person that's selected and something like a dot or overlay showing conversations you haven't seen yet. Like XYZ sent you a chat and you haven't looked at it yet so XYZ's entry shows a dot etc for a missed chat.
this is all winforms.
Thanks!
