Hi All-
The Bing! Maps accessible through the Telerik provider are VERY out of date and the OpenStreetsMap provider documentation does not illustrated how to perform the same functionality as is available for the Bing! provider.
How do we access up-to-date maps in Bing! or where can I find documenation on how to implement search and route functionality using OpenStreetMaps provider?
Thank you!
-Scott
Hi
In the ribbonbar i have placed splitbuttonelement and it has several menuitems. I have problem with the value (or index) of menu item that selected by user.i need a code to learn how can i do this and what events need to use.
Thanks.
I noticed that my below code which associates event delegates with a cell textbox editor does not signal those events. Could you please assist ?
private void Grid_CellEditorInitialized(object sender, VirtualGridCellEditorInitializedEventArgs e)
{
switch (column.Name)
{
case "Column1":
VirtualGridTextBoxEditor editor = (VirtualGridTextBoxEditor)e.Editor;
RadTextBoxElement elmnt = (RadTextBoxElement)editor.EditorElement;
elmnt.Tag = editor;
editor.Validated += Editor_Validated;
editor.Validating += Editor_Validating;
-----------------------------------
private void Editor_Validating(object sender, CancelEventArgs e)
{
// NOT TRIGGERED
}
private void Editor_Validated(object sender, EventArgs e)
{
// NOT TRIGGERED
}
I would like to hide/unhide nodes based on a bound data source item value. In my sample project, I can assign a full data source and a filtered data source from 'All Data Source' button click or 'Filtered Data Source' button click. But hide and unhide using the node visible property in radTreeView1_NodeFormatting event triggered from the 'Visible = Primary (Hide)' and 'All Visible Unhide' don't work. Also, the first click of 'Visible=Primary(Hide)' only formats the first 5 nodes. It seems once a node's visible property is false, you can not set it to true programmatically. I do not want to refresh or reload the tree view.
It would be really great if there was some way to filter tree view based on Tag versus Text property. Then I could simply populate the tag with true or false and filter.
Hi Team,
I'm facing this error "Value cannot be null. Parameter name: value" when i import the "docx" to richtextbox. I refer this Link for sample code. I can read below code for some file but some are not.
Here is sample Code
private void button1_Click(object sender, EventArgs e)
{
RadDocument document = new RadDocument();
IDocumentFormatProvider provider = new DocxFormatProvider();
OpenFileDialog openDialog = new OpenFileDialog();
openDialog.Filter = "Documents|*.docx";
openDialog.Multiselect = false;
DialogResult dialogResult = openDialog.ShowDialog();
if (dialogResult == System.Windows.Forms.DialogResult.OK)
{
using (Stream stream = openDialog.OpenFile())
{
document = provider.Import(stream);
radRichTextBox1.Document = document;
}
}
}
I do not know this is the file issue or not. I'm using V2011.3.11.1219 WinForms. I attached the file that can not read from code. You need to change the extension to docx.
Regards,
Hi Telerik,
In RadGridView, it was possible to use
cell.PointToScreen(cell.BoundingRectangle.Location)
to obtain the current screen position of a cell. What is the equivalent approach in RadVirtualGrid to obtain a cell's top/left from screen's point of view ?
Thank you,
Saj.
Hi,
I have a GridViewCommandColumn with buttons that are not always visible (using e.CellElement.Visibility = ElementVisibility.Hidden). When they are not visible the border lines around the cell disappear (see image 1).
I tried to fix this using EnableCustomDrawing=True and subscribing to the CellPaint event and draw the border manually, but this does not seem to work. In fact the CellPaint event seem to happen BEFORE the buttons is drawn. I came to this conclusion by drawing a black border around all cells, and got the result in image 2.
How can I fix this missing border problem?
/Per