Posted on: 3/28/2011 2:06:38 AM | Views : 217

hello,
i have a textbox field with readonly proeprty with value say "hello" on page1.aspx.
also on page1.aspx i have a button which redirects to page2.aspx with textbox value in querystring.
On page2.aspx i have  dim key as string= Request.QueryString("key") where key is value of textbox.
what is happening is that, onclick of button on page1.aspx key=0 is getting passed instead of HELLO.
WHEREAS IF I USE LABEL WITH PROPERTY HIDDEN AND STORE TXTBOX VALUE IN THIS LABEL AND THEN REDITRECT TO PAGE2.ASPX THEN IT PASSES THE CORRECT "HELLO"
can u explain why is this happening?
...

Go to the complete details ...