PC Review


Reply
Thread Tools Rate Thread

close model form after database update

 
 
=?Utf-8?B?THluZXJz?=
Guest
Posts: n/a
 
      5th Aug 2005
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
 
Reply With Quote
 
 
 
 
Bruce Barker
Guest
Posts: n/a
 
      5th Aug 2005
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" <(E-Mail Removed)> wrote in message
news:9F62F5FB-7EE5-46FE-8664-(E-Mail Removed)...
>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



 
Reply With Quote
 
=?Utf-8?B?THluZXJz?=
Guest
Posts: n/a
 
      5th Aug 2005
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" <(E-Mail Removed)> wrote in message
> news:9F62F5FB-7EE5-46FE-8664-(E-Mail Removed)...
> >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

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exit database on close of form =?Utf-8?B?UGF0IEJhY2tvd3NraQ==?= Microsoft Access Form Coding 3 30th Oct 2007 05:17 PM
Close database - clear form? =?Utf-8?B?ZGFsYXc=?= Microsoft Access 0 3rd Feb 2006 03:55 PM
Database update with auto connection open/close Maziar Aflatoun Microsoft ASP .NET 2 11th Aug 2005 03:51 PM
How can i prevent a model form from closing on click of ok button which is of model =?Utf-8?B?YWpheQ==?= Microsoft Dot NET 0 31st May 2004 10:11 AM
Close database on close form Kevin Sprinkel Microsoft Access Forms 5 7th Apr 2004 06:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:32 PM.