﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebDesktop - asp.net WebDesktop creating a window from another window using server side.</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/aspnet-WebDesktop-creating-a-window-from-another-window-using-server-side/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>asp.net WebDesktop creating a window from another window using server side.</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/aspnet-WebDesktop-creating-a-window-from-another-window-using-server-side/</link><pubDate>Tue, 08 Feb 2011 22:18:07 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I think you missunderstood my explanation. Previously, You asked if this can be done on the fly.&lt;br /&gt;The answer is no because WebDesktopManager does not have any properties or method to process FlyPostBack in serverside.&lt;br /&gt;However, you can create a new window from server side only if you do FullPostBack mode.&lt;br /&gt;Please see my attached sample. I created a window from single asp.net button (server side).&lt;br /&gt;You can see that it requires FullPostBack.&lt;br /&gt;If you want to have a flypostback, you will need to use client side approach.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>asp.net WebDesktop creating a window from another window using server side.</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/aspnet-WebDesktop-creating-a-window-from-another-window-using-server-side/</link><pubDate>Mon, 07 Feb 2011 12:42:16 GMT</pubDate><dc:creator>tom.ray@rndih.com</dc:creator><description>&lt;p&gt;So there is no way to create a new window from server side code?  I am using MSChart and want to create a new window based on a click of a graph.&lt;/p&gt;</description></item><item><title>asp.net WebDesktop creating a window from another window using server side.</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/aspnet-WebDesktop-creating-a-window-from-another-window-using-server-side/</link><pubDate>Wed, 19 Jan 2011 16:31:27 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I think it could not be done this way. As far I know, WebDesktopManager does not have any FlyPostBack response or process.&lt;br /&gt;So, if you would like to create the window at server side, you will need to do it FullPostBack.&lt;br /&gt;But regarding this scenario, I suggest you to handle it via clientside.&lt;br /&gt;In clientside, you can freely to create or close a window.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>asp.net WebDesktop creating a window from another window using server side.</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/aspnet-WebDesktop-creating-a-window-from-another-window-using-server-side/</link><pubDate>Tue, 18 Jan 2011 15:59:52 GMT</pubDate><dc:creator>danfrpa1</dc:creator><description>&lt;p&gt;How do I create a window from another window on the fly.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Here is what I have in my class, I can reference the WebDesktop, but it is not working.  It doesn't error out... just no window shows up.&lt;/p&gt;Public Sub BuildActiveWindow(ByVal ssName As String, ByVal ssURL As String, ByVal ssCaption As String, ByVal ssWidth As Int32, ByVal ssHeight As Int32, ByVal ssAllowMinimize As Boolean, ByVal ssAllowMaximize As Boolean, ByVal ssAllowResize As Boolean, ByVal ssAllowClose As Boolean, ByVal ssControlBoxImage As String, ByVal amaPage As Web.UI.Page) &lt;blockquote&gt;MainDesktopManager = amaPage.Session("MainDesktopManager")&lt;br /&gt;Dim isWindow As ISNet.WebUI.WebDesktop.WebDesktopWindow&lt;br /&gt;Dim aFound As Boolean = False&lt;br /&gt;For Each isWindow In MainDesktopManager.Windows&lt;br /&gt;If isWindow.Name = ssName Then&lt;br /&gt;aFound = True&lt;br /&gt;Exit For&lt;br /&gt;End If&lt;br /&gt;Next&lt;br /&gt;&lt;blockquote&gt;If aFound = False Then &lt;blockquote&gt;isWindow = New ISNet.WebUI.WebDesktop.WebDesktopWindow&lt;br /&gt;isWindow.Text = ssCaption&lt;br /&gt;isWindow.Name = ssName&lt;br /&gt;isWindow.ControlBox = ControlBox.Yes&lt;br /&gt;isWindow.ControlBoxImage = ssControlBoxImage&lt;br /&gt;isWindow.ContentMode = ContentMode.UseIFrame&lt;br /&gt;isWindow.ContentURL = ssURL&lt;br /&gt;isWindow.ShowInTaskBar = True&lt;br /&gt;Dim vSize As System.Drawing.Size = New System.Drawing.Size(640, 480)&lt;br /&gt;isWindow.MinimumSize = vSize&lt;br /&gt;Dim isSize As System.Drawing.Size = New System.Drawing.Size(ssWidth, ssHeight)&lt;br /&gt;isWindow.Size = isSize&lt;br /&gt;If ssAllowMaximize = True Then&lt;br /&gt;&lt;blockquote&gt;isWindow.AllowMaximize = AllowMaximize.Yes&lt;/blockquote&gt;Else&lt;br /&gt;&lt;blockquote&gt;isWindow.AllowMaximize = AllowMaximize.No&lt;/blockquote&gt;End If&lt;br /&gt;If ssAllowMinimize = True Then&lt;br /&gt;&lt;blockquote&gt;isWindow.AllowMinimize = AllowMinimize.Yes&lt;/blockquote&gt;Else&lt;br /&gt;&lt;blockquote&gt;isWindow.AllowMinimize = AllowMinimize.No&lt;/blockquote&gt;End If&lt;br /&gt;If ssAllowResize = True Then&lt;br /&gt;&lt;blockquote&gt;isWindow.AllowResize = AllowResize.Yes&lt;/blockquote&gt;Else&lt;br /&gt;&lt;blockquote&gt;isWindow.AllowResize = AllowResize.No&lt;/blockquote&gt;End If&lt;br /&gt;If ssAllowClose = True Then&lt;br /&gt;&lt;blockquote&gt;isWindow.AllowClose = CloseMode.Yes&lt;/blockquote&gt;Else&lt;br /&gt;&lt;blockquote&gt;isWindow.AllowClose = CloseMode.No&lt;/blockquote&gt;End If&lt;br /&gt;isWindow.ClientVisible = True&lt;br /&gt;MainDesktopManager.Windows.Add(isWindow)&lt;/blockquote&gt;&lt;br /&gt;Else&lt;br /&gt;End If&lt;/blockquote&gt;End Sub&lt;/blockquote&gt;</description></item></channel></rss>