473,698 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DataGrid inside a TreeView

Hello, I wanna create a control like a TreeView, but with some nodes
with a grid. Is this possible? I think about create a user control, but
maybe there's an easier way, like using the TreeView component itself.

Jan 16 '06 #1
2 4238
"osmarjunio r" <os*********@gm ail.com> wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.com.. .
Hello, I wanna create a control like a TreeView, but with some nodes
with a grid. Is this possible? I think about create a user control, but
maybe there's an easier way, like using the TreeView component itself.


Use the Listview and draw the rows yourself. There's an event or override so
you can paint the items but I can't remember what it's called.

Michael
Jan 16 '06 #2

I am having one user control (containing a DataGridView and some
buttons), I want to add this control as a node in a treeview control ,
to be more precise now I want my user control acting a node in the
treeview control instead of treenode .

How should I achieve this?
Michael C wrote:
"osmarjunio r" <os*********@gm ail.com> wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.com.. .
Hello, I wanna create a control like a TreeView, but with some nodes
with a grid. Is this possible? I think about create a user control, but
maybe there's an easier way, like using the TreeView component itself.


Use the Listview and draw the rows yourself. There's an event or override so
you can paint the items but I can't remember what it's called.

Michael


Jan 16 '06 #3

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

Similar topics

1
1216
by: Domagoj Kovaè | last post by:
....I suppose I will get ton of "you sould buy my XXX component" replies on this, but i'll give it a try anyhow.... 1) Our ASP.NET team needs some "powerfull" datagrid, that is (if possible) built in fully managed code and highly customisable. We need things like: cell resizing, items grouping (Outlook style for example), 'great look out of the box', etc etc 2) Also, we need ASP.NET component for displaying of hierarhical data, and...
1
2919
by: Coder Coder | last post by:
Hi I have put a Datagrid inside of a DIV tag to allow scrolling. This works fine, but I would like to store the location of the scrollbar so that when there is a selection (causing a postback), I can place the scrollbar in the location where the previous selection was made. - thanks
7
1999
by: Scott Schluer | last post by:
Hi All, I have a functioning datagrid on "Page 1" that displays order information for a single order (this is for an e-commerce site). It's actually a combination of a couple datagrids to display all of the information. I now have a need to drop this datagrid into a repeater on "Page 2". The repeater will grab ALL orders within a given date range and output the datagrids for each order. Remember, the Page 1 is built to display one...
1
3139
by: Mikkel Olsen | last post by:
Hi. I have a problem regarding to the DataGrid_ItemDataBound event. I cant run this event when my datagrid is inside a DataList. The ItemDataBound for DataList1 is working well, but it never raises the DataGrid1_ItemDataBound event. Thx.
2
1155
by: wolfgang wagner | last post by:
hi all! im trying to implement an m:n relation in a webapplication(here: the realtion between hard and software. there may be many computers with each of them has many installed software). for this i want to do this with a datagrid inside a datagrid. can someone tell me another method? or is this the best i can do? i am also searching for some tutorials describing this method (especially editing, deleting, layout). the things i found...
1
2038
by: margant | last post by:
Dear Professionals, I have placed my datagrid : .... <asp:Datagrid ID="DGEdu" runat="server" OnDeleteCommand="DGEdu_Remove" OnItemDataBound="DGEdu_ItemDataBound" OnItemCommand="DGEdu_OnItemCommand" AutoGenerateColumns="false"
3
1435
by: hooterbite | last post by:
In the code behnd I build the dataset including the relations, which is working fine. I know it is working fine becuase I tested it by looping through the datatable then looping through the child table. The code I use inside the datagrid is <asp:DataGrid id="Datagrid1" runat="server" datasource='<%# Container.DataItem.Row.GetChildRows("EntitiesDirectors") %>' where EntitiesDirectors is the name of the datarelation. Is this not the...
0
1030
by: hooterbite | last post by:
In the code behnd I build the dataset including the relations, which is working fine. I know it is working fine becuase I tested it by looping through the datatable then looping through the child table, and am able to display all the values from the child table. The code I use inside the datagrid is <asp:DataGrid id="Datagrid1" runat="server" datasource='<%# Container.DataItem.Row.GetChildRows("EntitiesDirectors") %>'
0
1098
by: AliRezaGoogle | last post by:
Dear members, I have a datagrid and a textbox on my form. I bound both of them to a common datasource( an arbitrary datatable). When I change a text inside textbox I expect that value of same column in datagride also change and be equal to new value entered inside textbox. But this change reflects to datagrid just when I change selected row in the datagrid.
0
8604
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,...
0
8862
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...
0
7729
agi2029
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...
0
5860
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
4370
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
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3050
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
2331
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2002
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.