473,395 Members | 1,568 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,395 software developers and data experts.

Treeview in asp.net 2.0

Hi all,

I've already "lost" too many time and no success...

I want to remove the default postback when the user presses a node in
the tree. I want to navigate and selecte nodes in the tree just
client-side without postbacks to the server.

Thanks.

Aug 19 '06 #1
5 1427
use ATLAS

http://atlas.asp.net

--

Bruno Alexandre
"a Portuguese in Københav, Danmark"

<tm*****@gmail.comescreveu na mensagem
news:11**********************@m73g2000cwd.googlegr oups.com...
Hi all,

I've already "lost" too many time and no success...

I want to remove the default postback when the user presses a node in
the tree. I want to navigate and selecte nodes in the tree just
client-side without postbacks to the server.

Thanks.

Aug 19 '06 #2
Greetings,

after you downlaod the atals framework u can simply add this part of
code in your aspx page in your "VS Atlas project" just right after the
script manager code

<atlas:UpdatePanel ID="up1" runat="server">
<ContentTemplate>
<atlas:UpdateProgress ID="process1" runat="server">
<ProgressTemplate>
// Code for your TreeView goes here

</ProgressTemplate>
</atlas:UpdateProgress>
</Content Templat>
</Atlas:updatepanel>
its tht simple, happy coding ;)

Sharing makes All the Difference

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Aug 20 '06 #3
i was about to forget to refer to the updateprogress control in the
atlas framework i think u gonna like this so let me add this 2 lines of
code.

<atlas:ScriptManager ID="sm1" runat="server"
EnablePartialRendering="true"></atlas:ScriptManager>
<atlas:UpdatePanel ID="up1" runat="server">
<ContentTemplate>
<atlas:UpdateProgress ID="process1" runat="server">
<ProgressTemplate>
<div class="title" style="font-weight: bold;
vertical-align: middle; text-transform: capitalize;
color: #cc6600; font-family: 'Arial Narrow', 'Arial
Black'; letter-spacing: 10px;
text-align: center">
<img alt="" src="../loading.gif" style="width: 55px;
height: 55px" /><br />
<br />
Loading</div>
</ProgressTemplate>
</atlas:UpdateProgress>

</ContentTemplate>
</atlas:UpdatePanel>
ofcourse u gonna need a cool loading.gif just goo google images search
for loading.gif u will find some cool stuff pick one and after adding
the updateprogress control with your treeview control inside the update
panel u will have dymanic client-side tree control with some cool
loading styles ;) i love atlas ;)

Sharing makes All the Difference

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Aug 20 '06 #4
And yes, for selection to work 100% on client, you need Atlas.

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke

<tm*****@gmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
Hi all,

I've already "lost" too many time and no success...

I want to remove the default postback when the user presses a node in
the tree. I want to navigate and selecte nodes in the tree just
client-side without postbacks to the server.

Thanks.

Aug 20 '06 #5
Hi,

About populating without postback
http://aspalliance.com/732

About playing with SelectAction
http://aspadvice.com/blogs/joteke/ar.../19/20948.aspx

About modifying selection, you set node's SelectAction. Just note that
TreeView's nodes work in two mutually exclusive mode, selection mode or
navigation mode. Node is in navigation mode, if it has NavigateUrl
specified. And it's in selection mode when NavigateUrl equals to empty
string. In selection mode you can control how it works, via the SelectAction
property.

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke

<tm*****@gmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
Hi all,

I've already "lost" too many time and no success...

I want to remove the default postback when the user presses a node in
the tree. I want to navigate and selecte nodes in the tree just
client-side without postbacks to the server.

Thanks.

Aug 20 '06 #6

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

Similar topics

42
by: lauren quantrell | last post by:
So many postings on not to use the treeview control, but nothing recently. Is it safe to swim there yet with Access 2000-Access 2003?
5
by: SoKool | last post by:
Can anyone point me to a site where I can get a free treeview control to use in ASP .NET or any tutorial that can help me build my own treeview control. I intend to use a treeview to generate a...
1
by: paradox | last post by:
I want to have a TreeView that shows an image on some items, but not all. Basically, if a certain condition is true, a caution icon is placed next to the treeview item. The problem is that, by...
3
by: Peter | last post by:
Hello, We are inserting a side menu to our application using a class that is writing HTML on all our pages. This is a part of the code as an example: writer.Write(" <table WIDTH=""100%""...
6
by: L.M | last post by:
Hello, I knew how to use the treeview under VB6. After migrating to .NET, well, I'm lost. I try to add a new node, either to the same level or as a child to a selected node in the treeview....
14
by: Mr.D | last post by:
How do I save/load the contents of a Treeview to a file? I have found several good examples written i VB6, but not a single one for VB.NET. Please help. ---- Tim
3
by: christof | last post by:
I've got a really easy problem, please help me: There are two pages in one I'm creating a TreeView like that: TreeView dbTree = new TreeView(); TreeNode dbTreeRoot = new TreeNode("Root");...
2
by: Tymbow | last post by:
I'm building a web application that is analogous to the Windows XP file explorer in function. The left column contains a TreeView, and the right column a DataGrid populated by selecting TreeView...
1
by: kvicky | last post by:
I am trying to load child nodes to a TreeNode in a TreeView in a ASP.net web application. The Treeview with parent nodes are loaded on a Page_load while doing if( ! ISPostback ) and then in the...
8
by: Matt MacDonald | last post by:
Hi All, I have a form that displays hierarchical categories in a treeview. Ok so far so good. What I was to do is have users be able to select a node in the treeview as part of filling out the...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
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,...
0
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...

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.