I have a grid that I'm binding to a dataset. The dataset has the datarelations defined on it prior to assigning it to the grid (meaning I am not defining any relations on the grid itself). The data is displayed as I want it, with all of the details information being displayed in grids on tabs with each parent row. What I need to be able to do now is format the grids containing the detail information. How can I access those? I normally format my grids simply by using grid.columns.<whatever> and setting the properties right after I bind to my dataset. If possible I'd like to just add my detail formatting in the step as well.
Thanks.
Hello,
I have user control (AutoSize = True) with RichTextEditor inside.
I want to force RichTextEditor to show all content all the time.
First when user enter text, it should not show VerticalScroll when user put to many lines. The control should re-size automatically (only Height should change).
Secondly, when I import content to RichTextEditor, it should automatically calculate size of document and make whole content visible.
Is that possible?
Hi,
I am new telerik components and hoping someone may be able to point me in right direction. I am attempting to add a label and datetime picker control side by side in my ribbon bar group. I have managed to get the label and datetime picker to appear on the same row (for lack of a better term) in the group, but they just overlap each other.
I found a similar thread called "Label in Ribbon Bar", which sets positioning of the controls in a panel...then the panel is added to the group as RadHostItem. I tried the suggested code, but it doesn't appear to work, as the ribbon group ended up empty...not displaying any controls. Then I tried without the panel. The label and datetime picker reappeared, but were still overlapped.
I have included a code snippet below. Any insight or help is appreciated.
RadLabel label = new RadLabel();
label.Location = new Point(5, 5);
label.Text = "test";
RadHostItem item1 = new RadHostItem(label); RadDateTimePicker picker = new RadDateTimePicker();
picker.Location = new Point(32, 5);
picker.MinimumSize = new Size(100, 0);
RadHostItem item2 = new RadHostItem(picker);
ribbonGroupSettings.Items.AddRange(new RadHostItem[] { item1, item2 }); ribbonGroupSettings.MinSize = new Size(ribbonGroupSettings.Size.Width + label.Width + 100 + padding, 0);
Thanks.
Hi,
I am using RadMaskedEditBox with EMail MaskType on my project. I want to know if its text is a valid email or not on the code side but i couldn't find a way to do it. How can i get the bool value of valid email address of RadMaskedEditBox?
Hi and thank you in advance for your help,
I have a custom object, User, which contains a list of custom objects, List<Topic>. Each Topic has two strings. Currently I have my ItemsSource bound to an observable collection of Users, and it displays the ID and Name correctly. However, I want it also to display each user's list of Topic Names. For instance, user jwilson has a list of topics with names World News, Canadian News,.. etc. So for each row, there would be the name, ID, and the list of Topic Names in an expandable.
Would I have to use hierarchical gridview for this? Or is there a simpler way?
Thanks for your help,
Julian
Hi guys!
I have a data-bound RadTreeview control bound to my "ChartOfAccount" table. I have an Idea to drag a node from 1st Parent node to 2nd Parent.
i.e : An Account Fuel Expenses from the Node Utilities Expenses to Administrator Expenses. for this purpose I am getting the COA_ID of the Fuel Expenses by event Treeview_DrageStarted(....) like : Treeview1.SelectedValue (where SelectedValue is the Coa_ID column). After that Now I have started draging this node from Utilities Expenses to administrator Expenses, therefore I will need the Parent node SELECTEDVALUE which will help me to make a condition for UPDATE QUERY.
please someone understand this problem because I am weak in english, and suggest me the solution that How to get the Parent Node SELECTEDVALUE.
I have a dataentry that I want to set values for certain textboxes when a user adds a new item/entry. I can access the controls but nothing shows up in the text box at runtime.
1.
private
void
rs40AddNewItem_Click(
object
sender, EventArgs e)
2.
{
3.
Mix _mix =
new
Mix();
4.
(radDataEntry1.PanelContainer.Controls[
"radPanel4"
].Controls[0]
as
RadTextBox).Text =
"TEST"
;
5.
}
I am not sure if this is the right approach.
Hi
Could you provide a comparison of the WinForms versus WPF Gantt controls, in particular what additional features you get with the WPF version, or if you lose anything with WPF over WinForms?
We need to use the Gantt control in our application and already have a WinForms license but are trying to establish whether it would be worthwhile purchasing a WPF license.
Many thanks
Adrian