Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
Error."controlID" does not exist in current context.
April 08, 2011
I have an image control in aspx page, but in the cs page it shows an error "Imcross does not exists in the current context".
this is my code:
<asp:ImageButton ID="ImCross" runat="server" ImageUrl="~/App_Themes/2fo2/images/cross.gif" />
Posted Date: April 08, 2011 Points: 20
Check whether the
file path is set correctly.
hope this helps.
Posted Date: April 11, 2011 Points: 20
Please check the codebehind property of the aspx page is set correctly.
Kannan C S
Posted Date: April 13, 2011 Points: 20
Please check the designer.cs file ,the control is generated or not in the design file .If not please add manualy.........
To post reply
Related Questions Related Questions
URGENT - error: the "textbox" does not exist in current context
How to get the current row in SQL Server 2005
While running ASP.NET in IE it shows error like this
How to access triggers error message in asp.net..
Error at reading xml data in C#.NET
Error while running on IIS
Error In Encryption
Error in Web Setup Project while using Installer Class aError in Web Setup Project while using Installer Class and Custom Actions "Object reference not set to an instance of an object"nd Custom Actions "Object reference not set to an instance
ASP.NET - Error throwing or logging
Latest Forum Questions From The Same Category
How do i get payment status in redirect page using bitpay?
Login with Facebook and Save details in database
Login with facebook account in my website
How to make a nested datalist control?
What class does Icon derive from?
What are the validation controls?
What''s the difference between an interface and abstract class?
How to read Unicode form PDF File and Save into DataBase ?
How to identify the color format of eps/tiff using c#?
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend