473,399 Members | 2,278 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,399 software developers and data experts.

Edit in Master-Detail Grid

Hi Everybody
I have Master Detail Grids. In Master Grid I am adding some buttons with
different CommandNames. MasterGrid's OnItemCommand is as follows :
Sub MasterGrid_Command(sender As Object, e As DataGridCommandEventArgs)
IF E.CommandName = "xxx" Then
'Do Something
End IF
IF E.CommandName = "ShowDetails" Then
'Fill Details DataGrid
End IF
End Sub

In DetailsGrid I have an Edit button which fires the following SUB, where I
need help.
Sub DetailsGrid_Edit(s As Object, e As DataGridCommandEventArgs)
DetailsGrid.EditItemIndex = e.Item.ItemIndex
MasterGrid_Command()
End Sub

I want to know, how should I pass the CommandName parameter "ShowDetails" to
the MasterGrid_Command() SUB to rebind the DetailsGrid Correctly ?

Thanks in advance
Raja


Nov 19 '05 #1
0 865

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

Similar topics

6
by: F-13 | last post by:
I'm working on a BOM in Access 200 from an example downloaded from from the web. The sample database contains three tables, Assemblies (the list of items needed to assemble any assembly),...
4
by: WayneM | last post by:
Is there a Edit and Continue capability in VB.NET yet? I realize it may not be the same as VB6, but I thought there was going to be some form of this? Thanks for any info, WayneM
13
by: ricky.agrawal | last post by:
I'm really not sure how to go about this in Access. What I've created is a table for each location. Those tables are identical in format but different in information. The tables are named after...
1
by: VB Programmer | last post by:
I have a master/details scenario (gridview/detailsview). Everything selects fine. When I goto edit the details view and click 'Update' the data doesn't update and I don't get any visual errors....
2
by: P. Yanzick | last post by:
Hello, I am creating an edit template for a FormView control, changing one of the textboxes to a dropdown box. The dropdown will be populated from a simple table with the primary key, and a...
3
by: Neil Steventon | last post by:
Hi, Im after some advise on how to go about this problem. I have a master page with nice header and side bar setup. I then have various aspx pages that use this master page. I want one of the...
1
by: pagates | last post by:
Hi All, Perhaps its something obvious that I'm just overlooking, but is there a way to hide the Master Page in the IDE when editing a content page? It's hard to get a feel for how the content...
3
by: Ronald S. Cook | last post by:
For my web pages that have an associated master page, when I try to work with them in design mode, I get this "gray film" over it and I can edit only the master. How can I get to my page in...
4
by: _MC_ | last post by:
Hi, I'm unable to access values in my Datagrid. Datagrid thinks it hase only 1 Cell. So here it is: The Datagrid is binded in PageLoad, AutoGenerateColumns is false, Columns are added on...
5
by: CJM | last post by:
I have a site that is being built using master pages, and includes a menu that I want to manipulate dynamically. Specifically the currently-selected menu option is styled differently to the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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:
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...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.