Telerik Forums
UI for WPF Forum
3 answers
191 views
Hi!

I have an issue with multiselection with WPF RadGridView. I set  MultipleSelect="True". It allows to select multiple rows, but when I MouseDown to one of selected rows (in order to drag them), other rows become disselected. I want the multiselect to act same way as a "my computer" (select mutiple items, mouse down on one of selected items and drag them). Is it something that we can do with RadGridView?

Thank you,
Ruben,
Yoan
Telerik team
 answered on 15 Mar 2013
1 answer
195 views
I am trying to get the tool window to expand to the size of the content.   For example, I put UserControls in different Windows, some being 600 width.   But I never know beforehand what the exact size is.  Is there anyway to have ToolWindow behave like a standard window and just expand itself to its content while setting a Max size so it doesn't go overboard?
Konstantina
Telerik team
 answered on 15 Mar 2013
2 answers
144 views
Hi Guys!

Please help me.

I am building a radGridView dynamically from a Databasetable.
So the GridColumns are not defined in XAML.

This dynamically GridView might have some GridViewComboBoxColumns
and the user should be able to delete/deselect the value.

I am trying this in the code behind:

                    GridViewComboBoxColumn ComboBoxCol = new GridViewComboBoxColumn();
                    ComboBoxCol.SetValue(RadComboBox.ClearSelectionButtonVisibilityProperty, "Visible");
                    ComboBoxCol.SetValue(RadComboBox.ClearSelectionButtonContentProperty, null);

But I get a runtime error, that "Visible" is no valid value for the property.

Any suggestions?


Thanks and Regards, Martin



Yoan
Telerik team
 answered on 15 Mar 2013
0 answers
101 views
I Have this kind of problem
When I retrieve data from server for my gridview, at the start of function call I set IsBusy = "True" . after Async method, set IsBusy = "False", but RadBusyIndicator does not show

plz help
Mask
Top achievements
Rank 1
 asked on 15 Mar 2013
3 answers
235 views
Hi I need radbusyindicator to show while information is being loaded.  I am not using MVVM, code is written in code behind.  I am including the code here.  Right now, the busyindicator only loads after radgridview is already loaded.  Can you please help me.


<telerik:RadBusyIndicator x:Name="busyIndicator" Grid.Row="1" />

private void LoadAnswers(Int64 inputSurveyId = 0)
        {
            busyIndicator.IsBusy = true;

            this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, (ThreadStart)delegate()
                {
                    //busyIndicator.IsBusy = true;
                    if (inputSurveyId > 0)
                    {
                        //busyIndicator.IsBusy = true;
                        loadList.Clear();
                        loadList.AddRange(saf.GetAnswerUnfilteredE(inputSurveyId));
                        workList.Clear();
                        workList.AddRange(loadList);
                    }
                    else
                    {
                        loadList.Clear();
                        //busyIndicator.IsBusy = true;
                        loadList.AddRange(saf.GetAllE());
                        workList.Clear();
                        workList.AddRange(loadList);
                    }

                    QueryableCollectionView qCV = new QueryableCollectionView(workList);
                    rgvAnswers.DataContext = qCV;
                    rgvAnswers.ItemsSource = qCV;
                    rgvAnswers.Rebind();
                    //busyIndicator.IsBusy = false;
                });
        }
Mask
Top achievements
Rank 1
 answered on 15 Mar 2013
3 answers
256 views
Hi guys,

We are a Bing Maps user, and I'd like to make use of the RadMap control to present maps in our .net 4.0 winforms apps.  The problem I'm having is that the internet traffic has to go through a proxy server.  The RadMap control appears to be picking up the proxy settings and is directing its traffic through it, but its presenting 'anonymous' credentials to the proxy, rather than using the current user's domain credentials.  As such, the requests are being denied and no map tiles are returned.

I've tried setting the current thread principal to a new Windows Principal, based on the currently authenticated user, but that hasn't helped...

Any suggestions?

Best regards,

Tom
Andrey
Telerik team
 answered on 15 Mar 2013
1 answer
187 views
Not a major issue. I'm using the 2012-2 version.

I was doing some proxy debugging using Fiddler. When then proxy was requiring authentication, RadMap was not working (now fixed). However, this caused the map to constantly request tiles; it never stops. I saw the same behavior when disabling the network connection. Is there something I can do to change this, either in my code or the RadMap source code? There will be occasions when our software when not have an available network connection.

On a related note, it seems to always request the same tile from the same server. Would it make more sense to request the tile from a random server? For example OSM has the "a,b,c,d" servers. If it can't connect to one, it should try another (ie, call GetTile again).

EDIT - Similar problem, maybe the same. How can I forceably stop a provider? When I am done with a particular screen, I don't dispose the form, I simply hide it and clear the data. However, the nonstop tile requests are still going on. I've tried removing the Provider, clearing the MapSources, setting the MapSource to Nothing, but it just keeps on trying to download the tiles.
Andrey
Telerik team
 answered on 15 Mar 2013
0 answers
274 views

Hi


I am using BusyIndicator which is WPF extended control for my scanning application using C# and WPF. When user starts scanning operation, I want to show Please wait.... busybox with my scanning window grayed out .
Following is my code :

 

private

 

 

void btnStart_Click(object sender, RoutedEventArgs e)

 

{

    ScanBusyInd.IsBusy =

 

true;

 

 

 

    var bw = new BackgroundWorker();

 

    bw.DoWork += (s, args) =>

    {

 

 

 

        Action action = delegate()

 

        {

 

 

            PerformScanning();

 

        };

        Dispatcher.Invoke(

 

DispatcherPriority.Background, action);

 

    };

    bw.RunWorkerCompleted += (s, args) =>

    {

        ScanBusyInd.IsBusy =

 

false;

 

    };

bw.RunWorkerAsync();
}


Problem :-
My application is graying out the window, but its not displaying Please wait... busy box. I have followed all the steps related with dispatcher object and all. Also I tried to set visibility for busy indicator as well by  ScanBusyInd.Visibility = Visibility.Visible; But its not working.

Even I have put all control assignment related code in dispatcher block for every control like below
Dispatcher.Invoke(new Action(() => pvScanImage.Image = PageSideScan.Streams[0]));

 

 

 

But still busy indicator is not getting displayed. same thing works in other POC application.

I am not able to understand what am I missing here ?


Screen scenario :-
My screen is having so many WPF and third party scanning viewer related controls
After clicking on start scan button, lot of process is going on, like scanning various pages, savning them, creating some text files, assigning some values to control.

Could anybody suggest, what more needs to be done here?

Quick suggestions will be really helpful and appreciated.
Thanks
Sarang
 

Sarang
Top achievements
Rank 1
 asked on 15 Mar 2013
0 answers
111 views
Hi,
I use RadGridView 6.2.12.1017 version For My Project, I want to export ItemSource Of grid for Telerik Reporting (Q3 2012) . Is It Possible?
Kshiti
Top achievements
Rank 1
 asked on 15 Mar 2013
4 answers
224 views
Dear Telerik Team!

I'm trying to create some kind of configuration tool for ScheduleView control view settings. I'd like to initialize ScheduleView with some default values for orientation, visible days, minor and major tick length. In one of my xaml user controls code I have radcombobox definied:
<telerik:RadComboBox
                ItemsSource="{Binding MinorTickProviders}"
                SelectedItem="{Binding SchedulerViewSettings.MinorTickLength,Mode=TwoWay}">
                <telerik:RadComboBox.ItemTemplate>
                    <DataTemplate>
                        <TextBlock Text="{Binding ., Converter={StaticResource TickConverter}}" />
                    </DataTemplate>
                </telerik:RadComboBox.ItemTemplate>
            </telerik:RadComboBox>

ComboBox ItemsSource is definied like this:
private List<ITickProvider> minorTickProviders;
public List<ITickProvider> MinorTickProviders
        {
            get
            {
                return this.minorTickProviders;
            }
}
 
this.minorTickProviders = new List<ITickProvider>();
this.minorTickProviders.Add(new FixedTickProvider(new DateTimeInterval(2, 0, 0, 0, 0)));
this.minorTickProviders.Add(new FixedTickProvider(new DateTimeInterval(5, 0, 0, 0, 0)));
this.minorTickProviders.Add(new FixedTickProvider(new DateTimeInterval(10, 0, 0, 0, 0)));
this.minorTickProviders.Add(new FixedTickProvider(new DateTimeInterval(15, 0, 0, 0, 0)));
this.minorTickProviders.Add(new FixedTickProvider(new DateTimeInterval(20, 0, 0, 0, 0)));
this.minorTickProviders.Add(new FixedTickProvider(new DateTimeInterval(30, 0, 0, 0, 0)));
this.minorTickProviders.Add(new FixedTickProvider(new DateTimeInterval(0, 1, 0, 0, 0)));
this.minorTickProviders.Add(new FixedTickProvider(new DateTimeInterval(0, 2, 0, 0, 0)));
this.minorTickProviders.Add(AutomaticTickLengthProvider.MinorProvider);

I also use this converter:
public class TickConverter : IValueConverter
        {
            public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
            {
                FixedTickProvider provider = value as FixedTickProvider;
 
                if (provider != null)
                {
                    string interval = string.Format("{0:d2}:{1:d2}:00", provider.Interval.Hours, provider.Interval.Minutes);
                    if (provider.Interval.Hours == 0 && provider.Interval.Minutes == 0)
                    {
                        if (provider.Interval.Days == 1)
                        {
                            interval = "1 day";
                        }
                        else
                        {
                            interval = string.Format("{0} days", provider.Interval.Days);
                        }
                    }
                    return interval;
                }
                return "Automatic conversion";
            }
 
            public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
            {
                throw new NotImplementedException();
            }
        }

I bind combobox SelectedItem property to the following field:
private ITickProvider mMinorTickLenght;
        public ITickProvider MinorTickLength
        {
            get { return mMinorTickLenght; }
            set
            {
                mMinorTickLenght = value;
            }
        }
 
MinorTickLength = new FixedTickProvider(new DateTimeInterval(20, 0, 0, 0, 0));

But it doesn't work. ComboBox item is not selected. Could you please help me and point me in to the right direction?

Thanks in advance
Very best regards!
Krzysztof Kaźmierczak


testst
Krzysztof
Top achievements
Rank 1
 answered on 14 Mar 2013
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?