CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.internet_explorer_web_controls Tags:
Item Type: NewsGroup Date Entered: 5/12/2004 1:22:12 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 12 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
g5temp
Asp.Net User
??? - No Postback When Clicking on Folder in Treeview5/12/2004 1:22:12 AM

0/0

I'm working with the treeview control on an ASP.NET page (written in C#), and I have one built the looks something like:

Root
|_Category1
|_Site1
|_Report1
|_Report2
|_Site2
|_Report3
|_Report4
|_Category2
|_Site1
|_Report5
|_Report6
|_Site2
|_Report7
|_Report8

(etc., etc. - note there could be any number of Category, Site, and Report nodes; the treeview is built from a database table)

In my application, I only want a postback to fire if the user clicks on a Report node. I want nothing to happen if they click on the Root node or any Category or Site nodes (i.e., I don't want a postback or anything else).

Through C# code-behind I've been able to "short-circuit" if the user clicks on a node that's node a Report node by checking the type of the node and if it's not of type "Report" then do nothing. But, this still needs a postback to check the node type and everything else.

So, since I'm not JavaScript expert, I thought I'd post this message to see if anyone knew how to edit the treeview.htc file so that only clicking the Report nodes actually fired a postback and whatever else it does. Any one know how to do this? Any other suggestions?

TIA!
1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Pro ASP.NET 2.0 in VB 2005: special edition. Authors: Laurence Moroney, Matthew MacDonald, Pages: 1360, Published: 2006

Web:
??? - No Postback When Clicking on Folder in Treeview - bytes I'm working with the treeview control on an ASP.NET page (written in C#), and I have one built the looks something like: Root |_Category1 ...
.NET ASP.NET Prevent TreeView PostBack When Click the Little Plus ... Prevent TreeView PostBack When Click the Little Plus Sign (expand) - pbd22 ... on the little "plus" sign next to the treenode's root folder? ...
Clickevent can't be executed due to postback? Then my idea was to just simply implement the clickevent of the TreeView .... folder.Click += new ImageClickEventHandler(folder_Click); //and give it a ...
The Walkthrough: ASP.NET 2.0 CSS Friendly Control Adapters 1.0 The sample CSS Friendly adapter for the TreeView now provides this functionality , too. The WalkThru folder includes a PopulateOnDemandTreeView.aspx page to ...
Sharepoint general Re: Clickevent in webpart not executed due to ... Because first the postback happens. All controls are created and .... How to create a Tree View of the Windows Folder and extract all the ...
TreeView Postback //the folder the user control is located under. ... ... When I click the treeview node, a page loads on the right side of my browser as it should. ...
Matt Berseth: AJAX Style Folder Browser, Part II Jul 25, 2007 ... I made a couple of enhancements that help both the usability (no more full postback when a folder is clicked in the right hand pane) as well ...
Telerik Treeview Control - Eric Wise .... We want to capture the edit folder click and allow them to do a client side edit and ...
CRM 4.0 - Treeview in custom page is gone after postback ... When i click the same save button, the tree view is gone and an ... CRM will disable this property when you put the page in the ISV folder. ...
Display Hierarchical Data with TreeView in ASP.NET 2.0: ASP Alliance The most useful part was setting ExpandDepth="0" to TreeView, otherwise, very very weird behavior occured.. Title: Clicking item does not post back ...




Search This Site:










submit button enabled, when the checkbox is checked.

regarding database in asp.net 2.0

sp1 & dataset connection strings

qualifying masterpage in desinger file

some asp problems

general rant about .net beta testing

dotnetnuke learning videos

my own module to rss

breadcrumb - how to display only top level page name

forms authentication issue

how convert string text to binary?

floating window or custom object (drag and drop)

automatic authentication against active directory using forms?

my new bussiness object and the error with it

cryptographicexception "keyset does not exist" when using impersonation".

is there a telerik r.a.d. menu module?

returning the height of an embedded user control

security context changes in vb6 dll called from web service

vs.net error when converting html to aspx

hi, a very important aspnet permissions problem i need to make it clear

problem to use basic authentication in asp.net

new @ asp.net, but old @ web programming.

store photos in the upload directory

page load speed and performance

post moved to another forum

where's the database?

webrequest throws an error

asp:templatecolumn

web site administration tool

treeview control?

 
All Times Are GMT