Hello,
try to add
<base target="_self" />
inside the head tag of WebForm1.aspx.
Also consider setting this page to do not cache, otherwise the modal window
may open with a cached content after the first time it was opened.
Bruno
"Satya" <> wrote in message
news: oups.com...
>
> Hello,
>
> I am using ShowModalDialog to display modal dialog in our
> application. I am displaying modal dialog (WebForm1.aspx -
> DropdownList's ,TextBox's and Ok and Cancel buttons placed on it) from
> default.aspx. Everything looks to be working fine until I tried
> handling "OK" and "Cancel" event's on code behind of
> WebForm1.aspx(modal dialog).
>
> Login window being displayed on new browser window every time I click
> either 'OK" or "Cancel" buttons which may be because of loging
> required to access any page in our application.
>
> Can you guys let me know, what I need to do to handle postback's on
> modal dialog?
>
> Thanks in advance,
> -Satya
>
|