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!
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?
Hi there,
I apologize if this is answered elsewhere. I tried searching and I couldn't find anything that worked for my need.
I'm trying to put together a demo project to sell the need for Telerik to the company I work for. The thing I wanted to impress them with was the RadGridViews. In my former job, which feels like a lifetime ago, I worked a lot with the ASP.NET ones, and now I'm trying to work with the WinForm ones and... failing on this issue.
We currently have a "report" which pulls data from a database using a stored procedure. It's called using a method GetClientInfo and passing in various information (Department and Employee ID). This then fills a DataGridView. When the user finds a Client they want to view they click a button and it loads a second grid underneath containing the Case details of each Client and the total outstanding Bills, GetFileInfo, passing in the ClientNo that it got from the previous grid. What I therefore want to do with the Grid, which I remember doing in the ASP.NET version, is to load the original data into the top level, and then load child rows for the GetFileInfo based on the row.
It needs to work something like:
GridUnpaidBills.DataSource = GetClientInfo(department, employeeId);
And then, depending on the PLUS they click, it needs to load the child source:
ChildSource = GetFileInfo(GridUnpaidBills.SelectedRows[0].Cells["ClientNo"].Value.ToString());
Does that make sense? I don't know the ClientNo until the PLUS is clicked for that row, so what I was looking for was an On Demand load for the Child, and while I've looked at the help pages and elsewhere I've found various code that sets out a relation using existing tables, but I need to use the method to access the Stored Procedure to retrieve the data as I (currently) have no way of retrieving it otherwise, and I don't want to have to rewrite all the stored procedures for a demo project.
Hopefully I've explained this properly, and hopefully someone can help me out.
Apologies again if it's ridiculously obvious and I'm just not seeing it.
Hi,
I am trying to create custom shaped form but I do not see the difference:
public
partial
class
FormToolTipError : Telerik.WinControls.UI.ShapedForm
{
public
FormToolTipError()
{
InitializeComponent();
Telerik.WinControls.CustomShape customShape =
new
Telerik.WinControls.CustomShape();
customShape.AsString =
"20,20,200,100:20,20,False,0,0,0,0,0:220,20,False,0,0,0,0,0:220,120,False,0,0,0,0,0:20,120,False,0,0,0,0,0:"
;
this
.Shape = customShape;
...
I'm wanting to use the navigator on a stock page. We have something in the regions of 11000 stock items so I also need to offer a search function based on our part numbers.
After the user has found the item they want I would like them to be able to navigate either side of that item using the navigator.
I am using the Entity Framework and Linq to Entities.
I load data to the navigator with
1.
var stock = (from s
in
context.Stocks
2.
select s).ToList();
3.
4.
this
.bindingSource1.DataSource = stock;
5.
this
.bindingNavigator1.BindingSource = bindingSource1;
How can I find the position of my item and then set the binding navigator to that position?
Thanks,
Victoria
I'm using C#
Telerik UI for Winforms Q3 2015
Using a RadForm.
I have a radgridview.
I'm trying to get a Boolean Column to show as a Checkbox column.
gridViewComboBoxColumn1.DataSource = this.propertiesBindingSource;
gridViewComboBoxColumn1.DataType = typeof(bool);
gridViewComboBoxColumn1.DisplayMember = "lease_up";
gridViewComboBoxColumn1.EnableExpressionEditor = false;
gridViewComboBoxColumn1.FieldName = "propertynumber";
gridViewComboBoxColumn1.HeaderText = "column2";
gridViewComboBoxColumn1.Name = "column2";
gridViewComboBoxColumn1.ValueMember = "property_number";
This returns True or False as it should.
I want to use the DisplayMember Value for a CheckBox
gridViewCheckBoxColumn2.EnableExpressionEditor = false;
gridViewCheckBoxColumn2.Expression = "LeaseUp ";
gridViewCheckBoxColumn2.FieldName = "LeaseUp2";
gridViewCheckBoxColumn2.HeaderText = "Lease Up 2";
gridViewCheckBoxColumn2.IsAutoGenerated = true;
gridViewCheckBoxColumn2.MinWidth = 20;
gridViewCheckBoxColumn2.Name = "LeaseUp2";
gridViewCheckBoxColumn2.ReadOnly = true;
gridViewCheckBoxColumn2.Width = 80;
To Make sure what value was being passed I added the TextBox Column Below for testing
gridViewTextBoxColumn2.EnableExpressionEditor = false;
gridViewTextBoxColumn2.Expression = "column2 ";
gridViewTextBoxColumn2.HeaderText = "column1";
gridViewTextBoxColumn2.Name = "column1";
gridViewTextBoxColumn2.ReadOnly = true;
The Value returned by the Expression is the ValueMember (property_number)
and not the DisplayMember (lease_up)
What do I need to put in the Expression of either the TextboxColumn or
CheckBoxColumn to return gridViewComboBoxColumn1.DisplayMember (lease_up Boolean value)?
Any help will be greatly appreciated.
Thanks,
Hello,
is there any way to access a collection of the cells/rows that match the search criteria?
I'm trying to implement a combined search/filter - function -- using the SearchProgressChangedEvent to hide all rows that do not match the search criteria.
Kind regards,
Andreas
Thank you
first question
i don't want selected rectangle that i select item(using fullrowselect)
please see a picture
second question
i want that header isn't clicked
how can i do?? thanks!!