Advanced Forum Search Results
-
Hey,
It seems that if a response from a request created using the new ClientHTTP stack has a header with no value it errors with the following error:
The parameter 'value' cannot be an empty string. Parameter name: value
at
System.Net.ValidationHelper.CheckBadWebHeaderChars(String name, Boolean ...
-
Hey Michael,
Thanks for that. However; I have already made my controls into usercontrol so I don't need a fix for that anymore. You might want to wait and see if anyone else have that problem before spending more time on it.
Apriciate your help.
-Thomas-
-
Guntae Park: Thanks. Though that still doesn't seems to sort my nesting problems. The only I could find to fix that was making all the 1.1 controls that had controls inside them into UserControls.
Yi-Lun Luo: That's works! It's a bit nasty but beats having to change the *.g.cs file everytime. Thanks for that!
Thanks ...
-
Yes I can. But that limits me to use a class in the same namespace as the control. Since I have loads of controls they are divided in different namespaces and I have one class in another namespace that I want to use as the baseclass. In WPF that works by referencing the namespace with an xmlns.
Example (app is called ...
-
Hey again.
Yes, nesting usercontrols works fine, which is what I am doing now (just annoying having to change all the current controls). The problem arises when they are controls with a build action of "embedded resources" and you use the InitializeFromXaml to load in the XAML (please see the example I sent you).
I have ...
-
Re 2: You are right. That does seems to work the way you explained. However my problem is that I have my baseclasses in another namespace (in this case another assembly as well, but it doesn't matter, it errors as soon as you specify namespace).
So it's something like this:
<euc:Test1 ...
-
Hey.
Thanks for your quick reply. I will give the namespace thing another try. It's 5am and I am getting quite tired so that might be why ;)
I sent you an example on the nesting resources problem.
Thanks,
-Thomas-
-
Hey all.
I am in the process of converting a pretty big 1.1 project to 2.0 and I have a couple of questions;
1. The original code uses controls as resources (build action: embedded resources) and they are loading the xaml from the Manifest Resource Stream to initiate the controls. That does still work, however it doesn't work ...