Hi, I have the following problem: Two custom controls, first control has a button, when I click this button I'd like to render the second custom control content in popup window. How to do it? Please, help.
Michael O
Posts
-
Custom control in popups -
WPF UserControl WarningHi, What can cause the following warning occurs?
The element 'StackPanel' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation' has invalid child element 'FileInputBox' in namespace 'clr-namespace:UserControlTest'. List of possible elements expected: 'StackPanel.CanHorizontallyScroll, StackPanel.CanVerticallyScroll, StackPanel.ScrollOwner, StackPanel.Background, StackPanel.IsItemsHost, StackPanel.Style, StackPanel.OverridesDefaultStyle, StackPanel.Triggers, StackPanel.Resources, StackPanel.DataContext, StackPanel.Language, StackPanel.Tag, StackPanel.InputScope, StackPanel.LayoutTransform, StackPanel.Width, StackPanel.MinWidth, StackPanel.MaxWidth, StackPanel.Height, StackPanel.MinHeight, StackPanel.MaxHeight, StackPanel.Margin, StackPanel.FocusVisualStyle, StackPanel.Cursor, StackPanel.ForceCursor, StackPanel.ToolTip, StackPanel.ContextMenu, StackPanel.InputBindings, StackPanel.CommandBindings, StackPanel.AllowDrop, StackPanel.RenderSize, StackPanel.RenderTransform, StackPanel.RenderTransformOrigin, StackPanel.Opacity, StackPanel.OpacityMask, StackPanel.BitmapEffect, StackPanel.BitmapEffectInput, StackPanel.ClipToBounds, StackPanel.Clip, StackPanel.SnapsToDevicePixels, StackPanel.IsEnabled, StackPanel.IsHitTestVisible, StackPanel.Focusable, sgUIElement...
It's happen when I add my own UserControl, of course the application is working in proper way. thanks in advance -
DomainHi, How can I take the list of all users in my domain? Regards Michal
-
Opening a file in new windowHi, How can I open a pdf file in new window, I have a url to file, but Response.Redirect(url) don't open the file even in current window. thanks in advance
-
Exception: Illegal characters in path.I'm creating a XmlDocument from string, when I'm calling Load method I get an exception: Illegal characters in path. Any suggestions? thanks in advance
-
XML-RCP Web serviceHi, Can somebody tell me, how to call method from web service in xml-rcp command style?
-
Zoho APIHi Is somebody here who use the Zoho api? I have a problem with showing a document in zoho.writer. I know an api key, ticket and document id, the web service receives the xml but I'd like to open the document in zoho.writer. thanks in advance
-
image processingSorry, my mistake, the scanwidth of 49 width (in pixles) picture is not a 150 but 148, but still is not a 147. All time we talk about 24bpp format, that means you have 1 byte per each component of RGB system. 3*49 is 147 but 147 is not a multiple of 4, 147 mod 4 is different than 0, the nearest number which is multiple of 4 is 148 (148 mod 4 = 0). I don't know exactly why, but is something with memory alocation.
-
image processingIt is not the same! Stride is a scan width. If you have bitmap width 49 the bitmap.stride is 150 but your offset is 147. Of course if you use 24bpp colour format.
-
Two questions: Master pages and navigationHmmm Please, describe me briefly what are you trying to do? Because it seems be a bit complicated or maybe you are trying to do very simple thing in very complicated way:)
-
GridDataView/SqlDataSource--Code BehindWhat exactly are you looking for? Here you have a nice dateabase of articles about GridView: http://www.gridviewgirl.com/GridViewGirl/articles.aspx The good reference materials you could find at asp.net
-
SharePoint site creation -
How to deploy web application made in visual studio2005If you want to deploy your web site in local intranet first you must instal IIS. Then navigate to Administrative Tools choose IIS and create new virtual catalog. The wizard will run you through the proces.
-
Two questions: Master pages and navigation1.
public partial class Default : System.Web.UI.Page { protected void Page_PreInit() { if(IsPostBack) { this.MasterPageFile = "MasterPage2.master"; } } protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { //Call some event to cause page reload } }
I'm not sure that is what you are looking, but remember the ID ContentPlaceHolder in Master1 and Master2 must be the same. 2. You can send a adres of previous page in hidden field or in viewstate or remember in session or in cache. Sorry for my english :) -
Two questions: Master pages and navigationAd.1 You can set the MasterPage file in PreInit event. 2. What exactly would you like to do?
-
Graphic libraryThe GDI+ library works realy fast, how fast it can be, I'll see tomorow :) Thanks for indication me the right path, previously I convert a Bitmap to byte array and work with it. It have caused many problems with image stride.
-
Graphic libraryHi, I'm looking for graphic library which make possible fast copying part of image and pasting this sample to another image in selected position. I need it for implementing some texture synthesis algorithm. If you know such a library, I'll be grateful for any help.
-
Image Processing - problem with copying dataHi, I would like to generate a bigger ouptut texture from the small sample. I lock bits and copy them to byte array. Next I copy bytes to the output byte array and again lock bits and create output Bitmap. Everything works properly when OutputImage.Width % 4 = 0, if output image width (in pixels) is diffrent than 0 I get strange image! I tryed to make something with PixelFormat, but it didn't give any effects. thanks for any help :)