all groups > dotnet jscript > march 2004 >
You're in the

dotnet jscript

group:

Call popup window


Call popup window ruca
3/26/2004 3:06:36 PM
dotnet jscript: I have a .JS file that permits to open a popup window calling the fiunction
CreateWnd(...)

The question is How can I call the popup window by selecting an item in a
datagrid?



--
Programming ASP.NET with VB.NET
Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca

Re: Call popup window Matt Hawley
3/30/2004 7:33:46 AM
You may be interested in my Calendar Popup control: http://www.eworldui.net/CustomControls/CalendarPopup.aspx

Matt Hawley, MCAD .NET
http://www.eworldui.net

Can't put it working and I don't know why.
My window do not close and the parameter (in case is a label, Web control)
don't refresh.


--
Programming ASP.NET with VB.NET
Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca

"Saravana [MVP]" <saravank@sct.co.in.nospam> escreveu na mensagem
news:eDRcb$gFEHA.744@TK2MSFTNGP09.phx.gbl...
[quoted text, click to view]



Re: Call popup window Saravana [MVP]
3/30/2004 10:03:55 AM
Check out this article,
http://www.microsoft.com/india/msdn/articles/PopupCalendarinASP.aspx

--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com



[quoted text, click to view]

Re: Call popup window ruca
3/30/2004 1:01:55 PM
Can't put it working and I don't know why.
My window do not close and the parameter (in case is a label, Web control)
don't refresh.


--
Programming ASP.NET with VB.NET
Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca

"Saravana [MVP]" <saravank@sct.co.in.nospam> escreveu na mensagem
news:eDRcb$gFEHA.744@TK2MSFTNGP09.phx.gbl...
[quoted text, click to view]

Re: Call popup window bruce barker
3/31/2004 8:58:18 AM
your are proably using invalid javascript syntax to access the labels, they
render as <spans>, so your script aborts and does not perform the close.
comment out the label access and see if it runs. you can use
"document.getElementById" and "innerHTML" methods to access the labels
values.


-- bruce (sqlwork.com)



[quoted text, click to view]

Re: Call popup window ruca
3/31/2004 11:39:24 AM
hi saravana,
I have two questions for you. I use your example not for use the calendar,
but I made some changes to pick some fields about users like UserId,
UserName, etc...
The first question is Why can't I use labels instead of textboxes? How can I
pass labels controls? Note if I use Labels the popup window don't close.
The second question is if I use textboxes Why can´t I have one of them with
propertie visible=false? Here, if I put visible = true , works fine. If I
put visible = false, then don't work!!!!


What can I do to avoid this problems?????


--
Programming ASP.NET with VB.NET
Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca


"Saravana [MVP]" <saravank@sct.co.in.nospam> escreveu na mensagem
news:eDRcb$gFEHA.744@TK2MSFTNGP09.phx.gbl...
[quoted text, click to view]

Re: Call popup window ruca
3/31/2004 3:32:51 PM
It's simple to explain. Two things happen (or do not happen and it should):

1- the window popup don't close.
2- values do not return to "parent" window

That's it. No errors ocurrs.


--
Programming ASP.NET with VB.NET
Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca



"Saravana [MVP]" <saravank@sct.co.in.nospam> escreveu na mensagem
news:%23dyxeWyFEHA.744@TK2MSFTNGP09.phx.gbl...
[quoted text, click to view]

Re: Call popup window Saravana [MVP]
3/31/2004 7:12:14 PM
Can you explain exactly what problem you are facing when you are using
labels instead of textbox.

--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com



[quoted text, click to view]

AddThis Social Bookmark Button