.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Ajax Tabbed Panel Hookup

Posted By:      Posted Date: April 14, 2011    Points: 0   Category :ASP.Net

http://www.asp.net/ajaxlibrary/act_TabContainer.ashx has a tab container tutorial that does not include <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

if my Tabbed panels are:

   <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    <asp:TabContainer ID="TabContainer1" runat="server">
        <asp:TabPanel ID="TabPanel0" runat="server">
            ... 123 
                <asp:TabPanel ID="TabPanel1" runat="server">

View Complete Post

More Related Resource Links

Ajax Asyncfileupload doesn't work as soon as I put it in a control


Hi guys,

I can't get my <ajax:asyncfileupload> working and I don't see why...

When outside any panel or table it is working well, but as soon as I put it in a <asp:panel> or table I get a strange error which seems to be on client-side but I don't understand what's happen here. Here is the code and code-behind and Javascript.

Here's the error: 


Here's my front-code:

<%@ Page Language="VB" MasterPageFile="~/masterpages/mpSqueletton.master" AutoEventWireup="false" CodeFile="frmAdmGestSocietes.aspx.vb" Inherits="adm_frmAdmGestSocietes" title="Untitled Page" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" Runat="Server">
<script type="text/javascript" language="javascript">    
        function uploadError(sender,args)
          document.getElementById("<%= lblStatus.ClientID %>").innerText = args.get_fileName(), "<span style='color:red;'>" + args.get_errorMes

Window.Open in AJAX Accordian Panel Opens Link in Same Window

I'm using the following span to open a page in a new window. What is INCREDIBLY odd is that it is exactly the same code from three different pages, but the first refuses to open in a new window. The only difference is that the first example resides within an Ajax Accordian Panel so I suspect that it might be an Ajax related issue. Ideas? Does not open in new window.<span onclick="window.open ('http://[domainname]/Mercury/production/content/directory/DirectorySideBar.aspx','mywindow','width=271,height=498,scrollbars=no');">   Opens in new window<span onclick="window.open ('http://[domainname]/Mercury/production/content/directory/DirectorySideBar.aspx','mywindow','width=271,height=498,scrollbars=no');">   Opens in new window<span onclick="window.open ('http://[domainname]/Mercury/production/content/directory/DirectorySideBar.aspx','mywindow','width=271,height=498,scrollbars=no');">  

Ajax Refresh Panel

Hi, plz i want detailed explanation about  "Ajax Refresh Panel" like how to use it and what is the use of this control its urgent Thanx

AJAX update panel and update progress controls

I have writtena Crystal reports web application, that prompts ths user for parameters and then apply them and exports the report to a folder as .rpt and then display the report. I prompt the parameters on one screen and then display the report on another page. I have the AJAX update panel and update progress controls in the parameter page. When the user enters the parameters and click on ok, I export the report and then loads the report to a session report document and transfer the user to the second page where the report is displayed. I use the following code to do transfer to the seconds page. I have excluded the report load and parameter assign code here.rpt.ExportToDisk(ExportFormatType.CrystalReport, "c:\reports\testrep.rpt") Session("rpt") = New ReportDocument Session("rpt").load("c:\reports\testrep.rpt") Response.Redirect("show.aspx") In the second page I have the following: rptViewer.reportsource = Session("rpt") My problem is this works one time and then stops working the second. What I found out was it comes to the statement: Response.Redirect("show.aspx") But it does not even load the show.aspx page. It stays on the parameter page. There are no errors displayed. I could not see any errors when I debug the application also. And out of the blue it works

Add Dynmaic tab in Ajax tabbed control on click of botton

Hello all,I am facing a issue with ajax tabbed control.Here is the scenario:I have to add tab dynamically in exiisting ajax tab:Tab1 | Add Tab1 |Tab2 | AddTab1 |Tab2 |Tab3 | AddTab1 |Tab2 |Tab3 |Tab4 | AddHere Add is a button which acts like last tab in tabbed controlWhen I click Add button it should add a new tab in existing oneI am using Asp.Net 2.0 with C#How to do this ?If anybody have solution please help............

Using AJAX update panel to show image but still blinking

May anyone help me on this issue please?I'm developing a web site that can grab image captured from cameras and show in the web page, i'm currently using Ajax's Update panel to update the image every second, my web files and Images is located in IIS virtual directory, browsing using IE7.My code is as following :<asp:UpdatePanel ID="uPVideoPane1" runat="server">                                 <triggers>                                     <asp:AsyncPostBackTrigger ControlID="Timer" EventName="Tick" />                                 </triggers>                                 <contenttemplate>                                     <asp:LinkButton ID="linkCamera1" runat="server">                                         <asp:Image ID

ajax modalpopupextender panel width in different screen resolution

I have a modal pop up window I want to fix the panel width, but  when screen resolution is changed then panel width is also changed and the content is shown out of pop up window. Is there any way to fix the height and width keep fixed in different screen resolutions ?  

Ajax update panel refresh and dropdown behaviour in firefox


I have found an odd bug in my application.  I have a dropdown status which is bound to my gridview. On selecting a status from the dropdown the selectedindex then fires and binds the results to the gridview.

Now the strange behaviour in firefox and not IE:

If I have a dropdown open and an ajax update fires on my gridview the option is selected from the dropdown (just by hovering my mouse over it rather than selecting it) and the results bound to the gridview. This does not happen in ie as you should have to physically select an item from the dropdown rather than firefox selecting it for you because you happened to hover over an option when the update event fires.

