hello friends,
while working with infragistics asp.net netadvanatge control, i am facing very strange problem
i am using dropdownlist within the tab of UltraWebTab control
when i change the selection in dropdownlist it doesn't fire the event selectedindexchanged
i set autopostback=true still it not work
this is my code
<div> <igtab:UltraWebTab BackColor=AliceBlue ID="UltraWebTab1" TabOrientation=LeftTop runat="server" Height="165px" Font-Names="Verdana" Font-Size=Smaller Width="646px" SpaceOnRight="0" BarHeight="0"> <Tabs> <igtab:Tab DefaultImage="./images/FD.GIF" DisabledImage="./images/fd_grey_on.gif" HoverImage="./images/fd_purple_on.GIF"> <ContentTemplate> <br /> <div style="padding-left:10px ; padding-right:10px; padding-bottom:6px"> <asp:Panel ID="Panel1" runat="server" Height="197px" Width="780px" BackColor="AliceBlue" BorderColor="Gray" BorderStyle="Solid" BorderWidth="1px" HorizontalAlign="Center"><br /> <table style="width: 721px; height: 148px" cellpadding="0" cellspacing="0" border="0" bordercolor="#0"> <tr> <td align="right" colspan="4"> <asp:Label ID="Label1" runat="server" Style="left: 96px; top: -2px" Text="Search Flight No. :" Width="126px"></asp:Label></td> <td colspan="4"> <asp:TextBox ID="searchFLNO" runat="server"></asp:TextBox></td> </tr> <tr> <td colspan="8" style="height: 29px"> </td> </tr> <tr> <td style="width: 89px; height: 40px;" align="right"> <asp:Label ID="Label2" runat="server" Text="Date :"></asp:Label></td> <td style="width: 290px; height: 40px;" align="left"> <asp:TextBox ID="datetext" runat="server" Width="87px"></asp:TextBox> </td> <td style="width: 101px; height: 40px;" align="right"> <asp:Label ID="Label4" runat="server" Text="Flight Type :"></asp:Label></td> <td style="width: 116px; height: 31px;" align="left"> <asp:DropDownList ID="ACregno" runat="server" AutoPostBack="True"> </asp:DropDownList></td>
I am trying to reproduce the problem locally (IG 8.1 ASP.NET), unfortunately without much success. Here is what I am using:
<igtab:UltraWebTab ID="UltraWebTab1" runat="server"> <Tabs> <igtab:Tab> <ContentPane> <asp:DropDownList runat="server" ID="DropDownList1" AutoPostBack="true" onselectedindexchanged="DropDownList1_SelectedIndexChanged"> <asp:ListItem Text="Item 1"></asp:ListItem> <asp:ListItem Text="Item 2"></asp:ListItem> <asp:ListItem Text="Item 3"></asp:ListItem> </asp:DropDownList> </ContentPane> </igtab:Tab> </Tabs> </igtab:UltraWebTab> protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) { }
and the SelectedIndexChanged event handler always gets called successfully. Is it possible that something else is interfering with your page... or I am missing something?
Actually the code provided by you is ok even my code also have similar logic as you mention.
but when i test my web application it does not postback to server side code if i use IE
but if i use firefox it works fine, so i want to know how is this possible that within particular browser it work and other browser does not
also my second problem which i encounter yesterday that i want to use javascript calendar within Webtab.
but it does not display the calendar when i click on th calendar icon while project is run.
is their any special code i have to write so that my javascript calendar works fine
please give me reply fast.
Thank you
It's hard to tell - the sample I sent you earlier on is working great for me in both FireFox and IE... so it could be something else. Is there any specific javascript error that you are getting?
You can also check out our online samples (the Scheduling - WebDataSchooser part) to find samples on how to show a dropdown with calendar on the client
http://samples.infragistics.com/2008.1/webfeaturebrowser/