TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Giwa Abdulhakeem
NA
25
0
Problem with AJAX and User Controls
Apr 25 2011 5:38 PM
Hi,
I am working with asp.net c#. While working with .aspx page the Ajax control(accordion) worked perfectly. But when i tried using it on Web user control .ascx the control didn't work. I hoping there is a work around this to make it work.
This is my source code for the control that is not working.
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="StartCourse1.ascx.cs" Inherits="LearningSource_Controls_StartCourse1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<style type="text/css">
.style1
{
width: 110%;
}
</style>
<ajaxToolkit:ToolkitScriptManager runat="server" ID="ScriptManager1" />
<ajaxToolkit:Accordion ID="MyAccordion" runat="server" SelectedIndex="0"
HeaderCssClass="accordionHeader" HeaderSelectedCssClass="accordionHeaderSelected"
ContentCssClass="accordionContent" FadeTransitions="false" FramesPerSecond="40"
TransitionDuration="250" AutoSize="None" RequireOpenedPane="false" SuppressHeaderPostbacks="true">
<Panes>
<ajaxToolkit:AccordionPane ID="AccordionPane1" runat="server">
<Header><a href="" style="color:White">Simulation program</a></Header>
<Content>
Watch the
demonstration of the network simulation program named <span
style="font-weight: bold;">Cisco Packet Tracer v3.2 (do not use
the newer versions of the software in this module as they are much too
complex for our needs at this stage in the module).</span> <br>
</ajaxToolkit:AccordionPane></Panes></ajaxToolkit:Accordion>
Thanks for your help in advance. Regards
Reply
Answers (
4
)
Authorization
Server.transfer HTTPcontext.Items