Answer Questions
smeets116 FrameworkElement.SizeChanged not fired when Visibility changes
SizeChanged event is not fired when Visibility changes (from Collapsed to Visible). I agree with SerialSeb. Think about it this way...If there was a VisibilityChanged event, would you expect it to fire when an element's size became 0 x 0 I believe it must be because in a Collapsed state, the object is simply removed from the rendering of the visual tree, not resized to 0. Hiding and resizing are two separate functions, and the parent of the object will just account for that object not taking up any space. Re-reading your message, it's even more consistent, considering the default value is 0. If you create a collapsed element, it's initialized with a rendeSize of 0, when you make it visible i ...Show All
KayakDude Windows Authentication over HTTP
I am trying to perform Windows authentication to a service (non WCF; therefore, basicHttp binding) that listens on http port 80 (not https). When I try to specify a client credential type of Windows, I'm forced to specifying a Transport security mode which requires an https URL. Is there a workaround to this It would seem there are many services that listen on 80 but require Windows authentication. Hello According to the scenario that you described, you should be using BasicHttpBinding with the security mode set to "TransportCredentialOnly" and not to "Transport". This last mode forces the usage of the HTTPS transport. Notice however that the "TransportCredentialOnly" mode d ...Show All
g e o r g e How to make such kind of Crystal Report
Hi All, I require Cross-Bar Crystal Report in the Following Format Total Column1 Column2 Column3 Total Row1 Column1 Column2 SummaryData SummaryData SummaryData Row2 Column1 Column2 SummaryData SummaryData SummaryData . . . The Row Field of Cross-Tab contains more than one field and if possible may allow to format. Thanks in advance. ...Show All
kiwilamb Binding color from slider value
Hi, I wanted to bind the value of a color from a slider, I could do it with 3 sliders for RGB or if possible with only one slider. I've tried to bind the R property from the slider but it didn't work. Any suggestions Thanks Bruno Silva Thank you Beatriz, that's what I was looking for. :) (btw, I'm working with a friend of your's in Braga) Hello, In my head what I wanted to do was: <Rectangle Width="200" Height="200" Margin="20"> <Rectangle.Fill> <SolidColorBrush> <SolidColorBrush.Color> <Color R="{Binding ElementName=redPath=Value}" G=& ...Show All
palange Getting XAML parser output to develop a XAML viewer
Hi, I am trying to find a utility converting a XAML file to c# code, which could then be re-used to implement an "advanced" XAML viewer (essentialy implementing a zoom function which is not curently available in IE or Xaml Pad). So here are my questions: - Does such a viewer already exist - If not, how can I use the XAML parser to read a XAML file and convert it in objects in my c# viewer project Thank you, David I'm not sure if such a viewer already exists, but you can use the System.Windows.Markup.XamlReader.Load() static method to convert XAML to .NET objects. This blog entry of mine http://www.infusionblogs.com/blogs/jsmith/archive/2006/07/30/686.aspx shows that method in ...Show All
Matt Gollob Webform Designer Control
I am trying to have an add-in create the webform for me based on information provided to the add-in. I can create the webform with the code-behind and I can retrieve the IDesignerHost. When I attempt to controls to the designer they are added to the collection but do not appear on the screen or the code. Does any one know of resources that can help me to find the right path The designer is not designed to be used in this way. If you want to create markup from an addin, I would recommend that you inject the contents in source view. The designer is not part of the framework, and is designed for users to interactively create and edit pages, its not designed to be driven pro ...Show All
LpAngelRob MRefBuilder Index Out of Range Error when documenting internals
When I turn on the documentation of internals I receive an IndexOutofRange error in the MRefBuilder. When internals are turned off all works fine. Any ideas This appears to be a bug. If you can please share your dlls, dependencies and code comments with me and I will be happy to debug. My email is available in my profile. Anand.. Olaf, This appears to be a bug in MrefBuilder. I am going to Debug and will provide a fix and also an explanation after I found out what the issue. Thanks for pointing this out. Anand.. Olaf, I forgot to mention. We have fixed the issue with documenting Power Collections in our December CTP. Anand.. Hi! This also happens ...Show All
divya mittal Unable to add references to BusinessObjects Enterprise assemblies
I’m currently developing reports in ASP.NET 2.0 using Crystal Reports XI & VS 2005. I’ve Crystal Reports XI installed on my machine. There is also Crystal Reports Server 30 Days Evaluation version in Business Objects XI. I need to schedule reports using Crystal Reports Server. Now problem is I’m not able to add references to Business Objects Enterprise assemblies which are required in scheduling & exporting reports. Expecting reply ASAP ...Show All
yahu_Hugh Changes between RC1 and RTM?
Hi, I haven't been able to find any document detailing the changes between RC1 and RTM of WCF (or the other .NET 3.0 technologies for that matter). Is this because there isn't anything (other than bug fixes of course), or has nothing been made available yet thanks! Michael Hi Michael, There are two breaking changes between RC1 and RTM. Change PeerChannel attaches a new protocol specific header to application messages Description As a consequence of this change, application instances that run on RTM and non-RTM bits will not interoperate. All instances intersted in interoperating must be running WCF RTM bits to exchange messages. Ch ...Show All
exal Multilingual ReportViewer: lack of default resource files
Hi, I'm trying to use the multilingual tutorial that comes with Visual Studio 2005 ( http://support.businessobjects.com/documentation/product_guides/cr_net/vs_2005/html/crtsktutorialsothermultilingual.htm ) but there's no "CrystalReportViewer_resource_files" folder (I have installed the tutorial sample code files), as they note. Does anybody know where I can find it 'Extremely useful' Business Objects links don't help at all. Thanks. -- Alexey Sorry for disturbance, people. Finally, I found Samples for full CR XI where such a folder presents. -- cu ...Show All
wesneon Polygon scaling inside datatemplate
I have a datatemplate that's used to represent a ListBoxItem: <DataTemplate> <Canvas Width="{Binding Path=Width, RelativeSource='{RelativeSource TemplatedParent}'}" Height="{Binding Path=Height, RelativeSource='{RelativeSource TemplatedParent}'}" > <Polygon> <Polygon.BitmapEffect> <BevelBitmapEffect BevelWidth="1" EdgeProfile="CurvedIn" LightAngle="140" Relief="0.4" Smoothness="0.4"/> </Polygon.BitmapEffect> <Polygon.Fill> <RadialGradientBrush GradientOrigin="0, 0" Center="0, 0" RadiusX=&quo ...Show All
Sergey Zwezdin Shouldn't XDocument.ToString() output declaration?
Shouldn't the ToString() method of XDocument output the document's declaration It doesn't. Here is some code and output: XDocument xDocument = new XDocument( new XDeclaration("1.0", "UTF-8", "yes"), new XElement("Root")); Console.WriteLine(xDocument.ToString()); This code outputs: <Root /> I beleive the point that Ion was trying to make is that the encoding in the Xml decl is not necessarily the true encoding of the document. For example when you output to a string the encoding used is UTF-16 but the XML decl would say UTF-8 which is misleading. The encoding attribute is really a hint for the serialization and is not honored in every case. ...Show All
Colin T. Batching Problem
Using the following sample: < xml version = " 1.0 " encoding = " utf-8 " > < Project DefaultTargets = " Main " xmlns = " http://schemas.microsoft.com/developer/msbuild/2003 " > < ItemGroup > < ListA Include = " itemA;itemB;ItemC " ></ ListA > < ListB Include = " item1;item2;item3 " ></ ListB > </ ItemGroup > < Target Name = " Main " > < Message Text = " %(ListA.Identity) - %(ListB.Identity) " /> </ Target > </ Project > I get : itemA - itemB - ItemC - - item1 - item2 - item3 But I really want: ItemA - i ...Show All
Peter Kalev Can I Access Button with AccessText?
I want to access the button that has Accesskey(O). But I can't. The following is sample code. <Window x:Class="SampleWindow" xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " > <DockPanel> <Menu DockPanel.Dock="Top"> <MenuItem Header="_File" > <MenuItem Header="_Open"> </MenuItem> </Menu> <Button> <AccessText>_Open</AccessText> </Button> </DockPanel> </Window> ---------------------------------------------------------------------------------------------------------------- ...Show All
fDogGT View of data at entity level
Is it useful to have a view where one can see the data based on entity framework and entity mappings. I could not find anything where I could check for the data at the entity level. Does microsoft plan to provide something like this in the next CTP Did anybody else find it to be a "nice to have" information Thanks for your reply. Yes, I meant a tool with some UI where you can browse data modeled this way. Such a tool will be of great help for quick validation of an entity model against existing data. Can someone from the 'other' group confirm if such an effort is underway and if so what the projected release date is No, it only shows the EntitySet's. It doe ...Show All
