Advanced Forum Search Results
-
Hi all,
I am having the exactly same error. When I put on the page just the base class, it works fine. But if I put there the inherited one it throws unhandled exception (AG_E_PARSER_BAD_TYPE) in InitializeComponent() in base class!
the inherited class looks like this:
XAML
<BaseListItemControl ...
-
That sounds great I'd definatelly try it.
Thanks a lot, Filip
-
Well that should work, there will be only some more time needed to make the request for webservis which makes reqeust somewhere else. So it could be quite time consuming operetion which basicly didn"t do anything usefull with the retrieved data. And for example if the link would be to an 50MB file, I would need to download the whole ...
-
Hi all,
this is my problem. I want the user to enter url to an image. But I need to check if the url targets really to an Image. In best scenario I 'd like to just try if the url exists not to donwload large data that I wouldn't need right now. I have tried HttpWebRequest but I couldn't get it work. When I was using POST ...
-
Okay,
at first correct me if am wrong. What you are trying to do is into your page put user control in which is another user control, correct?
If the "previous button" is also user control why are you initializing it by InitializeFromXaml() ? You can simply create a new instance of it and add it to the parent canvas and ...
-
I have got the same problem :( I am using ASP.NET future with 2 silverlight projects in the same solution. And sometimes when I want to debug a silverlight code behind, the running version is not the same like in my solution. Then it tells me that my breakpoint will not be hit. I have tried to delete DEBUG, delete the copied xaml page, ...
-
-
The first two point I have already done, but the third point is the problem. My application does not know "Rectangle" maybe is just missing some references. I am using this namespaces
using System;
using System.IO;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Input;
using ...
-
Okey,
I have made a method in user control which should change the width property of the rectangle. But if I set name in XAML of the rectangle like x:Name="rect" in the code behind I can not reach this name directly (I don't know why). So I have tried something like this:
...
-
I want to change width of the rectangle. I have tried Canvas.WidthProperty, still the same. Then I have tried to just set in runtime width of rectangle which is just in my page, (is not an user control), and this works normally. And if I check the width property of my userControl that I am trying to change, it is really changed, but in the ...