Using VS2005 ASP.NET 2.0, VB code behind:
I have a windows forms based application that I need to port to the
web. One of the major components of my windows forms based application
is a TreeView inside a slider object (allows users to resize the
TreeView during real-time).
Is there an equivalent ASP.NET (or AJAX.NET) control that will give
similar functionality to the windows forms splitter?
I'm aware of the following possibilities:
- frames (and iframes) - I've had trouble with these...
I was hoping there were some JavaScript based code that I could utilize
but I'm not sure how I'd marry that with ASP.NET 2.0 TreeView.
Any pointers, thoughts and sample would be appreciated.
celoftis 5 1428
There isn't anything built in as far as I know.
There are commercial controls, such as the ones made by Telerik
( http://telerik.com/products/aspnet/c.../overview.aspx) or
ComponentArt ( http://www.componentart.com/splitter/default.aspx)
There may be free ones out there too..
Karl
-- http://www.openmymind.net/ http://www.codebetter.com/
"celoftis" <ce******@gmail .comwrote in message
news:11******** **************@ 73g2000cwn.goog legroups.com...
Using VS2005 ASP.NET 2.0, VB code behind:
I have a windows forms based application that I need to port to the
web. One of the major components of my windows forms based application
is a TreeView inside a slider object (allows users to resize the
TreeView during real-time).
Is there an equivalent ASP.NET (or AJAX.NET) control that will give
similar functionality to the windows forms splitter?
I'm aware of the following possibilities:
- frames (and iframes) - I've had trouble with these...
I was hoping there were some JavaScript based code that I could utilize
but I'm not sure how I'd marry that with ASP.NET 2.0 TreeView.
Any pointers, thoughts and sample would be appreciated.
celoftis
Any pointers on how to get frames and/or iframes to work with the
treeView?
I had not seen those... thanks for the refererences...
So, I want to open the links on the left in the "showframe" on the
right.
The problem is that when I click on the "mail.google.co m" link, it
opens in "_self", not the "showframe" .
Is there something wrong with my code (see below)? Is there something
in the Google code that makes it not open in frames?
Thanks for your attention to this...
Here's the sample code, 2 files, I am using:
*************** *************** *************** *************** *************** *********mainFr ame.aspx:****** *************** *************** *************** *************** *************** ***
<%@ Page Language="VB" AutoEventWireup ="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title />
</head>
<frameset cols="15%, *">
<frame name="toc" src=Default.asp x />
<frame name="showframe " />
</frameset>
</html>
*************** *************** *************** *************** *************** *********Defaul t.aspx********* *************** *************** *************** *************** ***************
<%@ Page Language="VB" AutoEventWireup ="true" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitl ed Page</title>
</head>
<body>
<form id="form1" runat="server">
<asp:TreeView ID="TreeView1" runat="server">
<Nodes>
<asp:TreeNode
Text="mail.goog le.com"
NavigateUrl="ht tp://mail.google.com "
Target="showfra me">
<asp:TreeNode
Text="http://espn.com"
NavigateUrl="ht tp://espn.com"
Target="showfra me">
</asp:TreeNode>
</asp:TreeNode>
<asp:TreeNode
Text="http://cnnsi.com"
NavigateUrl="ht tp://cnnsi.com"
Target="showfra me">
<asp:TreeNode
Text="http://drudgereport.co m"
NavigateUrl="ht tp://drudgereport.co m"
Target="showfra me">
</asp:TreeNode>
</asp:TreeNode>
</Nodes>
</asp:TreeView>
</form>
</body>
</html> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: python newbie |
last post by:
Hi,
I have a wxPython app which dump errors when I close it ( in
the debug output at bottom of Komodo, when I close my app. )
Where I got the code for my GUI:
Straight from the wxProject.py file which comes with the samples:
----
C:\Python23\Lib\site-packages\wx\samples\wxProject\wxProject.py ----
It basically consists of a splitterwindow, and I have a wxPanel
|
by: Don Leverton |
last post by:
Hi All,
I've got a situation where I am developing an Access 97 app for a client,
and am in the "beta testing" stage.
I have split the app up, using the DB splitter, into front-end /back-end
for the usual reason ... so I can mess with form/report revisions. Since
splitting, I've had issues with re-linking the tables ... as it relates to
the completetely different "My Documents"
data paths on several different Win98 / Win XP computers.
|
by: Mika M |
last post by:
Hello!
My windows form has Splitter control on it, and I save splitter's last
X-location when user changes it like ...
Private Sub Splitter1_SplitterMoved(ByVal sender As Object, ByVal e As
System.Windows.Forms.SplitterEventArgs) Handles Splitter1.SplitterMoved
'// Saving new Splitter X-Location
oSettings.SaveSetting(Application.ProductName, Me.Name,
"SplitterLocationX", Splitter1.Location.X.ToString())
|
by: Sam |
last post by:
Hi,
I have a panel docked to the bottom of my form. This panel can be
expanded vertically by clicking on a button. When the user click on the
button again, the panel is then collapsed. The panel has a horizontal
splitter, which the user can use to resize the panel when it is
expanded. I would like to save the height of the panel when the user
uses the splitter, so that when the panel is expanded via the button,
it size will be...
|
by: Marina |
last post by:
Hi,
It seems that I am seeing an inconsistency in the arguments that get passed
to the SplitterMoved vs. SplitterMoving events.
As in, the ones for the SplitterMoving are correct coordinates, and the ones
for SplitterMoving are not.
I have a panel with 2 controls in it and a splitter. I also have a textbox
to log all the values of the events.
| |
by: JDeats |
last post by:
I have a WinForm with three Splitter controls on it. The form divides
up in this order: Tab Control (docked to the left): Splitter1:
RichTextBox (docked to the left): Splitter2
After Splliter2 there is some empty space on the form where I have a
few button controls.
When the app starts the form is 800x600, but I need to give the user
the ability to maximize and to resize the form to whatever size they
like. When the occurs I need the...
|
by: =?Utf-8?B?bGpsZXZlbmQy?= |
last post by:
I want to implement the following:
If the user clicks on the border of a form, then I want to show a box around
the form that represents the form's bounds. As the user moves the mouse only
the box's bounds would change. When the user releases the mouse the form's
bounds would be set to the bounds of the box. Note that this is very similar
to how the Splitter control works.
Does anybody know how to do this?
|
by: Mr. X. |
last post by:
Hello.
I have put 3 components on the form :
Panel . dock property is left (left panel).
Spliter. dock property is left.
Panel. dock property is fill (right panel).
I see that the spliter has some width, and all the elements on the right
panel,
are invisible when they are neer the left edge of the right panel
(the splitter component hides them).
|
by: arnoldino |
last post by:
hi
i wanna make a form on which there are 6 panels. on form load the first panel will show up, and if the user clicks on a button on taht panel the first panel will hide and the second will show up, and so on.
i thought to do this with splitter controls, because we can animate the transition between two panels. but i'm a bit confused to use splitters. they don't work like i expect. so i'm using the following code
private void...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |