473,624 Members | 2,515 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Repost: Allow certain area of a treeview webcontrol to post

Hi all,

I've posted this before but received no answers and it is an issue . . .

One of my pages is using a treeview webcontrol. I load the treeview with
data which only has two levels (i.e. parents and their children).

My question is how can I code the treeview so only once a user has clicked
on one of the children, a postback is performed and the relevant
SelectedIndexCh ange event is fired server-side?

Regards
John.
Nov 18 '05 #1
3 2592
You can download the IE web controls and there is a tree view for web forms.

-John
"Sharon" <ta*******@hotm ail.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
correct me if i'm wrong, but there is no tree view web control in dot net.
tree view is a form control.

"John" <a@b.com> wrote in message news:s6******** ************@is .co.za...
Hi all,

I've posted this before but received no answers and it is an issue . . .

One of my pages is using a treeview webcontrol. I load the treeview with
data which only has two levels (i.e. parents and their children).

My question is how can I code the treeview so only once a user has clicked on one of the children, a postback is performed and the relevant
SelectedIndexCh ange event is fired server-side?

Regards
John.


Nov 18 '05 #2
correct me if i'm wrong, but there is no tree view web control in dot net.
tree view is a form control.

"John" <a@b.com> wrote in message news:s6******** ************@is .co.za...
Hi all,

I've posted this before but received no answers and it is an issue . . .

One of my pages is using a treeview webcontrol. I load the treeview with
data which only has two levels (i.e. parents and their children).

My question is how can I code the treeview so only once a user has clicked
on one of the children, a postback is performed and the relevant
SelectedIndexCh ange event is fired server-side?

Regards
John.

Nov 18 '05 #3
You can download the IE web controls and there is a tree view for web forms.

-John
"Sharon" <ta*******@hotm ail.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
correct me if i'm wrong, but there is no tree view web control in dot net.
tree view is a form control.

"John" <a@b.com> wrote in message news:s6******** ************@is .co.za...
Hi all,

I've posted this before but received no answers and it is an issue . . .

One of my pages is using a treeview webcontrol. I load the treeview with
data which only has two levels (i.e. parents and their children).

My question is how can I code the treeview so only once a user has clicked on one of the children, a postback is performed and the relevant
SelectedIndexCh ange event is fired server-side?

Regards
John.


Nov 18 '05 #4

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

Similar topics

0
1273
by: clintonG | last post by:
I'm just wondering how rich the TreeView control actually is having never worked with a tree view control. I want to load XML into the tree and I'd like control of the presentation tier by getting rid of the folder icons. In fact if possible, I'd like to display the name of each node as a literal representation of the node itself, i.e. <title> or <link> as the case may be. I also wonder if this particular control supports nested...
0
1167
by: Mike Szanto | last post by:
This post is intended to provide a possible solution to a problem with the Internet Explorer TreeView WebControl where it locks up or freezes when you try to open a treeview node. I experienced this problem for quite some time on my development machine, but not on my user's machines. The problem was caused by changing the default setting in IE for 'Check for newer versions of stored pages'. (In IE select Tools > Internet Options >...
5
2963
by: Andy Mackie | last post by:
No reply in webcontrols newsgroup - does anyone here have suggestions on how to do an MSDN library style of page using ASP.NET webforms ? On the left I want a treeview, separated with a splitter from result grids on right. I've downloaded and installed the IE WebControls which contain a treeview. My initial thoughts were that I need some form of frames, but are frames something of a no-go with ASP.NET ? Any suggestions on how to do...
1
271
by: John | last post by:
Hi all, I've posted this before but received no answers and it is an issue . . . One of my pages is using a treeview webcontrol. I load the treeview with data which only has two levels (i.e. parents and their children). My question is how can I code the treeview so only once a user has clicked on one of the children, a postback is performed and the relevant SelectedIndexChange event is fired server-side?
0
1009
by: viktor9990 | last post by:
I need to add, delete and move up and down hierarchical information in a treeview webcontrol. (all data is saved in Sql server database and must be shown dynamically in a treeview webcontrol (SDK 1.1) when the user clicks the appropriate button near the relevant node). Do you have any idea how to do that? Any example code? which methods or properties are helpful to solve the problem? Thanks.
7
6523
by: Jonas | last post by:
Hi. I'm trying to develop a web custom control that uses a programmatically created treeview. My problem is that I get an exception when I try to render the control. With properties do I have to assign to get this working. Here is some sample code: namespace WebControlLibrary1 {
1
3644
by: Victor Rodriguez | last post by:
Is there a way that I can have a client side event like oncontextmenu="showfunction();" on each node? thanks, Victor
0
1609
by: Vaibhav Shah | last post by:
Hi, While loading a user control with IE WebControl's tree view in it, on a webpart, i am getting this error. Error: unable to load ~\UserControls\TreeViewControl.ascx Details: Parser Error: Could not load type Microsoft.Web.UI.WebControls.Design.CssCollectionEditor from assembly mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.
1
3512
by: GroupReader | last post by:
When doing a "callback" I normally call a webControl's RenderControl method to get the html for that WebControl. This has always worked great in the past, but it does not seem to work with an asp:treeview control. When I call MyTreeView.RenderControl, the html that I get is not what I expected - it's as if all of the styles and properties that I set on the treeview are not there. Is this a bug in the treeview control?
1
2393
by: GroupReader | last post by:
When doing a "callback" I normally call a webControl's RenderControl method to get the html for that WebControl. This has always worked great in the past, but it does not seem to work with an asp:treeview control. When I call MyTreeView.RenderControl, the html that I get is not what I expected - it's as if all of the styles and properties that I set on the treeview are not there. Is this a bug in the treeview
0
8231
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8614
jinu1996
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...
0
8471
tracyyun
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...
1
6107
isladogs
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...
0
5561
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4075
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4167
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2603
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
1
1780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.