Click here to Skip to main content
15,889,992 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Export Gridview to PDF Pin
SamRST24-Mar-10 1:29
SamRST24-Mar-10 1:29 
QuestionLogin Pin
Morgs Morgan22-Mar-10 22:54
Morgs Morgan22-Mar-10 22:54 
AnswerRe: Login Pin
sashidhar22-Mar-10 23:06
sashidhar22-Mar-10 23:06 
Questionpage load tester tool Pin
hussain.attiya22-Mar-10 22:36
hussain.attiya22-Mar-10 22:36 
AnswerRe: page load tester tool Pin
PSK_22-Mar-10 22:40
PSK_22-Mar-10 22:40 
GeneralRe: page load tester tool Pin
hussain.attiya22-Mar-10 23:16
hussain.attiya22-Mar-10 23:16 
AnswerRe: page load tester tool Pin
Pranay Rana22-Mar-10 22:45
professionalPranay Rana22-Mar-10 22:45 
QuestionCookieUrl Passing to iframe page [modified] Pin
Member 387988122-Mar-10 20:22
Member 387988122-Mar-10 20:22 
Hi Guys,

wen i am clicking a link, i am storing the cookie value and redirecting to another page using script...,

Eg:
----

<a onclick="javascript:test();">click</a>

<script language="javascript">
function test()
{
document.cookie="coktext=Hi~test";
window.location="testerpage.aspx";
}
</script>

In that redirection TesterPage.aspx, I have a Iframe page (Page Name = Iframe_tester.aspx)...,

In tht "TesterPage.aspx"...,Backend code i am getting the cookie value and passing the value to my iframe page using querystring...,

Code:
------
TesterPage.aspx.cs

if (Request.Cookies["coktext"] != null)
{
typepid = Request.Cookies["coktext"].Value;
arrtypepid = typepid.Split('~');
if (arrtypepid[0].ToString().ToLower().Trim() == "hi")
{
partid = arrtypepid[1].ToString();
}
else
{
partid = string.Empty;
}
}
else
{
partid = string.Empty;
}

page front end:
---------------
TesterPage.aspx

<iframe id="iframeid" src="/Iframe_tester.aspx?partid=<%=partid %>"
scrolling="no" frameborder="0" width="680px"></iframe>



Now my question is:
--------------------

The iframe page not getting the partid value...,
As per my code, i feel its correct...,
Is there any mistake i have done?
Is there any other way i can handle?

Thanks & Regards,
Member 3879881,
please don't forget to vote on the post


-- Modified Tuesday, March 23, 2010 5:03 AM
AnswerRe: CookieUrl Passing to iframe page Pin
PSK_22-Mar-10 20:32
PSK_22-Mar-10 20:32 
GeneralRe: CookieUrl Passing to iframe page Pin
Member 387988122-Mar-10 21:08
Member 387988122-Mar-10 21:08 
GeneralRe: CookieUrl Passing to iframe page Pin
PSK_22-Mar-10 22:08
PSK_22-Mar-10 22:08 
GeneralRe: CookieUrl Passing to iframe page Pin
Member 387988122-Mar-10 22:58
Member 387988122-Mar-10 22:58 
QuestionAfter capturing the image,how to transfer the image to image control with picture property using java script Pin
vbmadhavi22-Mar-10 20:05
vbmadhavi22-Mar-10 20:05 
AnswerRe: After capturing the image,how to transfer the image to image control with picture property using java script Pin
PSK_22-Mar-10 20:25
PSK_22-Mar-10 20:25 
AnswerRe: After capturing the image,how to transfer the image to image control with picture property using java script Pin
Arindam Tewary22-Mar-10 21:32
professionalArindam Tewary22-Mar-10 21:32 
QuestionMy System Hangs when I double click on aspx or cs page. Pin
Manish_Kumar_Nayak22-Mar-10 19:53
Manish_Kumar_Nayak22-Mar-10 19:53 
AnswerRe: My System Hangs when I double click on aspx or cs page. Pin
Arindam Tewary22-Mar-10 20:50
professionalArindam Tewary22-Mar-10 20:50 
AnswerRe: My System Hangs when I double click on aspx or cs page. Pin
mrcooll23-Mar-10 11:37
mrcooll23-Mar-10 11:37 
QuestionDigital signature certicate integration with asp.net Pin
Amit Patel198522-Mar-10 19:52
Amit Patel198522-Mar-10 19:52 
AnswerRe: Digital signature certicate integration with asp.net Pin
sashidhar22-Mar-10 23:01
sashidhar22-Mar-10 23:01 
GeneralRe: Digital signature certicate integration with asp.net Pin
Matteo Slaviero30-Mar-10 20:48
Matteo Slaviero30-Mar-10 20:48 
Questionbinding images in repeater Pin
test-0922-Mar-10 19:48
test-0922-Mar-10 19:48 
AnswerRe: binding images in repeater Pin
PSK_22-Mar-10 20:04
PSK_22-Mar-10 20:04 
GeneralRe: binding images in repeater Pin
test-0922-Mar-10 20:15
test-0922-Mar-10 20:15 
GeneralRe: binding images in repeater Pin
PSK_22-Mar-10 20:22
PSK_22-Mar-10 20:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.