Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:683327
More Search Options
RSS Available
Matching Posts
Re: TreeView adapter problem
It is very easy to reproduce the problem with the CheckChanged event firing for ever cheked node on every postback. Just add a button to the WalkThru/CheckboxTreeView.aspx provided in the adapter downloads. Check a couple of the nodes and click the button. You will see the checkchanged event fire for each node that is checked. The checked state is remembered after the postback. Click the button again and the checkchanged event will fire again for each checked node even though their checked state
Posted to
CSS Friendly Control Adapters
(Forum)
by
brian.brown
on 10/8/2006
Re: TreeView adapter problem
Right.. However removing the traditional OnTreeNodeCheckChanged attribute didn't keep the event from firing repeatedly for every checked node on every postback. I was originally posting about 3 problems until I realized that you were NOT supposed to have the OnAdapted attributes AND the traditional attributes definied.
Posted to
CSS Friendly Control Adapters
(Forum)
by
brian.brown
on 10/6/2006
TreeView adapter problem
Moderator.. this is for the 'CSS Friendly Control Adapter' forum. I posted this earlier and it was posted to 'Master Pages, Themes and Navigation controls': http://forums.asp.net/thread/1411894.aspx I have discovered several problems with the treeview adapter. First, NodeCheckChanged event is refired for every node that is checked in every postback. I created a fix that involves creating a postbackeventreference in the BuildItem method of the TreeViewAdapter.cs file: if (((item.ShowCheckBox
Posted to
CSS Friendly Control Adapters
(Forum)
by
brian.brown
on 9/27/2006
Filed under: Treeview, checkbox, cssadapter treeview checkbox, "css friendly adapter"
Re: TreeView adapter problems..
Umm... I posted this to the "CSS Friendly Control Adapters" on purpose.. it has nothing to do with the standard treeview. Please move this post to the 'CSS Friendly Control Adapters' forum: http://forums.asp.net/1018/ShowForum.aspx
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
brian.brown
on 9/27/2006
TreeView adapter problems..
I have discovered several problems with the treeview adapter. First, NodeCheckChanged event is refired for every node that is checked in every postback. I created a fix that involves creating a postbackeventreference in the BuildItem method of the TreeViewAdapter.cs file: if (((item.ShowCheckBox != null ) && (item.ShowCheckBox.Value == true )) || (treeView.ShowCheckBoxes == TreeNodeTypes.All) || ((treeView.ShowCheckBoxes == TreeNodeTypes.Leaf) && (!IsExpandable(item))) || ((treeView
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
brian.brown
on 9/27/2006
Page 1 of 1 (5 items)
ASP.NET:
PDC09: ASP.NET MVC 2: Ninjas Still on Fire Black Belt Tips
ASP.NET:
Hanselminutes Podcast 188: ASP.NET MVC 2 Beta with Phil Haack
ASP.NET:
Hanselminutes Podcast 186: .NET Debugging 101 with Tess Ferrandez
TechNet Edge:
WinRE and free stuff with Sean Kearney
WindowsClient:
XslCompiledTransform and large template elements
WindowsClient:
The Future of Client App Dev : WPF and Silverlight Convergence
Channel 9:
PDC09 GeekFest Party
Channel 10:
How to Use "Play to" and "Remote Media Streaming" in Windows 7
Channel 9:
The Visual Studio Documentary: Jeff Hadfield Full Length Interview
TechNet Edge:
Managing Your Entire World - Tech Focus November 2009 Part 3
Channel 9:
The Access Show: Managing Access Databases with SharePoint
Channel 10:
Show Us Your Tech - Mark Pendergrast Edition
TechNet Edge:
Mark Russinovich interview at TechEd EMEA 09
TechNet Edge:
IT Manager Podcast #31: Talking About Virtualization
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 1: Introduction
WindowsClient:
MSXML XHTML DTDs - making the web better
TechNet Edge:
How it works: Active Directory Rights Management Services
Channel 9:
Inside Windows 7: Recovering Windows from System Degradation and Boot Failures
Channel 10:
Ebay Launches IE8 Webslice for Holiday Shopping
Channel 10:
New Windows Smartphone Includes Built-in PowerPoint Projector
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online