Telerik Forums
UI for WinForms Forum
3 answers
119 views

We have a problem using the radDock.LoadFromXml() and radDock.SaveToXml() functionality. This is the case:

 1. We created an application some time ago, version 1.0. This application uses radDock.LoadFromXml() and radDock.SaveToXml() to save and restore the window settings.

2. We added new windows to this application in version 2.0.

3. People do use the original application (next to the new one) though, resulting in showing windows that do not exist in version 1.0 (!)

Is there a way to repair this? I know I can save and load the settings in a different file, but I am looking for a better solution (since we will have more new versions of our application).

 

Dimitar
Telerik team
 answered on 27 Oct 2015
4 answers
283 views

using this code  part to exclude summaryRows from Search loop. 

#code

public class SearchRow : GridViewSearchRowInfo
{
    public SearchRow(GridViewInfo viewInfo) : base(viewInfo)
    {
    }
 
    protected override bool MatchesSearchCriteria(string searchCriteria, GridViewRowInfo row, GridViewColumn col)
    {
        if (row is GridViewSummaryRowInfo)
        {
            return false;
        }
        return base.MatchesSearchCriteria(searchCriteria, row, col);
    }
}
 
private void radGridView1_CreateRowInfo(object sender, GridViewCreateRowInfoEventArgs e)
{
    if (e.RowInfo is GridViewSearchRowInfo)
    {
        e.RowInfo = new SearchRow(e.ViewInfo);
    }
}

#code

And now i cant itterate through search results, i can only choose the first one and the last one​.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Oct 2015
2 answers
217 views

I have problem when using currentrowchanging event,

 when first load the grid, when I change the row,, the event fire correctly, this is my event,

buf after sorting or grouping it appear not correct.....

this is the condition

1.  when I click the row in index 4  (ID = ROM and name = ROMA VATIKAN), buf after sorting the column country name, when I click the index   4  (ID = ​ALS and name = ALASKA),  the value is still (ID = ROM and name = ROMA VATIKAN) not  (ID = ​ALS and name = ALASKA)... how to get value ID = "ALS" in index for,, look for the attachment image (grid after order by.png)

2. when I click the row in index 1  (ID = ​BGR and name = ​BOGOR), buf after grouping the column country name, when I click the value  (ID = ​​ROM and name = ​ROMA VATIKAN),  the value is still (ID = ​BGR and name = ​BOGOR) not  (ID = ROM and name = ROM VATIKAN) cause it refer into index = 1... how to get value ID = "ROM" in index for,, look for the attachment image (grid after grouping.png)

this is my currenrowchanging event

  void gridData_CurrentRowChanging(object sender, CurrentRowChangingEventArgs e)
        {
            if (gridData.RowCount != 0)
            {
                int rowindex = 0;

                if (e.NewRow == null)
                {
                    ClearData();
                    return;
                }

                rowindex = e.NewRow.Index;
                //}

                txtID.Text = gridData.Rows[rowindex].Cells["ID"].Value.ToString();
                txtName.Text = gridData.Rows[rowindex].Cells["Name"].Value.ToString();
                cmbCountryID.Text = gridData.Rows[rowindex].Cells["CountryID"].Value.ToString();
                cmbCountryName.Text = gridData.Rows[rowindex].Cells["CountryName"].Value.ToString();

                if (gridData.Rows[rowindex].Cells["ActiveStatus"].Value.ToString() == "1")
                {
                    rbYes.IsChecked = true;
                }
                else
                {
                    rbNo.IsChecked = true;
                }
            }
        }

 


 
 
 
 
 
 
 
 
 
Adi
Top achievements
Rank 1
 answered on 27 Oct 2015
1 answer
309 views

Hello everyone,

We are using the RadRichTextEditor as a document creation tool for our users. Once the document is created, we export it to PDF using the standard pdf export provider. The issue here is that fonts used in the RadDocument do not get embedded into the PDF file.

I've already contacted support about this and a feedback item has been created, but we are really left dead in the water without the ability to embed fonts (since our clients often view the pdf on mobile devices). Has anyone found a workaround to this?

More detail here:

