473,659 Members | 2,591 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 2593
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
1168
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
2964
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
6526
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
1611
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
8339
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,...
1
8535
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8629
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
6181
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
5650
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
4338
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2757
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
2
1982
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1739
bsmnconsultancy
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...

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.