I am fairly new to ASP. Net 2.0, background MS Access 2000/2003 and
working knowledge of SQL 2000.
Scenario:
Page1:
Blank Page loads with 2 Text Boxes (TxtLast, TxtFirst), a Command
Button (CmdSearch) and a Gridview to Display result Data (4 Columns:
Select but Text is: Show Details, Unique Record ID, Last Name and First
Name).
Work Flow: users enter Data in TxtLast, TxtFirst and Click CmdSearch.
If Records are found, matching results are displayed in Gridview
(Based on Search Criteria). There may be multiple Names in Gridview.
Users then Click Select (Show Details) in Gridview. Page 2 is then
Invoked with Unique Record as Query String Parameter.
Page2:
A FormView with Detail Information(i.e . Phone#, Address, City, State
etc.). There users can edit, Update each Detail Record. Outside
Gridview, I have a Command Button (CmdGoPage1) to return to Page1 after
users are done with Page2. I am using (Response.Redir ect "Page1")
for CmdGoPage1_Clic k event because that's what all I know with my
limited knowledge.
All these logic works fine except when Page1 is reloaded after Response
Redirect from Page2, all Data in Gridview1 of Page1 are lost, also
TxtLast and TxtFirst Text Boxes are null (The same State as it was
loaded very first time).
Now users have to re-search again in Page1 by using TxtLast and
TxtFirst to retrieve the original results. That's not what is my
intention. I would like to see after Page1 is post backed from Page2,
it should not loose any values in Gridview. If users try to find
another name, only then they need to re-search in Page1.
Previously I posted several posts in this Forum for this issue,
unfortunately I did not receive any responses. Now, I came up with a
Solution by Using Multiview with 2 Separate Views (for Page1 and
Page2). They work fine, I do not loose values between Page Navigations
but I have to put all Codes of Page1 and Page2 in a single huge Page. I
noticed it will be cumbersome to debug as I add more pages in my
Project (I still have to add 4 more pages that are all dependant of
Page 1). Also I really do not know what will be the overall
performance.
My question is that am I using right logic by using MultiView? Or is
there any way I can accomplish the same result by using separate Pages.
But I still need navigation bars to Navigate between Pages. I did this
type of developments easily in MS Access by using Tab Strips/Pages and
subforms.
Any suggestion or a guide (Example, URL or Book Name) for this issue
will be highly appreciated...
Thank You.... 0 1697 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: mike420 |
last post by:
In the context of LATEX, some Pythonista asked what the big
successes of Lisp were. I think there were at least three *big*
successes.
a. orbitz.com web site uses Lisp for algorithms, etc.
b. Yahoo store was originally written in Lisp.
c. Emacs
The issues with these will probably come up, so I might as well
mention them myself (which will also make this a more balanced
|
by: Richard Jenkins |
last post by:
Hi. I'd appreciate some comments/help with this site:
http://www.moonremovals.co.uk/new
The aim is to use css positioning to recreate something similar to:
<table>
<tr>
<td colspan="2">Header</td>
</tr>
|
by: Chris Uwins |
last post by:
Hi there, i know theres a number of ways I can achieve this but want
to know the best, (but still quite simple).
Up until a year ago I never used Access but have designed a few
databases for work. I am working on Access 2000.
I have basic SQL/VB skills - and am pretty accomplished at putting the
databases together.
Anyway...I've created a database to keep track of "Dayworks" we are
|
by: alwayshouston |
last post by:
Hi All!
I am working on this very small database and I am confused in the
designing a simple form. I only have three tables in the database.
First Table: tblExpense
Columns: ExpenseID ; ExpenseType
Data:
1 ; FOOD
2 ; AIRLINE
3 ; FARE
|
by: Tigger |
last post by:
Dear Experts,
I am working on ASP.NET. I have got a problem related to the usage of
Javascript in ASP.NET. Please help. The story is the following:
1) I am developing an ASP.NET application. I need to prompt the users with a
modal box (with "Yes" and "Cancel" button on it);
2) When the user clicks "Yes" button, I need to do some further processing.
If "Cancel" is clicked, of course, stops doing anything;
3) Now the problems are:
-...
| |
by: David Van D |
last post by:
Hi there,
A few weeks until I begin my journey towards a degree in Computer
Science at Canterbury University in New Zealand,
Anyway the course tutors are going to be teaching us JAVA wth bluej and
I was wondering if anyone here would be able to give me some tips for
young players such as myself, for learning the language.
Is this the best Newsgroup for support with JAVA?
|
by: Griff |
last post by:
Hi
I'm not sure of the best way to go about achieving my goal and would
appreciate any advice.
What I would like to do is to generate a control that can be dropped onto a
web page. For example, a control that provided catalogue information. As I
envisage this, the control would be given a single argument (the end user
identifier) and it would return the required catalogue information as an
HTML page "fragment".
|
by: pbd22 |
last post by:
hi.
I am having probelms with an update statement. every time
i run it, "every" row updates, not just the one(s) intended.
so, here is what i have. i have tried this with both AND and OR
and neither seem to work.
i dont know why this is elluding me, but i'd appreciate help with the
solution.
|
by: Dave Ekhaus |
last post by:
hi
i'm new to javascript. i'm hoping to get some help and find out if
what i want to do is possible and - assuming it is, get some tips on
how to accomplish the task.
ok - assume i have a table, the contents of which are dynamic. there
can be any number of rows in this table - somewhere between 50 and 500
would be the range. in each row - there can be any number of td's.
the relative 'width' of a td in a tr is specified by a td's...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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: 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: 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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |