Call popup window

  • Thread starter Thread starter ruca
  • Start date Start date
R

ruca

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?
 
Hi,
You might want to post this in the ASp.net newsgroup

microsoft.public.dotnet.framework.aspnet.* (8 groups)


Anand Balasubramanian
Microsoft, Visual Basic .NET

This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only. Thanks
 
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
 
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 said:



[microsoft.public.dotnet.framework.aspnet.webcontrols]
 
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
 
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
 
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)
 
Back
Top