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

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

AjaxToolKit Tab Positioning

Posted By:      Posted Date: September 27, 2010    Points: 0   Category :.NET Framework

I don't know if this is the place to ask this questions..but i have no time to search through the forum title so here u go:

I have set of 10 tabs on my web form. When a new tab load it post back the data of the existing tab as its the need of the system. Now each time a the new tab load there is a flicker and tab positions change. Is there a way to arrange them just like windows tabs so that they all are in one container and get justified everytime i click the new tab. Please let me know if I am not very clear in explaining my problem.

View Complete Post

More Related Resource Links

Re-positioning an HTML container with javascript onresize with a Master page.


I have an HTML <div> container that I float to the right of a gridview.  When the browser window is maximized, it looks fine.  When minimized, the gridview positions below the floating container and most of the data is pushed off the bottom of the browser - you have to scroll down to see it.

If I position the floating container above the gridview it looks fine in a minimized window, but looks real bad when maximized.

What I want to do is use a javascript: onresize event to re-position the floating container up or down depending on the window.inner.width AND do it with a Master/Content page structure AND do it for only the one page where needed.

I can capture the onresize event and display the window dimensions but haven't figured-out how to do it with a Content page that still uses the Master page.  I think I'm having a very "thick" week...

- Tinker


AjaxToolkit:ComboBox not working in ModalPopupExtender

Hello,I have two nested modal popup. The ComboBox does not work as expected as you can see frome this screenshot. As you can see it misses:The list is not visible even if I think that is in the background. In fact the "SuggestAppend" works perfectly.The ComboBox arrow button is not visible. On zooming the green circle you can see that it shrinked to a size of 4x4 pixelsAdditional info: jquery is used for tabs & datePicker (in the first popup) and Buttons (always)EDIT: Forgot to include  the server side code. Here it is:<ajaxToolkit:ComboBox ID="dataPhoneType2" runat="server" DataSourceID="phoneTypeDS" DataValueField="PhoneTypeId" DataTextField="Description" AutoPostBack="False" DropDownStyle="DropDownList" AutoCompleteMode="SuggestAppend" RenderMode="Inline" CaseSensitive="False"></ajaxToolkit:ComboBox>Is this a bug?Regards

showing modalpopup and saving data to database simultaneously using ajaxtoolkit and javascript

hi,i have a button ,i want that when i click on that button the data should be saved in the database as well as at the same time a modal popup should display the customerid .i have written the code as <asp:button id="save1" runat="server" onclick="Button4_Click" style=""z-index:" mode="hold" xmlns:asp="#unknown" /> left: 740px; position: absolute; top: 304px" Text="save"/> <asp:panel id="panel" runat="server" xmlns:asp="#unknown">  /asp:Panel> <ajaxtoolkit:modalpopupextender id="MPE" runat="server" targetcontrolid="save1" xmlns:ajaxtoolkit="#unknown"> PopupControlID="panel" DropShadow="true" BackgroundCssClass="modalBackground/> protected void Button4_Click(object sender, EventArgs e) { string id = TextBox1.Text; string name = TextBox2.Text; string cn = "Data Source=hcl;Initial Catalog=mydata;Integrated Security=True"; SqlConnection con = new SqlConnection(cn); SqlCommand cmd = new SqlCommand("insert into customer values (@id,@name)", con); con.Open(); cmd.CommandType = CommandType.Text; cmd.Parameters.Add("@id", id); cmd.Parameters.Add("@name",name); cmd.ExecuteNonQuery(); con.Close(); CUSTID.Text = id.ToString(); MPE.Show(); }

how to fill asp:Gridview when mouse clicked on AJAXToolkit Calendar

how to fill asp:Gridview asynchronously from the SQL database when mouse clicked on AJAXToolkit Calendar(When calendar date changed by client) Pls Help me out.Hoping for quick response Thanking You

NerdDinner MVC tutorial, map not positioning correctly like completed MVC sample

I have been studying the NerdDinner MVC tutorial for the past week, and I am at step 11 - the part where  adding a Map is introduced.  I have been following the instructions as closely as possible, and I am at the part Integrating the Map with Create and Edit Forms The tutorial runs the sample app at this point and displays how the map should look -- this part being "Host A Dinner".  In the completed sample (which runs correctly for me) the map displays to the right side of the textboxes of Create.aspx, in some kind of container.  But in the sample I am building - per the tutorial - the map displays in the upper left corner of the page, and the container (for the map) displays below the  textboxes on my Create.aspx -- as per the image here:   I tried stepping through the code in the completed sample, but I was not able to see how the map is positioned in the page.  Any suggesions how to fix this problem -- how to position the map correctly on the page -- how to control the positioning of the map -- would be greatly appreciated. Thanks    

Unknown server tag 'ajaxToolkit:RoundedCornersExtender'.

Uber Atlas newbie here:I downloaded and installed Atlas 1.0 Beta, and then opened my VS 2005 and created a new Atlas Ajax Website Project. Scriptmanager, and update panel work as expected with no page refreshes. I wanted to add a rounded button to my page to i tried:                    <ajaxToolkit:RoundedCornersExtender ID="rce" runat="server" TargetControlID="bGeneral" Radius="6" />                    <asp:Button Font-Size="8pt" id="bGeneral" text="General" runat="server" />as I had seen in an example somewhere else. I got an error ( Unknown server tag 'ajaxToolkit:RoundedCornersExtender'.) So I did some searching and tried asp:, and atlas: and ajax: - no good still have errors. Then I found from searching this forum that I need to reference a .dll in my web projects Bin folder 'Microsoft.Web.Atlas.dll'  I did a search of my hard drive and found no such .dll - so naturaly I searched for what it is that I need to go get to install this .dll - I was pointed to the june CTP and the November CTP by more searches, and when I DL'ed those and tried to install I was told that a newer version was already installed (my guess is the 1.0 Beta)  - So - here i am - what am i d

AjaxToolkit and JQuery

What and how is the relationship of AjaxToolkit and JQuery? Complementary, supplementary, mutually exclusive, or else? When and how do we use JQuery? Thanks.

Positioning scrollbar

Hi..I have a listview with multiple records inside a div whose overflow property has been set to enable scrollbars.  Now I have another search panel in which If i click on a particular item the corresponding item in the listview gets selected. But the problem is that the item gets selected but the user cannot view it if its way down on the list. I also want the scrollbar to move in order to let the user show the selected item. Any help would be appreciated.Thanks.

user.identity.name="0" when uploading file using ajaxToolkit:AsyncFileUpload

hi, i am using AsyncFileupload to upload user picture. after the picture is uploaded and saved i opened another page and i noticed that the user.identity.name is lost. any idea 

Problems Positioning Popup Extender After Postback

Please read this entire post before responding and refer to the supplied screen shots to fully understand the problem. There are multiple layers of Ajax controls invovled. On the main page, I have Modal Popup Extender that displays a User Control. Within the User Control is a Popup Control that displays another User Control. User Control #2 which resides on User Control #1 is comprised of a GridView with sorting capabilities. I've got code in place that displays User Control #1 following a postback generated from within it. I've got additional code that displays User Control #2 (the one with the GridView) following a post back. The result is that when User Control #2 is sorted, it remains visible. The problem is that after the postback for User Control #2 ocurrs, the control is not displayed at the coordinates specified in the markup. If I hide it and then redisplay it, it will appear at the specified location. Protected Sub Page_Load() Handles Me.Load If TextBoxShowCompanyFacilitySelector.Text = "-1" Then Dim PopupControlSelectCompanyFacilityId As Object = FormViewContactDetail.FindControl("PopupControlSelectCompanyFacilityId") PopupControlSelectCompanyFacilityId.Show() End If End Sub These screen shots show the desired and actual behaviors.

AjaxToolkit's CascadingDropDown control is throwing Method Error 404 in Hybrid system environment (

Hi Experts, We have an Asp.net web application, which is deployed in shared hosting environment. On shared hosting environment initial request to this web application is handled by Linux server and then based on the requested page the Linux server is redirecting request to web server on windows OS. Now, in our web application, we have used ajaxToolkit's CascadingDropDown control to populate three levels of categories. In the hybrid system described above, the CascadingDropDown control is throwing Method Error 404. I would appreciate if some body can guide on how to resolve this issue. The sample of code snap shot is mentioned below. ********************************************************************* Aspx file. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ <asp:DropDownList ID="ddlMajorLevelCategory" runat="server" Width="250px" ToolTip="Select Major Level Category" TabIndex="1"                            SkinID="h6BlueArial"> </asp:DropDownList>   <ajaxToolkit:CascadingDropDown ID="ccMajorCategory" runat="server" TargetControlID="ddlMajorLevelCategory" Category="M" PromptText=&qu

Positioning of ComboBox in GridView

I have a need to use the ComboxBox as input for multiple GridView Columns, only the last ComboBox displays correctly, the rest are positioned below the row.  I'm attaching a sample source code using Table instead of GridView, since it has the same problem and will display without needing to bind data.  Adding a position relative div around the Combox placed it in the right position; but when attempting to do a select, placed the item list further down and to the right.  Thanks for any help. I am using VS2010 and AJAX Toolkit version 4.1.40412.0. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Experiment2.aspx.cs" Inherits="Materials_InfoTracking.Experiment2" %><%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head runat="server">    <title></title></head><body>    <form id="form1" runat="server">        <asp:ScriptManager ID="ScriptManager1" runat="server" />

Absolute positioning

Hi all,I'm having VS 2008 professional. I'm trying to fix absolute positioning for a lable control. In Format menu position is not active when i click on lable? How can I do that or is this option not available in VS 2008?How can I align 2-3 controls as my layout control is not active?How can I use insert layer?Smitha

Chrome update.. Ajaxtoolkit TabContainer disappears on button click.

Hello,Yesterday (Thursday Sep 10th 2010) I was happy to have a TabContainer working fine on a simple page as im learning to use it.On the page was:1) Ajax Script manger.2) 1 command button (it would make label1.text = "hello world"3) A Ajax TabContainer with 2 tabs... 4) Label1 That was it and it was working fine in Chrom and IE Woohoo.. I go home...This morning I load it up to keep working way and doing more with it.... Chrome is my default browser, it loads and I click tab2 then tab 1 all is well.... I click Butto1 and the hole TabContainer disapears..After much dinging I find it still works in IE but that my Chrome has updated (on its own): (I notice only one ICON in Chrome in the uper right corner by the addres bar... Only the Wrench ICON, No more Page ICON.. So I check and sure enough Chrome did a push to V 6.0.472.55.. thanks for asking me Google...) Anyhow thats the difference and now TabContainer goes poof/disappears when clicking a button that refeshes the page.Any thoughts?Others having this problem?ThanksShane 

AutoCompleteExtender positioning problems

Hi all, I can't seem to find an answer to this anywhere so I am trying here. When I don't apply any CSS styles to the properties CompletionListCssClass,  CompletionListItemCssClass and CompletionListHighlightedItemCssClass the completion list displays a nice dropdownlist right below the targeted textbox. However, I am simply looking for a border and a scrollbar after 100 pixels in height (I am allowing 20 items returned). Initially I was using the CompletionListElementID property and pointing it to a DIV placed right below the target textbox. I applied the styles to the DIV (height:100px; overflow:scroll;) and all was well. Even though that produced exactly what I wanted, I noticed that VS 2008 SP1 with .NET 3.5 SP1 was telling me that the CompletionListElementID property is obsolete and I should use the CSS styles. So now I am in a bind because I don't know CSS that well and using some example CSS, that doesn't seem to refer to ANY positioning, the list shows up in odd places...nowhere near the target TextBox. Can anyone tell me what I should do? Can I use the CompletionListElementID property even though I am being warned it is obsolete? It seems to work just fine. I know that I downloaded the latest ToolKit for .NET 3.5 and VS2008 SP1. Thanks for any help...

ajaxToolkit:AutoCompleteExtender should filer record based on enrting the text value


Hi All,

I am using ajaxToolkit:AutoCompleteExtender.

<asp:TextBox runat="server" ID="myTextBox" Width="300" autocomplete="off" AutoCompleteType="FirstName" />









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