http://feedback.telerik.com/Project/154/Feedback/Details/171787-fix-radrichtexteditor-custom-fonts-are-not-embedded-to-the-exported-file-when

 ​

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 26 Oct 2015
0 answers
66 views

Hello Telerik

I have a question about "Multicolumncobobox" I need to know is it possible to add a "RadLable" to multicolumncomboox?

because most of the time I need to show display member and value member of the Multicolumncombobox to users.so I decided to make a custom multicolumn

which has a lable to show value member.I have attached an image that shows what I exactly need.

please help me to make this custom multicolumn combo box

I'm waiting eagerly for your response

Mahsan
Top achievements
Rank 1
 asked on 26 Oct 2015
1 answer
153 views

Hello!

I have a problem that i need to generate an image from a radial gauge and then send it by e-mail as an attachment.

I don't know how to achieve this, is there something else i can work on? Since i have only seen the way of saving in xml format.

Stefan
Telerik team
 answered on 26 Oct 2015
0 answers
131 views

Hello Telerik Team

I have a multicolumncombobox in my form

--------------------------------------

 DataTable dt = new DataTable();
            dt.Columns.Add("Code",typeof (string));
            dt.Columns.Add("Name", typeof(string));

            dt.Rows.Add("101010", "​Mary");
            dt.Rows.Add("101011", "​Kate");
            dt.Rows.Add("101012", "​Tom");
            dt.Rows.Add("101013", "​Edward");
            dt.Rows.Add("101014", "Matthias");
            dt.Rows.Add("101015", "Alexander");
            dt.Rows.Add("101016", "Sara");
            dt.Rows.Add("101017", "William");
            dt.Rows.Add("101018", "Louis");
            dt.Rows.Add("101019", "Emma");
            dt.Rows.Add("101020", "Rose");
cmb.ValueMember = "Code";
            cmb.DisplayMember = "Name";
            cmb.DataSource = dt;
            cmb.AutoFilter = true;
            cmb.MultiColumnComboBoxElement.DropDownWidth = 340;
            cmb.MultiColumnComboBoxElement.DropDownHeight = 400;
            cmb.EditorControl.Columns["Name"].Width = 120;
            FilterDescriptor FilterDescr = new FilterDescriptor("Name", FilterOperator.Contains,string.Empty);
            cmb.EditorControl.FilterDescriptors.Add(FilterDescr);

--------------------------

When I set "Name" as display member and set filtering by "Name" ,in this case every thing is ok, but when I set filtering by "Code"  I face a problem.

I start writing in multicolumn and it start filtering so when I press Enter the text of multicolumn will be cleared.

But if I Set filltering By "Name" I dont Have this problem with Enter Key.

Please help me ...

 

Mahsan
Top achievements
Rank 1
 asked on 25 Oct 2015
1 answer
156 views

I have some question about Libraries. To launch my app by side users, needs lots of DLLs .To run application , to run some methods.

How i can minimize the quantity of files needed to launch my application? Ofc i mean Telerik dll's.

Dimitar
Telerik team
 answered on 23 Oct 2015
2 answers
292 views

Hello,

My RadTreeView is in bound mode (not sure of the relevance of this, considering I can't get this event to work in unbound mode either), and I've tried just about every meaningful event that I could find, but still can't find one that fires after a node's text is changed.

What I've tried:
RadTreeView1.TreeViewElement.TextChanged
RadTreeView1.TreeViewElement.Edited
RadTreeView1.SelectedNode.PropertyChanged
RadTreeView1.Edited

Is there an event that fires after a node's text is changed? If not, does anyone know of a workaround? I'd like to make sure the user does not assign two nodes the same text.

Thanks!

Dimitar
Telerik team
 answered on 23 Oct 2015
1 answer
131 views

Hopefully this is a dumb question with a simple solution.

I have an unbound gridview with AllowRowReorder enabled. When the user drags and drops a row to reorder the contents of the gridview I want to do something. Is there an event for when this occurs?

Dimitar
Telerik team
 answered on 23 Oct 2015
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)
Form
Chart (obsolete as of Q1 2013)
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
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?