answermyquery.com
http://www.answermyquery.com/

Why was the Text Field inaccessible?
http://www.answermyquery.com/viewtopic.php?f=5&t=2530
Page 1 of 1

Author:  naresh [ Sun Nov 22, 2009 10:03 pm ]
Post subject:  Why was the Text Field inaccessible?

Hello,

I have just created the web form:

http://cassinlwbg.facebook.joyent.us/errors/err1.jpg

Now, in da code I tried to access da text fields like dis :

http://cassinlwbg.facebook.joyent.us/errors/err2.jpg

And I m getin this error dat the objects were not accessible. Why,
I write code

in the cs file of da web form?

Regards,

Author:  kranthi reddy [ Sun Nov 22, 2009 10:03 pm ]
Post subject:  Re: Why was the Text Field inaccessible?

You r havin a linked twice 2 the same image - neither of which were
really helpful in understandin ur issue. Could u provide da
code (not in another linked image - copy and paste it here instead) and then the
actual text of da error message u get.

Author:  maya [ Sun Nov 22, 2009 10:03 pm ]
Post subject:  Re: Why was the Text Field inaccessible?

Hello!!!

image1 and image2 are very similar, send the second iamge 2 see ur
problem.

good luck

Author:  naresh [ Sun Nov 22, 2009 10:04 pm ]
Post subject:  Re: Why was the Text Field inaccessible?

thanks guys,


here it is: http://cassinlwbg.facebook.joyent.us/errors/err2.jpg


Regards,

Author:  maya [ Sun Nov 22, 2009 10:04 pm ]
Post subject:  Re: Why was the Text Field inaccessible?

and da error is:

Code:

Error 1 The name 'txtGameName' does not exist in the current context C:\dev\MirzaShop\index.aspx.cs 31 27 C:\dev\MirzaShop\

Error 1 The name 'txtGameName' does not exist in the current context C:\dev\MirzaShop\index.aspx.cs 31 27 C:\dev\MirzaShop\

Author:  kranthi reddy [ Sun Nov 22, 2009 10:04 pm ]
Post subject:  Re: Why was the Text Field inaccessible?

Just check the the codefile name in the inLine code...

even da code file name is exist , you just again set proerry and then
save that..

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/