Hello,
I have created two DefaultPages ie default1.htm and default2.htm using
Frameset and frames.
Based on Drop down selection which is a part (a control) of an
UserControl, existed(a user control builded using two .net controls --
ddl and Go button) on a Top Frame of both the default pages;and after
clicking an Go button
I have to redirect the user from default1.htm to default2.htm or vice
a versa. the path about default pages is comming from Database.
I am using Go button a ASp.NEt control.
On its cilck event, control comes at server code (ie event handler of
go button in ascx.cs file) . In that I have fetch the redirecting URL
from database. And then I have use
Response.Redirect(PageUrl, false);
But it WON'T Works.
I have also tried Server.transfer(PageUrl);
Using javascript ie winodwas.top.location.href ='page.htm' calling on
onClientClick of go button.
It works fine. So that I have tried Response.Write("Javascript...etc
etc"); but this also WON'T Works.
I have also tried
Page.ClientScript.registerStartUpScript("Javascript...etc etc")
This also WON'T Works.
Does all this happens because of I am coding in "ascx.cs" file ie a
code behind file for UserControl or i am doing some thing wrog?
(Which is used in a top frame of both default.htm pages).
People please guid me on this issue.
Thank you in advanced.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web
Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://cm.megasolutions.net/forums/default.aspx
<p><a href="http://feeds.feedburner.com/DotNetDevelopment"><img
src="http://feeds.feedburner.com/~fc/DotNetDevelopment?bg=99CCFF&fg=444444&anim=1"
height="26" width="88" style="border:0" alt="" /></a></p>
-~----------~----~----~----~------~----~------~--~---