<telerik:RadSlider Padding="2" Width="154" Minimum="{Binding MinSpeedValue}" Value="{Binding SpeedValue}" Maximum="{Binding MaxSpeedValue}" LargeChange="1" SmallChange="1" IsMoveToPointEnabled="True" TickFrequency="1" IsSnapToTickEnabled="True" ToolTip="{StaticResource SpeedTooltip}" IsDeferredDraggingEnabled="True"/>Hello telerik,
i am using within a RadGridView in Win8Touch Theme a GridViewCheckBoxColumn with Binding to a Boolean.
Technically everything works fine.
But there seems to be a design bug.
If a checkbox has the focus, the design of the checkbox is displayed properly. If it doesn't have the focus, the checkbox seems to be cut off.
Here a simplified code snippet
<telerik:RadGridView HorizontalAlignment="Stretch" VerticalAlignment="Stretch" ItemsSource="{Binding Path=UserRights.UserRights}" telerik:StyleManager.Theme="Windows8Touch" ShowGroupPanel="False" AutoGenerateColumns="False" > <telerik:RadGridView.Columns> <telerik:GridViewCheckBoxColumn DataMemberBinding="{Binding IsRightGranted}" IsReadOnly="False" Width="60" UniqueName="Right.IsGranted" IsFilterable="False" AutoSelectOnEdit="True" EditTriggers="CellClick" /> </telerik:RadGridView.Columns></telerik:RadGridView>I have also attached a screenshot displaying this style problem.
Thank you for your help.
Mike
Hi,
I am using RadRibbonWindow, in which i am setting MinWidth and MinHeight.
But, the window can still be made smaller using the crosshairs which appear at the edge of the window.
Is this a bug or am i missing something? Please help!
Thanks! :)
Hi,
I want to remove Ctrl+A, which will select all record in GridView.
I have requirement that User will be able to select multiple record/row by clicking on that. But user should not be able to Select All either from Header selction column check box or Ctrl+A.
Please suggest how to do that ASAP.
--
Manoj S
Hello,
I want to change the color of vertical and horizontal gridLines of my chart (target on my screen '12'), but I don't find which property can do this changement..
The MajorXLine and MajorYLine don't have a semblable property.
Can you help me ?
Thank you very much.
Valentin.
[Using 2015 version]
When row is validated and error set, followed by cancel of the edit, the error persists in the tooltip of the row.
I have implemented the fix suggested by Telerik:-
private void RowEditEndedCommandHandler(GridViewRowEditEndedEventArgs e)
{
if(e.EditAction == GridViewEditAction.Cancel)
e.UserDefinedErrors.Clear();
}
Although this clears the list structure in code, the tooltips remain in the grid - this solution does NOT work.
I've created a simple project which displays this problem.
https://onedrive.live.com/redir?resid=F5592FAA18AF2058!246934&authkey=!ACoJXqIxerfCnkg&ithint=file%2czip
I really need to find a solution to how to clear the error from the tooltips following edit cancellation.
Thanks!
Hello,
I want to use custom provider in my project,
the map can be shown right,but the minimap is nothing in the map.
what should I do?
here is the code in my project:
XAML:
<telerik:RadMap x:Name="map" Center="73.8737, -31.9043" ZoomLevel="7" MinZoomLevel="3" MiniMapExpanderVisibility="Collapsed">
<telerik:RadMap.Providers>
<provider:MapProvider></provider:MapProvider>
</telerik:RadMap.Providers>
</telerik:RadMap>
MapProvider :
public class MapProvider : TiledProvider
{
public MapProvider() : base()
{
MapSource mapSource = new MapSource();
this.MapSources.Add(mapSource.UniqueId, mapSource);
}
public override ISpatialReference SpatialReference
{
get
{
return new MercatorProjection();
}
}
}
MapSource:
public class MapSource : TiledMapSource
{
public override void Initialize()
{
RaiseIntializeCompleted();
}
public MapSource() : base(3, 18, 256, 256)
{
}
protected override Uri GetTile(int tileLevel, int tilePositionX, int tilePositionY)
{
int zoomLevel = this.ConvertTileToZoomLevel(tileLevel);
if (tilePositionY > Math.Pow(2, zoomLevel - 1) - 1)
{
return null;
}
string url = "http://www.arcgisonline.cn/ArcGIS/rest/services/ChinaOnlineCommunity/MapServer";
StringBuilder builder = new StringBuilder();
builder.AppendFormat("{0}/tile/{1}/{2}/{3}", new object[] { url, zoomLevel - 1, tilePositionY, tilePositionX });
return new Uri(builder.ToString());
}
}
and here is the result:
Hello,
I am using RadRichTextBox in my project as a reporting tool. I have created a basic structure of application and it seems to be working fine. I am setting MailMergeDataSource to a collection to generate report of more than one selected records. For example If a user selects 10 records, 10 pages will be created in final report. (assuming 1 page per report). User can now edit the generated report (like formatting, refining and so on). Till this point it seems to be achievable. I further want to get all these 10 updated pages of reports separately (with the changes done on the view), I am not sure how to do it.
Following is the line I am using for MailMerge
radRichTextBox.Document = radRichTextBox.MailMerge(); //Start each record on new page.
I am not sure how to get the boundaries of each report. because if I use the API to regenerate each report the changes done on the print preview will be lost.
This is what I am talking about
IDocumentFormatProvider formatProvider = DocumentFormatProvidersManager.GetProviderByExtension(".docx");
for (int i=0;i<number_of_records; i++)
this.radRichTextBox.Document.MailMergeDataSource.MoveToFirst();
var doc = this.radRichTextBox.MailMergeCurrentRecord(); // returns a RadDocument that is the result of substituting the merge fields with the data from the current record.
byte[] binnaryReportData = formatProvider.Export(doc); //but changes will be lost
this.radRichTextBox.Document.MailMergeDataSource.MoveToNext();
}
How can I achieve this?
Dear Admin,
I want to edit the content of radgridview cell programmatically.
I am usign below code .Would you please help me with the same. While debugging , the currentcell.Value is updated but it does not show up in Radgridview
var dataControl = (GridViewDataControl)sender; currentCell = dataControl.CurrentCell as GridViewCell;if (currentCell != null) { currentCell.Value = s;// s is the string }//Radgrid view xaml <telerik:RadGridView.Columns> <telerik:GridViewDataColumn Header="Expectation Set" DataMemberBinding="{Binding ExpectationSet.Name, Mode=TwoWay}" /> </telerik:RadGridView.Columns>