|
Use AntProfiler will help you to get this type of data.
|
|
|
|
|
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
|
|
|
|
|
Member 3879881 wrote: function test()
{
document.cookie="coktext=Hi~test"; window.location="testerpage.aspx";
}
Try specifying the expiry date other wise the cookie will be cleared immediately.
Regards,
Prakash Kalakoti
|
|
|
|
|
Hi Prakash,
thanks for ur reply,
Plz check my script i also given the same format only...,
and understand my question, i didnt ask u to set cookie,
asking u ppls to get it on backend code...,
Thanks & Regards,
Member 3879881,
please don't forget to vote on the post
|
|
|
|
|
document.cookie="coktext=Hi~test";
You are setting the value to cookie as Hi~test
and at server side
typepid = Request.Cookies["coktext"].Value;
arrtypepid = typepid.Split('~');
if (arrtypepid[0].ToString().ToLower().Trim() == "markets")
you are expectiong the first part of the value to be "markets", but actually its "Hi".
Can you check you logic again?
Regards,
Prakash Kalakoti
|
|
|
|
|
sorry actually i mistyped as markets...,
Its
if (arrtypepid[0].ToString().ToLower().Trim() == "hi")
only,then also i didnt get o/p
Thanks & Regards,
Member 3879881,
please don't forget to vote on the post
|
|
|
|
|
hello alll
After capturing the image,how to transfer the image to image control with picture property using java script
plzzzzzzz help me.
capturing a picture from webcam
i was used TwainControlX for capturing a picture from webcam.
i wrote some code:
script language ="javascript" type ="text/javascript" >
function runatdemo()
{
var fname;
if(tcx1.devicecount>0)
{
tcx1.selectdevice();
alert("Device selection OK");
if(tcx1.connected)
alert("Device connect OK");
tcx1.acquire();
alert("Image acquired");
}
else
alert("NO IMAGE WAS ACQUIRED");
}
else
alert("NO TWAIN DEVICE INSTALLED");
}
after acquire how to transfer image into image control without saving in disk.this image control is html control.
is it possible to transfer image into image control without saving in disk
plzzz help me
|
|
|
|
|
Have you gone through the TwainControlX API documentation? Try contacting the support team.
Regards,
Prakash Kalakoti
|
|
|
|
|
|
My System Hangs when I double click on aspx or cs page, What I do?
|
|
|
|
|
1. you might have coded any 'infinite loop'!! check the code in button double click handler.
2. You should look into event viewer of the system to find out the error description, if any.
Thanks,
Arindam D Tewary
|
|
|
|
|
Restart your pc
|
|
|
|
|
Hi All,
I want to integrate Digital Signature with the ASP.Net Application i dont have any idea how to start
Can any one suggest me how to start this implementation
Thanks and regards,
Amit Patel
|
|
|
|
|
|
|
im storing image filename in db uploaded through upload control and images in a physical path.. i need to bind the images in repeater control using filename from db and physical path..
how to do it please help me..
|
|
|
|
|
Use the itemTemplate of repeater control.
Add following in the ItemTemplate of repeater.
<img alt='<%# Eval("ImageTitle") %>' title='<%# Eval("ImageTitle") %>'
src='<%# Eval("Filename","images/{0}") %>' />
Or same thing can be done at the ItemDataBound event of the repeater control, you can dynamically create the image after getting the imagename from the data item.
Regards,
Prakash Kalakoti
|
|
|
|
|
thanks..
the physical path im saving is
img.ImageUrl = "~/test/" + pid + "_" + img1;
where pid is from session.. How do i get this...
|
|
|
|
|
Can you confirm that test folder is located in the root of the website and all you image names are in the format pid_imagename?
Regards,
Prakash Kalakoti
|
|
|
|
|
yes test folder is in root.. and all images are stored using pid_filename...
|
|
|
|
|
In that case it should show the image.
Do one thing, go to the rendered web page right click on the image icon and click on the property option and check the address of the image, you will come to know what is the issue with the path/filename [might be the value from session not getting appended properly].
Regards,
Prakash Kalakoti
|
|
|
|
|
how can this be done in repeater item databound event...
|
|
|
|
|
if you want to bind/associate image details on data bound event, you need to do following,
step 1. Identify the layout controls inside the repeater. Say if you have a Table layout which is repeating for each row of data source. You need to capture that in that data bound event handler. (To do that you might need to add a runat = server in case of a table layout )
step 2. Once the layout control is identified, find the image control ( assuming that in aspx file you must have provided an image control inside layout to display the images). Then set required property of that images.
NB: Row Bound event handler's event argument should give you the data from database i.e image title, image path etc.
Please let me know if you need more help.
Thanks,
Arindam D Tewary
|
|
|
|
|
I am doing project in VB.NET...I am not able to perform binerization of image..Please help
|
|
|
|
|
If you're going to ask in the Quick Questions, don't cross post here. And if you're using ASP.NET, you didn't say so before, although I guess it's irrelevant ( and therefore the question does not belong here, if you're using ASP.NET or not )
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|