Click here to Skip to main content
15,942,799 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi I have a sample where i have placed ajax tab control but when i run the project i get empty page. I am not sure what i am missing

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Ajaxaspx.aspx.cs" Inherits="Ajaxaspx" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<html xmlns="">
<head runat="server">
    <form id="form1" runat="server">
    <div style="height: 464px; width: 1095px">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        <asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" 
            Height="16px" Width="335px">
            <asp:TabPanel runat="server" HeaderText="TabPanel1" ID="TabPanel1">
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><br />
                    <asp:Button ID="Button1" runat="server" Text="Button1" />
            <asp:TabPanel runat="server" HeaderText="TabPanel2" ID="TabPanel2">
                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox><br />
                    <asp:Button ID="Button2" runat="server" Text="Button2" />

            <asp:TabPanel ID="TabPanel3" runat="server" HeaderText="TabPanel3">
                    <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox><br />
                    <asp:Button ID="Button3" runat="server" Text="Button3" />

Ramug10 14-Mar-14 3:28am    
have you added AjaxToolKit.dll to references??
amity21 14-Mar-14 3:38am    
Above code works fine for me in my solution.

try using ToolkitScriptManager Instead of using ScriptManager

<asp:toolkitscriptmanager runat="server" ID="scrptMngr">
Share this answer
ShaHam11 13-Mar-14 2:26am    
Tried its not working
let me google it for you..

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900