Telerik Forums
UI for WinForms Forum
1 answer
180 views

Hi

I want to create sales invoice in radgridview. when user start entry in item name which is combobox in radgridview which data (item name and qty) will come from item master user enter qty total should be calculated automatically at the same time grand total should shown radgridview footer.

when user press save button all entries in radgridview should save database. I need after which event footer will be updated. or if i remove radgridview row radgridview footer should be updated.

 

Regards

Nandan Navale

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Feb 2022
1 answer
60 views

Is there a way to apply databinding to an RadElement property, rather than to a control ?
Like Binding to RadTextBoxElement.Text

Do I necessarily have to create a property in the control to map to the element property ?

 

The Element hierarchy Editor seems to offer DataBinding for some tags, but I was unable to enter anything there.

Dinko | Tech Support Engineer
Telerik team
 answered on 15 Feb 2022
1 answer
169 views

I have a FilterView on the form as well as a GridView

When I apply the filter - the gridview filters as expected.

When I refresh the grid, the selected filters on the FilterView remain in place - which is what I want.

But the GridView (after the refresh) shows all of the data.

What I'd like to do is something like FilterView1.ApplyFilters to cause the Grid to filter accordingly... but I do not see such a method.

Is there some way that I could programmatically tell the FilterView to 're-apply' the selected filters?

Of course, if I deselect and then reselect a filter element the grid view will get filtered appropriately - but, I'd like to just tell the filter to 're-apply' then selected filters programmatically.

How can I do this?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Feb 2022
3 answers
162 views

Hi guys,

 

When I am doing data binding on RadScheduler(using SchedulerBindingDataSource), I meet  'System.Data.NoNullAllowedException, Column 'id' does not allow null'

My steps are:

1) Double-Click on the scheduler to create a new time slot, and custom appointment dialog show up.

2) type the info, then click ok button

3) error shows....

4) After clicking ok button, the appointment slot will show on schedule, then click the Save button, data will be saved to the database

 

However, The data populating is good. I can receive data from the database, when I run the application the data which I manually type into the database is exist on schedule. And if I click on exist appointment slot and do some changes,  there is no error. After I click save button The data will be successfully saved into the database.

 

Could you let me know which part will be the issue, All screenshots are attached.

If need more information, plz let me know,

 

Thanks,

Mike

Dinko | Tech Support Engineer
Telerik team
 answered on 14 Feb 2022
1 answer
124 views

Hi Dess

I have used your previously provided sample project but project replicates the same error on the Windows10 machine.

I am sending screenshot for same.

We had discussion previously my Ticket 1549675 for your ready references

Regards

Nandan Navale

Dinko | Tech Support Engineer
Telerik team
 answered on 11 Feb 2022
5 answers
307 views

Our documents have a couple of images included (they are in rtf format, with some images in the header).

In Word, depending on the status (started, validated, ...), we take one image from the document and show it as a watermark. The other ones we hide.

I'm trying to do the same with the editor, but i can't really find api's to just get a list of images in the Document.

Is there a way to do this ?

 

 

Dinko | Tech Support Engineer
Telerik team
 updated answer on 10 Feb 2022
1 answer
183 views

Hello all.  I'm trying to figure out how to configure a summaryrow to evaluate only the selected rows when multiple rows are selected.  The evaluation event handler would need to fire and update the summary total each time the selected rows collection changes.  So far I have not been able to find any examples of this behavior.  A point in the right direction will be appreciated. 

I have tried working with the "CustomSummaryItem" from the forum but this only fires the evaluation event once and doesn't summarize changing selections- it only evaluates the first row in the grid.  I have this small bit of code posted below and my alteration is in bold.  I suspect I need to subscribe to some other (less documented) method.

Thanks in advance - Mike

I found this class in the forum ----------------------------------

Public Class CustomSummaryItem
    Inherits GridViewSummaryItem
    Public Sub New(ByVal name As String, ByVal formatString As String, ByVal aggregate As GridAggregateFunction)
        MyBase.New(name, formatString, aggregate)
    End Sub

    Public Overrides Function Evaluate(ByVal row As IHierarchicalRow) As Object
        Dim itemsummary As Decimal = 0
        For Each childRow As GridViewRowInfo In row.ChildRows
            If childRow.IsSelected Then
                itemsummary += CDec(childRow.Cells("miles_driven").Value)
            End If
        Next childRow
        Return itemsummary
    End Function

End Class

Dinko | Tech Support Engineer
Telerik team
 answered on 10 Feb 2022
1 answer
67 views

I am using the following code in the currentpagechanged event to update a spin editor, but the spin editor value does not stay in sync with the Navigator text box when changing pages via the Navigator or clicking on the thumbnails.  

 

private void radPdfViewer1_CurrentPageChanged(object sender, CurrentPageChangedEventArgs e)
        {
            try
            {
                seFrom.Value = int.Parse(this.radPdfViewerNavigator1.CurrentPageTextBox.Text) ;
            }
            catch
            {

            }
        }

Dimitar
Telerik team
 answered on 08 Feb 2022
1 answer
135 views

I have a RadForm. I added a RadImageButtonElement (CreatingButton.png) to the Title Bar of it because I want to add a Login type of button.

1.) How can I get that button to behave like the Minimize/Maximize buttons in terms of like when I hover over the button, it changes it's appearance the same way like in the attached MinimizeAppearence.png?

I tried to use EnableHighlight, HighlightColor properties, but it didn't seem to work. It had no effect.

2.) Is there a way when I click on the RadImageButtonElement and I signed in already to have something that looks like the way Microsoft Word does it (WordSignIn.png)?

 

Thanks in advance.

Dinko | Tech Support Engineer
Telerik team
 answered on 08 Feb 2022
1 answer
265 views

1.  Is there a way to hide an element in the pdfNaviagotor bar.  I wish to hide the file open element.

2. how can i get the path of the file that is open or loaded into the pdfviewer.

3. How do I get the page number of the selected page in the viewer

4. How do I get the page count of the open file.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Feb 2022
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?