473,385 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,385 software developers and data experts.

close model form after database update

I have a page (pop-up) that I modal to add new users to a system. My problem.
I have an Add User Button pn the pop-up, and when pressed it post back and
reloads the "Add User" page (pop-up) as a regular page, not the pop-up. What
I want to have happen is when the user press the add user button, the pop-up
(modal to page) is closed and then the parent page datagrid is updated with
the added user.

Can someone give me direction on how to do that, or the proper technique
when performing an operation such as this from ASP.NET, with VB.NET?

Thank you
Nov 19 '05 #1
2 1100
this is an IE feature. the standard work around to allow a modal dialog to
postback to the same window, is to host the postback page in an frameset.

-- bruce (sqlwork.com)

"Lyners" <Ly****@discussions.microsoft.com> wrote in message
news:9F**********************************@microsof t.com...
I have a page (pop-up) that I modal to add new users to a system. My
problem.
I have an Add User Button pn the pop-up, and when pressed it post back and
reloads the "Add User" page (pop-up) as a regular page, not the pop-up.
What
I want to have happen is when the user press the add user button, the
pop-up
(modal to page) is closed and then the parent page datagrid is updated
with
the added user.

Can someone give me direction on how to do that, or the proper technique
when performing an operation such as this from ASP.NET, with VB.NET?

Thank you

Nov 19 '05 #2
Hi Bruce. I ended up discarding the pop-up/modal. I just put links from page
to page and it works fine. I do see what you are saying, I found it out the
hard way. But hey, that's how you learn.

Thanks a lot.

"Bruce Barker" wrote:
this is an IE feature. the standard work around to allow a modal dialog to
postback to the same window, is to host the postback page in an frameset.

-- bruce (sqlwork.com)

"Lyners" <Ly****@discussions.microsoft.com> wrote in message
news:9F**********************************@microsof t.com...
I have a page (pop-up) that I modal to add new users to a system. My
problem.
I have an Add User Button pn the pop-up, and when pressed it post back and
reloads the "Add User" page (pop-up) as a regular page, not the pop-up.
What
I want to have happen is when the user press the add user button, the
pop-up
(modal to page) is closed and then the parent page datagrid is updated
with
the added user.

Can someone give me direction on how to do that, or the proper technique
when performing an operation such as this from ASP.NET, with VB.NET?

Thank you


Nov 19 '05 #3

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

Similar topics

4
by: Andras Gilicz | last post by:
Hi VB fans I'm working on a relatively large project in VB6 with about a dozen forms, including graphs, labels, text boxes, etc. The software itself is actually a flow simulator with more or...
0
by: Murray | last post by:
I am trying to develop a web based database application to manage a Scout group. I need to control the level of access different visitors to the site are allowed to different parts of the...
12
by: Z D | last post by:
Good Morning, I was looking for some feedback, guidance, input, comments, suggestions or just general thoughts on the following: For our internal development, I'm trying to create a general,...
3
by: aa7im | last post by:
I am trying to design a good domain model for a system I am working on but I am having a hard time trying to figure out how to deal with relations and transaction... For example if I create an...
4
by: Macca | last post by:
Hi, I have an windows forms application that accesses a SQL database I have a few questions as to connecting to the database. This application will run 24 hours a day. It is a monitoring...
1
by: Alpha | last post by:
I have a Window based application that shows up still running in the task manager when I close it. It reaches the "this.close" statement and then it stops at the "}" at the section of the...
2
by: msnews.microsoft.com | last post by:
Hello, I have the scenario. I m building an application either in asp.net or window application. This application is base on n-tier application model. Let us take example of Northwind Database in...
6
by: scott | last post by:
I guess this is a simple one but I can't seem to get it to work. I want to refresh an open form "onClose" of another. I have a Close button on a form which has User Details on it. If I update...
12
by: Doug | last post by:
Hi, I learned a little about the model view presenter pattern at a conference this last week and am experimenting with it. It's working pretty well but I have a question. I am trying to use...
9
by: Beowulf | last post by:
I was having this problem: http://groups.google.com/group/microsoft.public.sqlserver.server/msg/e36e423972323378?dmode=source with it taking an inordinate amount of time to enumerate 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
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.