Hi
I need to pass the co ordinates of the image present in one web form to another
i tried it by using seesion variables but its not getting transferd
help me with some suggestions
Hi
I need to pass the co ordinates of the image present in one web form to another
i tried it by using seesion variables but its not getting transferd
help me with some suggestions
can you post your code and Ill take a look...
THIS HOW I TRANFER THE CO ORDINATES
Request.Params["Image1.x"]=Session["sample1"].ToString();
Request.Params["Image1.y"]=Session["sample2"].ToString();
at first i transferred the co ordinates of the image1 from webform 1 to webform2 through session variable as follows:
PASSING THE VALUES:
string x=Request.Params["Image1.x"];
string y=Request.Params["image1.y"];
Session["sample1"]=x;
Session["sample2"]=y;
What is the code you have on the receiving page?
This is the code that i have given in the receiving page
Request.Params["Image1.x"]=Session["sample1"].ToString();
Request.Params["Image1.y"]=Session["sample2"].ToString();
WHat is the exact problem you are having?
i have passed the co ordinates but the image button is not getting displayed in the position specified i.e, the image button is not getting the value which i pass from one page to the other
Is it being displayed at all? If so then there is possibly a problem that you might not be sending the co-ordinates to the image before you place the image down.
HI
majestic ,it is showing some error while running that page so i need to know how should i declare the left and top positions for an imageduring the pageload
Post your code and I shall investigate. Just need the page load even code in form 2 and in form 1 where you set up the arguements to be passed to page 2.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.