Only users that have Telerik installation version 2021.1.122 are affected.
Symptoms:
Clients that have Telerik installation version 2021.1.122 can not build successfully .NET Core/.NET 5.0 projects. The following error occurs while compiling the project:
The problem is a missing NuGet fallback folder.
Solution:
You should create the missing ToolboxNuGetPackages folder in the installation folder of the controls, usually at C:\Program Files (x86)\Progress\ToolboxNuGetPackages.
Hello, sorry, maybe I am too new to Telerik, but I was wondering how to do basic tasks with SyntaxEditor. I wanted to replace classic TextBox with SyntaxEditor and I thought it would be straightforward, but I got stuck on very basic tasks. Can you please help me, or navigate me?
1. How to get text from SyntaxEditor? I know how to set text by setting new document, but how to get text? I read whole SyntaxEditor part of documentation, but haven't found this, how is it possible? I was trying to find this out for about hour, but without success. I am wondering if am too new to Telerik or how it's possible I couldn't find this, I think this basic thing must be like "look and see".
2. Classic WinForms TextBox has Modified property indicating the text was changed. Is it also somewhere here? Also, TextBox has Lines property, is it somewhere here?
3. I tried the Cut/Copy/Paste commands, they are working, but I was wondering why CanExecute methods return always true. For example, I expect if there is no selection, CanExecute for Cut and Copy has to return false. Also, if there is no text in clipboard, Paste command has to return false, etc.
I have a rad data entry in a form that when I change the data through it's bindings it doesn't clear all the fields. Usually check boxes and dates or dropdowns leave their current selected value if the new data set has null values.
!. is there a way to fix that?
2. If not how can I loop through all the controls in the rad data entry to clear all the controls?
Below only shows 4 controls instead of the many that textboxes, etc. *Rde is the name of the rad data entry item
foreach (Control c in Rde.Controls)
{
MessageBox.Show(c.Name);
}
Hello, I want to use SyntaxEditor for coloring and folding of my very simple custom language for defining sequence of steps. I have already made some tests and have no problem with coloring. But I have two questions to SyntaxEditor folding. My language is very simple, it's just sequence of steps, but now I have to implement if/else/endif handling.
1. If I add folding pair if/endif, it works ok, but what if I want to fold if and else branches separately? Is it possible to do folding somehow like on this screenshot? I tried similar code it in Visual Basic, VB folds whole section from if to endif, but I would like to do it like on the screenshot, if it's possible.
2. How can I customize the folding "title" (I don't know the exact terminology). I added a #region / #endregion to previous sample, and it's folding like on this screenshot:
I would like it like in Visual Studio, in case of if statement, you can see the condition, but region hides also the region directive, like on the next screenshot.
I know, C# is folding command block with braces, so it's different situation, but is it possible to do it like this also with my custom language?
I attached also my project, if it's needed for something.
Thanks.
Hi
Please Help
Language: VB.Net (VS2017)
Telerik Version: 2017.3.1017
Application Type: Windows Desktop
Looking for a solution to read the PDF file stored in SqlServer as varbinary(MAX). \
I have saved the pdf file as follows.
Private Sub Save_File()
Dim fd As OpenFileDialog = New OpenFileDialog()
fd.Filter = "pdf file|*.pdf"
If fd.ShowDialog = System.Windows.Forms.DialogResult.OK Then
Dim filebyte AsByte() = Nothing
Dim con As SqlConnection = New SqlConnection(ConnStr)
Dim cmd As SqlCommand = Nothing
filebyte = File.ReadAllBytes(fd.FileName)
cmd = New SqlCommand("Insert into tbl_Doc (LYR_Doc) Values(@pdf)", con)
cmd.Parameters.Add("@pdf", SqlDbType.Binary).Value = filebyte
con.Open()
cmd.ExecuteNonQuery()
con.Close()
Interaction.MsgBox("File saved into database", MsgBoxStyle.Information)
EndIf
EndSub
Now I need to read this data and load in the pdfviewer.
I tried as follows. But no result.
Dim eXactConnection As New SqlClient.SqlConnection(ConnStr)
Dim eXactCommand As New SqlClient.SqlCommand("SELECT LYR_Doc from tbl_Doc where LYR_Name = 'Arun'", eXactConnection)
eXactConnection.Open()
If Not IsDBNull(eXactCommand.ExecuteScalar()) Then
Dim Docdata As Byte() = DirectCast(eXactCommand.ExecuteScalar(), Byte())
Using stream As New IO.MemoryStream(Docdata)
RadPdfViewer1.LoadDocument(stream)
End Using
End If
Thanks in advance.
Arun Madhav
hello i want example code to select camera with combobox
i use RadWebCam winforms
Hello,
I have five buttons on a custom dockable control window. When I set the dock property for the buttons to top I want there to be padding between each button. I tried changing the buttons' margins, but that does not seem to do anything.
Thank you for your help!
Hi.
How can i customize the textbox inside the filter cell?
I want the borders of this textbox to appear all the time, not just when in edit mode.
The filter row and filter cell are easy to customize. private void rgvCompanyList_ViewRowFormatting(object sender, RowFormattingEventArgs e)
{
if (e.RowElement is GridFilterRowElement)
{
e.RowElement.RowInfo.Height = 40;
e.RowElement.BorderBoxStyle = BorderBoxStyle.FourBorders;
e.RowElement.BorderWidth = 4;
e.RowElement.BorderColor = Color.Red;
}
}
private void rgvCompanyList_ViewCellFormatting(object sender, CellFormattingEventArgs e)
{
if (e.CellElement is GridFilterCellElement)
{
e.CellElement.DrawBorder = true;
e.CellElement.BorderBoxStyle = BorderBoxStyle.FourBorders;
e.CellElement.BorderWidth = 2;
e.CellElement.BorderColor = Color.Red;
Font font = new Font(e.CellElement.Font.Name, 9, FontStyle.Bold);
e.CellElement.Font = font;
e.CellElement.TextAlignment = ContentAlignment.MiddleCenter;
}
}
But I couldn't find how to access the text box inside the cell.
I want the borders of this text box to be always visible, as seen in the image below.
hello
i use radwebcam
how to chose usb webcam from combobox
and i want when i click in camera show live video in picturebox