I created moduls using ajax controls tools kit.
I created PanelContainer and some TabContainer for show address imformation.
In TabContainer i created :
Textbox: get email address
Button: submit email address imformation:
asp:ScriptManager ID="ScriptManager2" runat="server" EnablePartialRendering="True" />script type="text/javascript">
Highlight(Messages);
}
CurrentTab.innerHTML = sender.get_activeTab().get_headerText();
Highlight(CurrentTab);
}
HighlightAnimations[el.uniqueID] = AjaxControlToolkit.Animation.createAnimation({
AnimationName :
duration : 0.5,
property :
propertyKey :
startValue :
endValue :
function PanelClick(sender, e) {var Messages = $get('<%=Messages.ClientID%>');function ActiveTabChanged(sender, e) {var CurrentTab = $get('<%=CurrentTab.ClientID%>');var HighlightAnimations = {};function Highlight(el) {if (HighlightAnimations[el.uniqueID] == null) {"color","style","backgroundColor","#FFFF90","#FFFFFF"
}, el);
}
HighlightAnimations[el.uniqueID].stop();
HighlightAnimations[el.uniqueID].play();
}
$find(
}
function ToggleHidden(value) {'<%=Tabs.ClientID%>').get_tabs()[2].set_enabled(value);</script>
<div class="demoarea">
<div class="demoheading">Tabs Demonstration</div>
The following user profile is presented in Tab format. You can click on the tab
and modify specific fields.
<br /><br />
Toolkit User Profile:
<cc1:TabContainer runat="server" ID="Tabs" Height="150px" OnClientActiveTabChanged="ActiveTabChanged">
<cc1:TabPanel runat="Server" ID="Panel1" HeaderText="Signature and Bio">
<ContentTemplate>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<table>
<tr>
<td>Signature:</td>
<td><asp:TextBox ID="signatureText" runat="server" /></td>
</tr>
<tr>
<td>Bio:</td>
<td><asp:TextBox ID="bioText" runat="server" /></td>
</tr>
</table>
<asp:Button ID="Button3" runat="Server" Text="Save" OnClick ="Click"/>
<br /><br />
Hit Save to cause a postback from an update panel inside the tab panel.
<br />
</ContentTemplate>
</asp:UpdatePanel>
</ContentTemplate>
</cc1:TabPanel>
<cc1:TabPanel runat="Server" ID="Panel3" HeaderText="Email" >
<ContentTemplate>
Email:
<asp:TextBox ID="emailText" runat="server" />
<br /><br />
<asp:Button ID="Button1" runat="Server" Text="Save" OnClick ="Click" />
<br /><br />
Hit Save to cause a full postback.
</ContentTemplate>
</cc1:TabPanel>
<cc1:TabPanel runat="Server" ID="Panel2" OnClientClick="PanelClick" HeaderText="Controls">
<ContentTemplate>
<div>Controls authored by Toolkit User (read-only - demo purposes):</div>
<ul>
<li>Calendar</li>
<li>MaskedEdit</li>
<li>Accordion</li>
<li>Calendar</li>
<li>Calendar</li>
</ul>
<br />
</ContentTemplate>
</cc1:TabPanel>
</cc1:TabContainer>
<br />
<asp:CheckBox runat="server" ID="showComponents" Checked="true"
Text=" Show Controls Owned" onclick="ToggleHidden(this.checked)" />
<br /><br />
Current Tab:
<asp:Label runat="server" ID="CurrentTab" /><br />
<asp:Label runat="server" ID="Messages" />
</div>
When run moduls error:
|
Unhandled error loading module.
DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> System.InvalidOperationException: Only one instance of a ScriptManager can be added to the page. at System.Web.UI.ScriptManager.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace --- |
Web page dont show textbox and Button for input and submit email information on server!!!!!
Help me!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
<
<