I have a datagrid that I want to put sku information into.
I can load the select info there, such as:
Item# Description Weight etc.
However, in the right hand column, or maybe to the right of the datagrid,
I'd like to have a hyperlink displayed that would give me more specific
information than what I have space to show in the datagrid. An alternative
may be to have the user to click on the item number to display this info.
For instance, Say if they click on the "more info" link to the right of the
table (or the sku number) - I'd want to display maybe the UPC number, a case
quantity or something like that.
In doing this, I'd like to have the item roll up what's not clicked (i.e.
all the items above & below it), and display the "more info" in maybe a
datagrid below this one. A click on the item number (or more info link)
would restore the selections.
Any ideas?
Thanks,
Steve 2 1433
"Steve Chatham" <me@privacy.net > wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. However, in the right hand column, or maybe to the right of the datagrid, I'd like to have a hyperlink displayed that would give me more specific information than what I have space to show in the datagrid. An
alternative may be to have the user to click on the item number to display this info.
Is this similar to what you want: http://devx.mag37.com/dev/cswo/ProductTable.aspx
(full source code:) http://devx.mag37.com/dev/cswo/cswo.zip
(note the use of url rewriting to make the item pages redirect to
Product.aspx?it em=)
I just have a hyperlink to a separate page with all the additional
information.
In doing this, I'd like to have the item roll up what's not clicked (i.e. all the items above & below it), and display the "more info" in maybe a datagrid below this one. A click on the item number (or more info link) would restore the selections.
Now I'm not so certain as to what you mean...That last paragraph doesn't
make much sense to me.
By "roll up" do you mean hide all the rows except for the single row that
was clicked for more info?
And "restore the selections" - do mean just to reshow all the rows of the
main datagrid?
You could pretty easily mimic this by having the hyperlink send you to the
same page with a querystring of, say, the sku #. If the page is loaded with
that sku #, you could bind the main datagrid to a dataview with just the
single row filtered, and enable a second part of the page to show the
details. I did a quick mock-up of this - click on the first link at the top
of ProductTable.as px
--
Mike Mayer, C# MVP mi**@mag37.com http://www.mag37.com/csharp/
you can instead also display the details in a new pop up window by
using template column in the datagrid...some thing like this
<asp:TemplateCo lumn HeaderText="SKU ">
<ItemTemplate >
<a href='details_s ku.aspx?ID=<%#
DataBinder.Eval (Container.Data Item,"ID")%>' target=_blank>
<%#DataBinder.E val(Container.D ataItem,"SKU")% >
</a>
</ItemTemplate>
</asp:TemplateCol umn>
HTH,
Ben
"Steve Chatham" <me@privacy.net > wrote in message news:<#7******* *******@TK2MSFT NGP10.phx.gbl>. .. I have a datagrid that I want to put sku information into.
I can load the select info there, such as:
Item# Description Weight etc.
However, in the right hand column, or maybe to the right of the datagrid, I'd like to have a hyperlink displayed that would give me more specific information than what I have space to show in the datagrid. An alternative may be to have the user to click on the item number to display this info.
For instance, Say if they click on the "more info" link to the right of the table (or the sku number) - I'd want to display maybe the UPC number, a case quantity or something like that.
In doing this, I'd like to have the item roll up what's not clicked (i.e. all the items above & below it), and display the "more info" in maybe a datagrid below this one. A click on the item number (or more info link) would restore the selections.
Any ideas?
Thanks,
Steve This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: amber |
last post by:
I have a datagrid, based on a dataview (filled with dataset data from SQL
server).
The dataview contains an ID field, but this field isn't in the datagrid.
How can I get the ID associated with the current selected row in the datagrid?
Possible?
Thanks in advance,
|
by: KathyB |
last post by:
Hi,
Everything I see is geared toward editing data-centric information
(from db tables, etc.) using datagrid, data islands, etc.
Is it possible (and HOW?) to load an xmlDocument (using xsl stylesheet
transformation) -- I know how to do that part -- but allow the user to
edit any part of the document and then save it? It is a truly
text-based document (procedures)...not a database model.
|
by: Andrew Dodgshun |
last post by:
I have 2 grids - one shows a list of table names in a database and
when you click on a table name the other grid dynamically populates
the grid with the table contents. My problem is that I cannot get any
changes I do in the grid of a given table saved back to the database
unless I nominate a particular table in the SQLDataAdapter but this is
not dynamic as the table changes when the user picks another table
I have the first part working...
|
by: BBFrost |
last post by:
I'm using Net 1.1 (2003) SP1 & Windows 2000
Here's the issue ...
Rows 12 thru 24 are selected in a datagrid.
The user now unselects rows 12 thru 24 and selects rows 45 thru 70 ???
How can I tell that the user has reselected a different set of rows in a
datagrid.
|
by: TT (Tom Tempelaere) |
last post by:
Hi,
How can I know if a cell in a DataGrid is being edited?
Thanks,
--
Tom Tempelaere.
| |
by: Chuen |
last post by:
Hi,
I hope that only part of field in dataset can be displayed in DataGrid,
how can I do it? DataGrid in vb.net is quite different from DataGrid in vb6,
It seems that I can't find datagrid the familiar function in vb6, why?
Regards
Chuen
|
by: John M |
last post by:
Hello,
In Visual studio .NET 2003,
On datagrid object :
How can I link the button element : edit, to do a some client events (such
as message box,
and do another event just after that to the server (do some manipulation on
the database).
|
by: Vili |
last post by:
Hi all
I have a datagrid with nested datagrid. How do I get event from dgNested
button?
I used example from
http://www.dotnet247.com/247reference/a.aspx?u=http://www.standardio.org/article.aspx?id=155
<asp:datagrid id="dgMaster" runat="server" AutoGenerateColumns="False">
<columns>
|
by: tomcarr1 |
last post by:
How do I set up date formating for a column in a DataGrid Web Control?
I have one column in an ASP.Net data grid that contains a date. It is
showing date and time, which I don't want. I only want the date. I
set up the grid using the walkthrough that uses the dataadapter, and
dataconnection from the toolbox and then genertates the data set using
the wizard, so I don't have much code that I can alter.
|
by: reidarT |
last post by:
I have a datagrid with columns. One of the columns are a textbox.
I want the text in this column shown in a textbox outside the datagrid.
How can I do that when clicking the actual row in the datagrid?
reidarT
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |