I am trying to use the demo code from this page:
http://demos.telerik.com/aspnet-ajax/spell/examples/googlespell/defaultvb.aspx
I have created a new project in VS2010 and added a new item (DefaultVB.aspx).
I then copied the entire aspx code and vb code into the respective files. I did remove the code not needed:
I am getting an error message from VS (and the project won't build). The error is:
'RadSpell1' is not declared. It may be inaccessible due to its protection level. on Line 22
This is that code block (which includes the line causing the error:
Any advice on what I am doing wrong?
Thanks,
LJ
http://demos.telerik.com/aspnet-ajax/spell/examples/googlespell/defaultvb.aspx
I have created a new project in VS2010 and added a new item (DefaultVB.aspx).
I then copied the entire aspx code and vb code into the respective files. I did remove the code not needed:
<%@ Register TagPrefix="qsf" TagName="Header" Src="~/Common/Header.ascx" %>
<%@ Register TagPrefix="qsf" TagName="HeadTag" Src="~/Common/HeadTag.ascx" %>
<%@ Register TagPrefix="qsf" TagName="Footer" Src="~/Common/Footer.ascx" %>
<
qsf:HeadTag
runat
=
"server"
ID
=
"Headtag1"
></
qsf:HeadTag
>
<
qsf:Header
ID
=
"Header1"
runat
=
"server"
NavigationLanguage
=
"VB"
></
qsf:Header
>
<
qsf:Footer
ID
=
"Footer1"
runat
=
"server"
></
qsf:Footer
>
I am getting an error message from VS (and the project won't build). The error is:
'RadSpell1' is not declared. It may be inaccessible due to its protection level. on Line 22
This is that code block (which includes the line causing the error:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
RadSpell1.SpellCheckProviderTypeName = _
GetType(GoogleSpellCheckProvider).AssemblyQualifiedName
End Sub
Any advice on what I am doing wrong?
Thanks,
LJ