Hide / Show Details
I am trying to display order ids and order details (order items).
I would like to give the user Hide/Show option to either display or hide
The page would look like:
Expand All Collapse All
Any ideas how to accomplish this (could it be done with client site code)?
RE: Hide / Show Details
There are a couple of ways to do this - essentially what you need is some
You could start with building a client side function something like:
This function will toggle this supplied element id to shown or hidden.
Then, as you are writing out your data you would need to add in hooks to
this function. So, let's say you are using the DataGrid for this, in the
ItemCreated event for the grid, you could use the
control.Attributes.Add("onclick", "setVisibleStatus('tablerowid')"), or
Hope this gives you a start ...
> I am trying to display order ids and order details (order items).
> I would like to give the user Hide/Show option to either display or hide
> order details.
> The page would look like:
> Expand All Collapse All
> Order 1
> Hide Details
> Item 1
> Item 2
> Order 2
> Show Details
> Any ideas how to accomplish this (could it be done with client site code)?
|All times are GMT. The time now is 04:58 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.