Hello,
i have a sql Database with a imagepath.
How can i show the image in a colum
datasource ist a string with a filepath in the database.
Thanks Udo
hi
my code is
void BindGridDeviceName() { string select = "SELECT * from Device;"; using (IDbConnection connection = new SqlConnection(DataLayer.ConnectionClass.ConnectionDaynamic.GetConnectionString)) { var list = connection.ExecuteReader(select); DataTable dt = new DataTable(); dt.Load(list); ((GridViewComboBoxColumn)radGridViewService.Columns["DeviceName"]).DataSource = dt; ((GridViewComboBoxColumn)radGridViewService.Columns["DeviceName"]).DisplayMember= "DeviceName"; ((GridViewComboBoxColumn)radGridViewService.Columns["DeviceName"]).ValueMember = "Id"; } }
------------------------------------
I want when my form is loaded
The first item or ID from the combo box for each row is in select(show)I do not want to be displayed by clicking on cells
like combobox.SelectedIndex
2-how to get value cValueMember = "Id" to insert database
thank
I set the datasource to a query ( CatQuery)
This loads the control with 2 columns- serialID and catText
How do I get these two values of the selected item of the dropdown.
Thank you
This is probably a very trivial issue, but - just starting with UI for Winforms - I am unable to access the data apparently loaded in the workbook below (what I am trying to do is to load an excel file in a Worksheet to use it in a datatable)
When I run this, it goes well, but the only output displayed by the Debug.Writeline instruction is :
"> Telerik.Windows.Documents.Spreadsheet.Model.RangePropertyValue`1[Telerik.Windows.Documents.Spreadsheet.Model.ICellValue]"
Private Sub RadButton1_Click(sender As Object, e As EventArgs) Handles RadButton1.Click
Dim fileName As String = "C:\Users\patrick\testfile.xlsx"
Dim MyWorkbook As New Telerik.Windows.Documents.Spreadsheet.Model.Workbook
Dim WorkbookFormatProvider As New XlsxFormatProvider()
Dim MyInput As New FileStream(fileName, FileMode.Open)
MyWorkbook = WorkbookFormatProvider.Import(MyInput)
Dim MySheet As Worksheet = MyWorkbook.Sheets.ActiveSheet
RadSpreadsheet1 = MyWorkbook.Sheets
Dim Res As String = MySheet.Cells(1, 1).GetValue().ToString
Debug.WriteLine(" > " & Res)
End Sub
Can someone be kind to tell me what I do wrong ?
Thanks
(using Win 11, VS 2019, DEvCraft UI)
Hi,
I'm trying to render HTML data as a title in the dock window caption element. Although it renders the HTML data as expected, it does overlap with the Window State & Dock buttons. I tried applying text trimming using CSS properties but It didn't work. How to avoid overlapping?
Attached a sample
Thanks
Hello,
I can not find the task dialog for winforms in your telerik tools controls latest version.
what is i have to do
Thanks in advance
Best Regards
Hi
I want to display report using radtreeview controls. Can somebody help me regarding that i am new to radtreeview control. Currently I am using radgridview to display report.
Thanks
I have a PropertyGrid with 2 types of editors ; SpinEditor and DropDownListEditor. After the user changes a value in a SpinEditor, it triggers the event PropertyValueChange. However, after the user selects a new value in the DropDownListEditor, it does not trigger the PropertyValueChange. The ValueChanged event is fired but the new data is not saved in the item at this point.
How can I make it trigger the PropertyValueChange event after the user changes the value in the DropDownList?
Thanks!