Home Search Member List Faq Register Login  
UltimateSpell
Re: Problem with Master ScriptManager and UltimateSpell - UlitimateSpells is null or not an object.

Thread Starter: doryz   Started: 11-29-2007 3:17 AM   Replies: 1
 Karamasoft Support Forums » General Discussions » UltimateSpell » Re: Problem with Master ScriptManager and UltimateSpell - UlitimateSpells is null or not an object.
 Printable Version    « Previous Thread   Next Thread »
  29 Nov 2007, 3:17 AM
doryz is not online. Last active: 12/11/2007 4:46:14 AM doryz

Top 10 Posts
Joined on 11-29-2007
Posts 5
Re: Problem with Master ScriptManager and UltimateSpell - UlitimateSpells is null or not an object.
No problem. Here are the aspx files.
I use the same deafult.aspx in both occurances, just comment out the script manager on the master to get the error:

NOT WORKING MasterPage.master:

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>

<%@ Register TagPrefix="cc1" Namespace="Karamasoft.WebControls.UltimateSpell" Assembly="UltimateSpell" %>

<html>

<head runat="server">

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>aaa</title>

</head>

<body scroll="no" style="border: SOLID 0 white">

<form id="form1" runat="server">

<asp:ScriptManager ID="ScriptManager1" runat="server" >

</asp:ScriptManager>

<asp:ContentPlaceHolder ID="MainContentAreaPH" runat="server" />

</form>

</body>

</html>


WORKING MasterPage.master

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>

<%@ Register TagPrefix="cc1" Namespace="Karamasoft.WebControls.UltimateSpell" Assembly="UltimateSpell" %>

<html>

<head runat="server">

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>aaa</title>

</head>

<body scroll="no" style="border: SOLID 0 white">

<form id="form1" runat="server">

<%-- SCRIPT MANAGER COMMENTED OUT - EVERYTHING WORKS FINE!

<aspTongue TiedcriptManager ID="ScriptManager1" runat="server" >

</aspTongue TiedcriptManager>--%>

<asp:ContentPlaceHolder ID="MainContentAreaPH" runat="server" />

</form>

</body>

</html>



Same Default.aspx for both Master files:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" MasterPageFile="MasterPage.master"

Inherits="_Default" Culture="auto" UICulture="auto" EnableViewState="false"%>

<%@ Register TagPrefix="cc1" Namespace="Karamasoft.WebControls.UltimateSpell" Assembly="UltimateSpell" %>

<asp:Content ID="MainContent" ContentPlaceHolderID="MainContentAreaPH" runat="Server">

<asp:TextBox ID="TextBox1" runat="server" Height="112px" TextMode="MultiLine" Width="363px" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" BackColor="Yellow" Font-Bold="False">Tahcyon Labs proudlly presnts Sjarp Spll 3.0</asp:TextBox>

<cc1:UltimateSpell id="UltimateSpell1" runat="server" SpellAsYouType="True" ControlIdsToCheck="TextBox1"></cc1:UltimateSpell>

</asp:Content>


  
  29 Nov 2007, 12:40 PM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: Problem with Master ScriptManager and UltimateSpell - UlitimateSpells is null or not an object.
We tried your not working version in a new AJAX Enabled test web app and it worked fine. We will send you that app shortly but in the meantime, have you created an AJAX-Enabled web site ro a standard website project to test your app. If you select AJAX-Enabled web site when you create your web app, it adds the right settings to your web.config file.
  
 Page 1 of 1 (2 items)
Karamasoft Support Forums » General Discussions » UltimateSpell » Re: Problem with Master ScriptManager and UltimateSpell - UlitimateSpells is null or not an object.

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2020 Karamasoft LLC. All rights reserved.