473,387 Members | 1,790 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

What the ASP equivalent of a win form "splitter" object?

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

Dec 30 '06 #1
5 1408
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.googlegro ups.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
Dec 30 '06 #2
Any pointers on how to get frames and/or iframes to work with the
treeView?

Dec 30 '06 #3
Have you looked at something like:
http://aspalliance.com/articleViewer.aspx?aId=125&pId=
?

--
http://www.openmymind.net/
http://www.codebetter.com/
"celoftis" <ce******@gmail.comwrote in message
news:11**********************@n51g2000cwc.googlegr oups.com...
Any pointers on how to get frames and/or iframes to work with the
treeView?
Dec 30 '06 #4
I had not seen those... thanks for the refererences...

Dec 30 '06 #5
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.com" 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:
************************************************** **********************************mainFrame.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.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title />
</head>
<frameset cols="15%, *">
<frame name="toc" src=Default.aspx />
<frame name="showframe" />
</frameset>
</html>
************************************************** **********************************Default.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>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<asp:TreeView ID="TreeView1" runat="server">
<Nodes>
<asp:TreeNode
Text="mail.google.com"
NavigateUrl="http://mail.google.com"
Target="showframe">
<asp:TreeNode
Text="http://espn.com"
NavigateUrl="http://espn.com"
Target="showframe">
</asp:TreeNode>
</asp:TreeNode>
<asp:TreeNode
Text="http://cnnsi.com"
NavigateUrl="http://cnnsi.com"
Target="showframe">
<asp:TreeNode
Text="http://drudgereport.com"
NavigateUrl="http://drudgereport.com"
Target="showframe">
</asp:TreeNode>
</asp:TreeNode>
</Nodes>
</asp:TreeView>
</form>
</body>
</html>

Jan 2 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
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...
6
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...
2
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...
5
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...
4
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,...
1
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...
6
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...
8
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...
1
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.