Telerik Forums
UI for WinForms Forum
5 answers
89 views
Hello,
telerik radgrid dissapearing on postback ,
when i click in radgrid , its postback and dissapear , plz anyone help asap.


thanks in advance

Regards,
Muhammad Arsal Khan
Pavlina
Telerik team
 answered on 24 Jun 2014
12 answers
639 views
Hi,

I am using the code from the link http://www.telerik.com/support/kb/winforms/gridview/creating-a-radradiobuttoncellelement.aspx to create a RadRadioButtonElement. Unlike the example provided, I am using just one radiobutton per cell instead of three. 

At the row level the RadRadioButtonElement should function like a checkbox. User should be allowed to set the ToggleState to On or Off on a particular row.

Among the rows in the RadGridView, there cannot be more than one row which has this column's ToggleState set to On.

Please check the attached image to get an idea.
Dimitar
Telerik team
 answered on 24 Jun 2014
1 answer
127 views
I'm setting the backcolor and forecolor of SubItems in the radListView1_CellFormatting event.  Later, I'm exporting my List View to Excel, and I need to access the backcolor and forecolor of each SubItem/cell.  Is this possible?  I see the property for Item backcolor, but I can't get at the SubItem backcolor.
George
Telerik team
 answered on 23 Jun 2014
1 answer
155 views
I'm able to edit cells correctly, however, if there is a cell with a particular long sentence, it will go to the end of the sentence when I click into the cell to edit.
Example, a cell containing a sentence
"I watched XXXXX TV show this weekend" - I click in there and I can click directly into the XXXXX as the sentence isn't too long.
"I first went to the store then came home and watched XXXXX TV show" - I click in there and it will highlight the sentence but take me to the last part of the sentence that fills up the cell.

Is there a way to adjust where you can click into the cell or an easier way to edit in the situation where a sentence is much longer?

Thanks,
Jeff
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Jun 2014
1 answer
118 views
Hi, 

I want to know how to apply the key press on print preview style of the scheduler.
If user press arrow up/down it will go to next/previous page.

Thanks.
Stefan
Telerik team
 answered on 23 Jun 2014
1 answer
268 views
I get the following error:

The type or namespace name 'ImageContainer' does not exist in the namespace 'Telerik.QuickStart.WinControls' (are you missing an assembly reference?)
Stefan
Telerik team
 answered on 20 Jun 2014
10 answers
1.8K+ views
Hi there,

I'm trying to set up a MaskedEditBox that takes in digits only and displays a null text instead of the default place holder value and I cant seem to get it to work.

It seems that when I change the masktype, the null text doesnt work anymore :(

Can I get some sort of tips to fix this?

relevant attributes:
Mask = "000000" --> (6 digits)
MaskType = "Standard"
NullText = "Enter Digits Here"
PlaceHolder = "_"

cheers,
Jonathan
Dimitar
Telerik team
 answered on 20 Jun 2014
1 answer
144 views
When I run the following code I get the attached error. If I comment out this line the PDF does load and display correctly so I know that is now the issue. It can also be printed if I click the print button on the navigator. I want to be able to send it print automatically (either via print preview or directly with print). Not sure why this error is occurring.

Imports iTextSharp.text.pdf
Imports System.IO
Imports iTextSharp.text
 
Public Class Form1
 
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
 
        Dim document As New Document()
        Dim pdfStream As New MemoryStream()
        Dim pdfwriter As PdfWriter = pdfwriter.GetInstance(document, pdfStream)
 
        document.Open()
 
        Dim over As PdfContentByte = pdfwriter.DirectContent
        over.BeginText()
 
        'Add logo.
        'Dim imagelog As iTextSharp.text.Image = iTextSharp.text.Image.GetInstance(My.Resources.manalivelogo, System.Drawing.Imaging.ImageFormat.Jpeg)
        'imagelog.ScalePercent(20)
        'imagelog.Transparency = New Integer() {255, 255}
        'imagelog.SetAbsolutePosition(25, 800)
        'over.AddImage(imagelog)
 
        document.Add(New iTextSharp.text.Phrase("More sample text for signature demo"))
        Dim tr As BaseFont = BaseFont.CreateFont(BaseFont.TIMES_ROMAN, BaseFont.WINANSI, BaseFont.EMBEDDED)
        Dim btr As BaseFont = BaseFont.CreateFont(BaseFont.TIMES_BOLD, BaseFont.WINANSI, BaseFont.EMBEDDED)
 
        over.SetFontAndSize(btr, 12)
        over.ShowTextAligned(iTextSharp.text.Element.ALIGN_MIDDLE, "2117 Maryland Avenue, Baltimore, MD 21218", 45, 780, 0)
        over.ShowTextAligned(iTextSharp.text.Element.ALIGN_MIDDLE, "Phone: 410-837-4892 Fax: 410-837-0639", 55, 768, 0)
 
        over.EndText()
        pdfwriter.CloseStream = False
        document.Close()
        pdfStream.Position = 0
 
        RadPdfViewer1.LoadDocument(pdfStream)
        RadPdfViewer1.PrintPreview()
 
    End Sub


Dimitar
Telerik team
 answered on 20 Jun 2014
1 answer
98 views
Hello,
I have problem with population DropDownList few times... First time is working, than I get first element choosed but rest of the list is empty:

                MainProgram.myConnectionHelper.Connection.Open();
                SqlCommand myCommand = new SqlCommand("SELECT Twr_Kod, Twr_Nazwa FROM Seven.TwrKarty WHERE Twr_Kod = 'W01 'or Twr_Kod = 'W06';", MainProgram.myConnectionHelper.Connection);
                //ddlRodzajMiesa.BeginUpdate(); 
                //ddlRodzajMiesa.DropDownStyle = RadDropDownStyle.DropDown;
                ddlRodzajMiesa.DataSource = null;
                ddlRodzajMiesa.ValueMember = "Twr_Kod";
                ddlRodzajMiesa.DisplayMember = "Twr_Nazwa";
                ddlRodzajMiesa.DataSource = myCommand.ExecuteReader();
                ddlRodzajMiesa.SelectedValue = 0;
                //ddlRodzajMiesa.DropDownStyle = RadDropDownStyle.DropDownList;
                //ddlRodzajMiesa.EndUpdate();
                MainProgram.myConnectionHelper.Connection.Close();



Thanks for any help in advance...







Dimitar
Telerik team
 answered on 20 Jun 2014
1 answer
206 views
I have a Windows Forms App and I want to change it to use Telerik UI, I would like to know how i can do that? Do I have to change each and every item or there is a way to convert my control to rad?

Thanks
Brian.
Dimitar
Telerik team
 answered on 20 Jun 2014
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
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
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
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?