Welcome Guest Search | Active Topics | Sign In | Register

Datepicker is not declared. It may be inaccessible due to a protection level. Options
ITMA
Posted: Tuesday, September 14, 2010 2:12:37 PM
Rank: Advanced Member
Groups: Member

Joined: 6/23/2010
Posts: 48
Hi

I have a datepicker that I developed according to our needs and are now implementing it into an asp.net grid. The datepicker works fine when not implemented into the grid while when it’s implemented throws an exception like:


Compiler Error Message: BC30451: 'DatePicker1' is not declared. It may be inaccessible due to its protection level.

Source Error:


Line 35:
Line 36: //Prepare the edit pad
Line 37: var calendar = eo_GetObject('<%=DatePicker1.ClientID%>');
Line 38:
Line 39: var editPad = document.getElementById("editPad");

Source File: C:\home\teamlean1\www\process.aspx Line: 37


I understand the way of referencing it in VB but now when we are in Javascript I becomes uncertain of what error we are into. I have searched thru examples and documentation without finding information of the combination datepicker in a grid.

I appreciate your help, please advise!

Best Regards,

ITMA

eo_support
Posted: Tuesday, September 14, 2010 2:19:29 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You may want to seek help from other resource about compiling error or anything that is general in nature. We only support very specific questions that are directly related to our product. Please review our support policy here:

http://www.essentialobjects.com/forum/postst1368_Product-support.aspx

As a general guideline, if you can run into the same issue without using our product, then usually it is not related to our product and we will not support it.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.