Does anyone have experience with PFGrid? There are just a handful of mentions on stackoverflow, none of which address binding. The company website's forum link is broken.
The DataSource property in the Winforms designer shows one entry: (none)
I am able to assign a datasource in code, but would like to determine what its design-time capabilities are, and whether or not the thing is broken. Does anyone have any useful information about this product, especially as regards its use in the designer?
The namespace of the control in the ToolBox is CG.Controls.Grid and the control name is TreeListView.
I've emailed the firm but have not yet received a reply.
Thanks.
A day after emailing the company it bounced. Looks like the maker of this product has drug up.
:
194.25.134.9 does not like recipient.
Remote host said: 550-5.1.1 user unknown
550 5.1.1 Unknown recipient.
Giving up on 194.25.134.9.
Related
I'm attempting to follow the instructions to create a reusable modal window in LightSwitch from Jan Van der Haegen's blog. However after I click to add a new Silverlight User Control to the Client, and input the xaml I'm met with errors. I reduced the code to the shortest section that gives me an error:
HRESULT E_FAIL has been returned from a call to a COM component.
From the following xaml:
<shellUtils:ScreenChildWindow
xmlns:shellUtils="clr-namespace:Microsoft.LightSwitch.Runtime.Shell.Framework;assembly=Microsoft.LightSwitch.Client">
</shellUtils:ScreenChildWindow>
I just installed Visual Studio 2012 in a virtual machine, created a new project, new Client Silverlight User Control, and tried the same code and received the same error.
I also receive it with this code and others referencing Microsoft.LightSwitch.Client:
<Framework:GroupBox
xmlns:Framework="clr-namespace:Microsoft.LightSwitch.Presentation.Framework;assembly=Microsoft.LightSwitch.Client">
</Framework:GroupBox>
Comments on the blog seem to indicate others have this error but I haven't found a solution anywhere yet. I also see the same/similar on Stackoverflow here, but unanswered.
Yes that's correct, just close the preview window. The XAML designer has a hard time rendering the control when referencing the LS assemblies. You can ignore these errors.
If you're seeing these errors elsewhwere please let me know and we can investigate.
After scouring the internet for the slightest related issue, I discovered at least in my case the design view errors can be entirely ignored.
Even with the other errors I didn't mention:
Undefined CLR namespace. The 'clr-namespace' URI refers to a namespace
Microsoft.LightSwitch.Cosmopolitan.Presentation.Controls' that could
not be found.
The type 'ctls:OverflowControl' was not found. Verify that you are not
missing an assembly reference and that all referenced assemblies have
been built.
An error occurred while finding the resource dictionary
/Microsoft.LightSwitch.Cosmopolitan.Client;component/Presentation/Shells/BasicStyles.xaml"
The control works perfectly. All the assembly preferences are present, so I'm not sure why the designer claims otherwise.
I just found out today that WPF will ignore CultureInfo.CurrentCulture and always use en-US. I have also found a wonderful answer here. Everything worked fine until one of the users customized the regional settings to change the currency symbol (here in the Philippines you could write Php and P and most people prefer P, the default setting is Php). The application doesn't seem to pick this up. Is there any way around this?
I recently had to check for the current country setup for my C# WPF application.
I used CurrentCulture and not CurrentUICulture (which picked up EN-US for me too).
Also, I'm not sure this will help- but I found out I was testing this functionality in the wrong place.
To change the country of your app for testing go to:
“Control Panel->Clock, Language, and Region” select the “Region and Language” button, a window will pop up, go to the format tab, change the country in the format listbox.
Once I did that CurrentCulture worked fine.
Well after a week's research of two people, I think there is currently no way of doing this using the Globalization classes.
CurrentUICulture and other related classes contain the default formats/settings for the selected Language but not the customized settings.
One way to do this is by reading the values straight from the registry key, HKCU\Control Panel\International.
Yes, there is a way to make WPF use customized regional settings, but you need to force all bindings to use CultureInfo.CurrentCulture. See this post for examples.
our company wants a TextBox very similar to outlook recipient Textbox.
Not emails but displaying people`s names delimited with a e.g. semicolon and
even more crazy ideas on it...
Do you know of any commercial WPF control who can handle that job? I already checked DX,Telerik,Infrapistics,Farpoint,componentone,Nevron,Syncfusion, etc...
OpenSource is no choice for us.
Is there a commercial TextBox that implements your company's completely unspecified requirements? I think it is safe to say that the answer is no.
Based on the sample from http://msdn.microsoft.com/en-us/library/ms771725.aspx
which is for WPF. I wanted same sample for silverlight as my requirements are same. but i get
"AG_E_PARSER_BAD_PROPERTY_VALUE" pointing to
in my XAML (FYI: xmlns:dat="clr-namespace:System.Windows.Data;assembly=System.Windows.Data").
Please help me in achieving the same.
There is not a direct 1-to-1 match between WPF and Silverlight nor the XAML used in those technologies. The error you are getting implies that the XAML is trying to set a property that either doesn't exist or doesn't support the value being applied to it.
To track this down, you'll need to look into the differences between the version of Silverlight you are using and the version of WPF that you are porting from. Just googling or binging gives quite a few links regarding this.
I've searched around for a while today, but I haven't been able to come up with an AutoComplete TextBox code sample for Silverlight 2 Beta 2. The most promising reference was found on nikhilk.net but the online demo doesn't currently render and after downloading a getting the code to compile with Beta 2, I couldn't get the Silverlight plugin it to render either. I think it is fair to say it is a compatibility issue, but I'm not sure. Does anyone have any alternate sample code or implementation suggestions?
You may want to take a look at my blog: http://weblogs.manas.com.ar/ary/2008/09/26/autocomplete-in-silverlight/
You simply write in your XAML:
manas:Autocomplete.Suggest="DoSuggest"
and then in the class file, you need to implement that method, which report suggestions to a delegate. The options can be hardcoded, requested to a web service, or whaterver.
Take a look at the combobox(very close to a autocomplete text box) at worksight's blog Silverlight ComboBox
There is also another good example here:
http://silvermail.com.au
This is a Silverlight based mail client that looks a little like Outlook. When I go to send mail and start typing in the "To" text box, an auto-complete pops up and populates the control for me based on values in a list... I think it automatically stores the addresses in isolated storage, but that's just a guess.
This is a really handy tool for checking mail while away from my home PC... at work for example... and it is loaded with impressive Silverlight functionality.
S.