Main Page | Report this Page
.NET DotNet Forum Index  »  ASP.NET Forum  »  populate value from popup window to grid in parent...
Page 1 of 1    

populate value from popup window to grid in parent...

Author Message
Harsha...
Posted: Thu Nov 05, 2009 12:13 am
Guest
Hi,

I have to develop a time sheet application for my organization, where
employees will select the nature of work, enter client details (into textbox
inside grid) and other details and enter the number of hours spent.

In that, while selecting clients I have to show them a pop window which
again will have grid showing client address, name and other details. From the
pop up window employee will select a client. After that that client name and
address has to populate to the grid in the parent window.

Please let me know what is the best way to do this ? Can I use gridview for
this or is there any best solution for this ?

How to populate selected value in pop-up window to grid in the parent window ?


Thanks for your help.

Harsha.
 
Mark Rae [MVP]...
Posted: Thu Nov 05, 2009 5:16 am
Guest
"Harsha" <Harsha at (no spam) discussions.microsoft.com> wrote in message
news:62BF97F0-7FAD-432C-9461-3495ED220923 at (no spam) microsoft.com...

Quote:
I have to develop a time sheet application for my organization, where
employees will select the nature of work, enter client details (into
textbox
inside grid) and other details and enter the number of hours spent.

In that, while selecting clients I have to show them a pop window which
again will have grid showing client address, name and other details. From
the
pop up window employee will select a client. After that that client name
and
address has to populate to the grid in the parent window.

Please let me know what is the best way to do this?

Firstly, forget about popping up a new window using showModalDialog. This is
completely non-standard. Instead, use this:
http://www.google.co.uk/search?aq=0&oq=AJAX+mod&sourceid=chrome&ie=UTF-8&q=ajax+modal+popup


Quote:
Can I use gridview for this or is there any best solution for this?

The AJAX modal popup extender is not very much more than a <div> which is
made visible or invisible as required. Therefore, it's actually part of the
"main" page anyway, so you can populate it with any controls you want...


--
Mark Rae
ASP.NET MVP
http://www.markrae.net
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Mon Dec 07, 2009 7:09 pm