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

treeview+checkbox+postback+viewstate

Hi. I have a treeview with some checkboxes and I need to postback every time
a checkbox is checked or unchecked automatically, so I do this:
<asp:TreeView onclick="mypostback(event)" ID="TreeView1" runat="server"
OnTreeNodeCheckChanged="TreeView1_TreeNodeCheckCha nged" ShowLines="True"
ImageSet="Simple" Font-Bold="False" Font-Italic="False" Font-Names="Verdana"
Font-Size="XX-Small" NodeIndent="40" ToolTip="Click to see full
description.">

<LeafNodeStyle ForeColor="#FF8080" BackColor="White" />

<HoverNodeStyle Font-Bold="True" Font-Size="XX-Small" BackColor="White"
BorderColor="Black" />

<SelectedNodeStyle Font-Bold="True" Font-Size="X-Small" />

<NodeStyle ForeColor="Black" />

</asp:TreeView>

Now, I dont really need the viewstate info that sometimes can be very big,
but if I turn off the viewstate then the TreeView1_TreeNodeCheckChanged wont
execute. Is there any workaraound for this?

Thanks,

Alex.
Mar 21 '06 #1
0 2184

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

Similar topics

0
by: Tomas Vera | last post by:
Here's another goofy thing. I need to persist the state of items added dynamically to a Panel control between round-trips to the server. I have a web form that contains a TreeView and a...
3
by: Philip Tripp | last post by:
I've read numerous sources stating that view state can be disabled per control, and per page, but can't seem to keep web form controls from remembering their state on a postback. I'm using VS.Net...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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:
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...
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.