Mar 26, 2008, 2:30 PM
Collite buttons
Hi guys, i am having some problems with coolite buttons and trying to open a window, heres my code:
I am using lastest coolite 0.4.1
Cheers.
<!-- Contenido en Tabs con AJAX -->
<div id="tabs1">
<cool:TabPanel ID="TabPanel1" runat="server" ActiveTab="0" Height="300px"
Plain="True" BodyStyle="padding:10px" ButtonAlign="Center">
<Items>
<cool:Tab ID="Tab1" runat="server" Title="Instructivo">
<Content>
<p>En este apartado tendr&aacute; una gu&iacute;a instructiva para el usuario...</p>
</Content>
</cool:Tab>
<cool:Tab ID="Tab2" runat="server" Title="Reportes por Fecha" Width="300">
<Content>
<div id="tabsSearch1">
<table class="tabsSearchTable1" cellspacing="4" width="0%">
<tbody>
<tr align="left" valign="top"><td>
<asp:Label ID="searchLabel1" runat="server" Text="Fecha Inicial:"></asp:Label>
</td>
<td>
<cool:DatePicker ID="DatePicker1" runat="server"></cool:DatePicker>
</td></tr>
<tr align="left" valign="top"><td>
<asp:Label ID="Label1" runat="server" Text="Fecha Final:"></asp:Label>
</td>
<td>
<cool:DatePicker ID="DatePicker2" runat="server"></cool:DatePicker>
</td></tr>
<tr align="left" valign="top"><td></td><td>
<!-- <asp:Button ID="Button" runat="server" Text="Buscar" /> -->
<cool:Button ID="Button1" runat="server" Text="Buscar"></cool:Button>
</td></tr>
</tbody>
</table>
<cool:Window
ID="Window1"
Title="Resultados"
runat="server"
Width="550px"
Height="400px"
AutoShow="false"
CloseAction="Hide"
Collapsible="true"
TriggerElement="Button1"
AnimateTarget="Button1">
<Content>
<cool:Panel
ID="Panel1"
runat="server"
Title="Reportes por Fecha"
Height="400px"
BodyStyle="padding: 6px;"
AutoLoad="searchResult1.aspx"/>
</Content>
</cool:Window>
</Content>
</cool:Tab>
As you can see, i have the asp button cotrol commented cause with that button the window opens perfectly... but no with coolite button... why?I am using lastest coolite 0.4.1
Cheers.