This is a migrated thread and some comments may be shown as answers.

Need help with Demo Code

3 Answers 57 Views
Spell
This is a migrated thread and some comments may be shown as answers.
LJ
Top achievements
Rank 1
LJ asked on 17 Nov 2010, 04:31 PM
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:
<%@ 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

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 17 Nov 2010, 05:22 PM
Hi LJ,

I am not sure what the problem is, but I created for you and attached a sample working project that demonstrates the Custom Google spellcheck provider.

Greetings,
Rumen
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
LJ
Top achievements
Rank 1
answered on 17 Nov 2010, 06:38 PM
I get the same error.  I added DefaultVB  using Add -> Existing Item and copied over my web.config with yours.

Same error.
0
Rumen
Telerik team
answered on 17 Nov 2010, 10:04 PM
Hi LJ,

Can you please confirm that the problem is reproducible with the project attached to my earlier reply?

If you are using an older version of RadControls, it is highly recommended to upgrade to the latest Q3 2010 release, ver. 2010.3.1109 of RadControls for ASP.NET AJAX.



Greetings,
Rumen
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Spell
Asked by
LJ
Top achievements
Rank 1
Answers by
Rumen
Telerik team
LJ
Top achievements
Rank 1
Share this question
or