Anybody had the same problem or does anyone have a fix out there?

Your help would be appreciated.





update panel woes... question for superstar AJAX gurus



This has got me completely confused... not sure if I've been at it too long and am missing something, or if this is a bug?

I have a webform with an AJAX update panel. In the panel there are 2 controls. One is a textbox, the other a listview.

I'm using the ClientScriptManager to take advantage of the "OnKeyUp" event to cause an autopostback.

When text is entered into the textbox, it runs the textchanged event, which puts data in the listview.

So far so good. All works fine with one exception.

Problem is that with IE8 the textbox loses focus on the SECOND text entry, even though it's specified in my code to focus on textbox after the textchanged event fires. And with Firefox, it doesn't cause the textchanged event to fire at all.

I don't get it??

Here's my code...

    Sub Page_load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load


        TextBox1.Attributes.Add("onKeyUp", Page.ClientScript.GetPostBackEventReference(TextBox1, ""))

    End Sub

    Sub TextBox1_TextChanged(ByVal sender As Object, ByVal e As EventArgs) Handles TextBox1.TextChanged

        Listbox1.Items.Add(New ListItem("ListboxItem", "ListboxValue"))

        TextBox1.Text = ""


How to track Collapse/ Expand event of AJAX Collapsible Panel Extender to call javascript ?



I am working with AJAX Panel Collapsable panel extender.

The Panel which is to be collapsed/Expanded using AJAX panel Extender contains one custom control, containing 3 Radio buttons one of them is set checked through a javascript function when page loads. I have kept the default property of AJAX collapsable panel as Collapsable.

Script for AJAX Collapsible Panel Extender is as follow. 

 <ajax:CollapsiblePanelExtender ID="cpeSOP" runat="Server" CollapseControlID="pnlCollapsable"
   CollapsedSize="0" Collapsed="True" CollapsedImage="~/public/img/arrowRightWhite.gif"
   ExpandControlID="pnlCollapsable" ExpandDirection="Vertical" ExpandedImage="~/public/img/arrowDownWhite.gif"
   ImageControlID="Image1" SuppressPostBack="true" TargetControlID="pnlSearchCriteria">

But problem is that when page loads, collapsible panel gets collapsed but it resets the radio buttons in custom control. i.e. First radio button does not get checked. Script for Collpsable panel is as follow. I want to call some javascript code when the panel is Collapsed or Expanded. Is there any way to track Coll

Ajax Update Panel



May i know how to fire javascript function with update panel e.g is like i pur my registration code in update panel and after submit button click i.e filling all registration information i want to show message that ur successfully register(Javascript) may i know how to fire javascript


Please help so i ll nt get n trouble 

ASP.NET AJAX : Collapsible Panel PostBack


Hi experts,

I have used CollapsiblePanel on my page, but when page is Post back, then it is redrawing all controls inside to it.


How to resolve it?

Please reply guys.


Ajax comboBox not displaying correctly after panel made visible




I have a WSP project in which i have added ajaxcontroltoolkit to SharePoint 2010 succesfully and the controls work when in basic web parts.


However i have a web part which has several panels to show / hide various sections as required, within one of the panels i have a combobox.

The panels are set a visible = false to begin with and then toggled to be displayed. 

When the panel is set visible = true i get an Javascript error of: 

Message: 'AjaxControlToolkit' is undefined


The combobox does not display correctly and won;t function.


If the panel is set as visible to begin with - it works fine, but thats not a solution to something which should work.


I have tried various workarounds - but nothing is working.

  • changed scriptmanager on master page to ToolkitScriptManager 
  • add javascript to resize the combobox when its made visible

Is there away to get this working?




CheckBox Control in Ajax Update Panel


Is there anything special I need to do with a CheckBox control placed inside an Ajax Update Panel?  I've use the update panel many times before with other .NET controls, but for some reason the CheckBox control isn't triggering it's oncheckedchanged event.  Here's what I have:


<span style="position:relative; left:410px; top:0px">
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <asp:CheckBox ID="_cbTrack" runat="server" 
                                            Text="Track Carrier" 

AJAX Update Panel Queries....


Hiii Everyone...

I Want to build a page in which there are two text boxes and a drop down list....

Depending on the value of textbox and drop down list i am trying to get values from database....which checks for several roll number...

I want to count few roll numbers say 20 (in my form it depends on the values of text box and drop down list )whose status is loggen in that is i have set it in my database as (1) and the update panel should continously check whether all the 20 roll numbers have logged in or not....and if it gets the count correct a button is placed in the form named...BtnStart which should be enabled...i have tried a lot..gone through many websites for update panel but was unable to sort out the problem....can anyone give me a good suggestion to create this form...or can anyone tell me how to do this ....

And inside the update panel i want to get all the roll numbers whose status is logged in either in grid view or any other good control...

i am developing the application in vb.net so plz try to post the vb code...or else c# code...

Hope will get a good suggestions...


Have a nice day friends :)

Ajax Accordion panel parent child child menu creation



Hi, I am trying to set up a Ajax Accordion Dynamic menu from the database. Functionality must be as follows:  I have Parent with a child and child with other child    can any one help me in this .

. Thanks in advance

Show Hide Panel Using Ajax


Hello, is there a way to hide/show a panel in my .Net 4 VB web app based on a dropdown selection?

Thanks in advance!

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend