Telerik Forums
UI for WPF Forum
1 answer
158 views
Hi,

I use the WPF Q1 2012 SP1.

I just want to export/save the image contained in the ImageEditor with my own method.

What is the better way to do that ?

Thanks for your help.
Iva Toteva
Telerik team
 answered on 15 Mar 2013
3 answers
133 views
Hello telerik team and members,
In my project I'm using Telerik controls 2012.3 version with hotfixes (2012.3.1404.40).
Recently, I faced up with problem in RadGridView filtering. I need to set filter from code and change filter settings from UI at the same time. For this I wrote behavior which apply filter when GridViewDataColumn.Loaded event is raised.
private void FilterColumn()
{
    AssociatedObject.ColumnFilterDescriptor.SuspendNotifications();
  
    AssociatedObject.ColumnFilterDescriptor.FieldFilter.Filter1.Operator = FilterOperator.IsGreaterThan;
    AssociatedObject.ColumnFilterDescriptor.FieldFilter.Filter1.Value = 4;
              
    AssociatedObject.ColumnFilterDescriptor.ResumeNotifications();
}
And it works fine: filter is active and items are filtered (all_ok.jpg). But if I reloaded underlying collection, filter become inactive and items are no longer filtered(broken_filter.jpg).
What can be cause of that strange filter behavior? Can it be more convenient way to control RadGridView filter both from code and from UI?
I prepared test project. (To reproduce this problem you should click Refresh button 2 times: one to populate GridView, and the second to reload data).
Rossen Hristov
Telerik team
 answered on 15 Mar 2013
3 answers
171 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
177 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
130 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
89 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
219 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
242 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
168 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
243 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
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
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?