I have a toggle button that shows/hides the search row. However, I need to capture the close event of the search row so I can change the toggle button state. This is needed because the user can click the X to close the search row. Or, can I hide the X button?
Thanks!
Hello,
Can someone tell me if it's possible to automatically scroll the selected folder in RadBrowserEditor into view? Currently, I am setting the 'value' property of this control to a folder that's is not part of the default view. When the dialog opens, the folder is selected as expected but it's not scrolled into view. So, I have to manually scroll in order to find the selected folder.
Thanks,
Santosh
I've written a single dialog box to handle error messages, input box, yes/no dialog with metro touch theming.
I show and hide controls and shuffle them into position as necessary.
The file shows 3 images, top one is at design time and the bottom two at run time.
My problem is that I need to catch the window layout after the theme adjusts the sizes of the controls but before they're displayed so I can perform a final shuffle. As you can see, especially on image 3, the position of the buttons, despite being anchored bottom and left/right are a long way off their original site. On image 2 I try to reposition them programatically, but the theme hasnt been fully applied and the button heights are returned to me as 24 when they're actually 32.
Is there an event which I should trap to do this please?
How do I change a node's checkbox state when the user clicks on the node's label text as opposed to clicking on the checkbox itself?
This needs to work when the treeview is in Tri-state mode (needs to handle intedeterminate state as well as on/off).
Thanks
Hi,
Currently, I am using DontNetMagic library.. Now i want to switch to Telerik WinForms.
My requirement is to add a field (as highlighted in attached image) by inheriting any of CommandBar class in my own class.
The text (20%) will be updated as and when performs any zoom operation.
What is the recommended way to achieve the desired functionality?
Thanks,
Harshal
Hi,
would be cool if tooltips defied for RadGridView Columns would also show in the column chooser.
Regards
Erwin
Is there a way, in the grid view, to programmatically get a list of rows that are only visible on the screen. For example, I have 100 rows in my datasource and I only show 15 rows of in my gridview, I scroll down a few pages. I want to get a list of the rows that are visible, programmatically. How can I do that?
Thanks
I have a 'Person' column which I'm wanting to filter. The problem is, I'm trying to load on demand a suggestion drop down list as the user types in the filter box. But I don't want the VirtualGrid's filter to be updated as the user is typing. I want the VirtualGrid's filter to updated by the user selecting an option from a suggerstion drop down. After the user has entered at least 4 characters in the filter textbox, I query 50 items from the server to populate the suggestion drop down. As the user continues typing, the suggestion drop down will be reloaded with the new set of results. Again, no filter should be added to the VirtualGrid until the user clicks an item in the suggestion drop down. And the user should be able to use the up/down arrows to scroll through the suggestion list without it changing the text in the filter textbox as that would cause a requery and reload of the suggestion items.
I tried this using VirtualGridDropDownListEditor and creating a custom AutoCompleteSuggestHelper. This worked great in displaying the suggested list and reloading as the user typed. I could arrow up and down without reloading the suggestion list. But once I clicked on the item in the list, I could get the VirtualGrid to be notified on the filter being set.
I also tried using VirtualGridAutoCompleteBoxEditor but couldn't prevent it from immediately notifying the VirtualGrid of the change in the textbox without cancelling the textbox value change completely.
Requirements:
I've run into a very strange issue with binding a simple List of objects to a DropDownList. Given the following code:
this
.myDDL.DataSource =
null
;
//in here to make sure any pre-existing source isn't the problem
List<Person> lst =
new
List<Person>();
var qry = Employees.List(load);
//Returns List<Person> with no errors every time
lst.AddRange(qry.ToArray());
//Proof that there are no errors. lst.AddRange() works flawlessly on the data
this
.myDDL.BindingContext =
new
BindingContext();
//just added this, in case it was the issue
this
.myDDL.DataSource = lst;
//bombs.
The very strange thing is that the error thrown is an Oracle error. Normally, I'd be pestering Oracle about it, but the weird bit is that it only throws the error when assigning the datasource. This doesn't match Oracle error ORA:00933 (SQL Command not properly ended) at all, but that's the error that is thrown. The unnecessary extra code above is entirely a result of me trying to isolate a cause, but the query itself that runs to fill in one of these objects is a Stored Procedure that is called in our Production environment many times a day in the exact same way. The object itself is too simple to be the cause:
public
class
Person
{
public
int
ID {
get
;
set
;}
public
string
FullName {
get
;
set
;}
public
override
string
ToString()
{
return
ID.ToString() + "(" + FullName + ")";
}
}
There are no null values in any property of the objects, no nulls added to the list, and the error doesn't occur until Binding. Does the Telerik RadDropDownList recall the constructor of each object when using a List<T> as a DataSource? If not, why would the error appear when binding instead of when the objects are initially constructed?
Hello,
When I navigate with hot keys Alt - F - R (refer attached image), I can see the sub menu, but I am not able to select any of them with help of keyboard.
below is my code:
Dim recentDocMenuitem As New RadMenuItem("&Recent Documents")
myRecentDocuments.ParentMenu = recentDocMenuitem
myRecentDocuments.ParentMenu.PerformClick()
myRecentDocuments is a object of my custom class which gets the list of documents.
I would be glad If you have any alternative in Telerik to show recently opened files, so that I can use that instead of my custom class. :)
Please suggest workaround for it.
Thanks,
Harshal.