PDA

View Full Version : [FIXED] [V0.6] ComboBox



Timothy
Aug 22, 2008, 1:31 PM
Hello,

The ComboBox demonstrations do not work on the sandbox:

http://examples1.ext.net/#/Form/ComboBox/Linked_ComboBoxes/

and


http://examples1.ext.net/#/Form/ComboBox/Ajax_Linked_Combos/

Nothing appears to happen in the 2nd ComboBox.

Cheers,
Timothy

geoffrey.mcgill
Aug 22, 2008, 3:54 PM
yes, a few things are broken right at the moment. The ComboBox samples should be working shortly.

Timothy
Aug 22, 2008, 3:55 PM
You want me to keep posting my findings? I've got a list, and some examples I can put together.

I don't want to annoy you ;)

Cheers,
Timothy

geoffrey.mcgill
Aug 22, 2008, 4:03 PM
Hi Timothy,

Feel free to post your questions and comments. Just keep in might that *right at the moment* there are several API "issues" we're working through. Many of the samples in Coolite.Sandbox may not be working, especially <ext:GridPanel> and <ext:ComboBox> samples.

Timothy
Aug 23, 2008, 11:11 AM
Can you let me know when the combobox is working again Geoffrey :)

Cheers,
TImothy

geoffrey.mcgill
Aug 23, 2008, 6:27 PM
The ComboBox should be working well once the v0.6 Preview is released.

Timothy
Aug 24, 2008, 4:03 PM
Thanks vlad for making the SVN commits to the ComboBox, I noticed you introduced the Ext:ListItem ;)

You almost got it, here is a problem I'm having:

Example.aspx


<head runat="server">
<title>Demo</title>
<script runat="server">
void Page_Load()
{
Control control = Page.LoadControl("ExampleUserControl.ascx");

PlaceHolder.Controls.Add(control);
}
</script>
</head>
<body>
<form id="Form1" runat="server">
<asp:ScriptManager runat="server" EnablePartialRendering="True" />
<ExtJS:ScriptManager ID="ScriptManager1" runat="server" StateProvider="PostBack" Theme="Gray" />
<asp:UpdatePanel runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:PlaceHolder ID="PlaceHolder" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>
</form>
</body>



ExampleUserControl.ascx


<ExtJS:ComboBox ID="drpStatus" runat="server" Editable="False" ForceSelection="True" Mode="Local" TypeAhead="False" Select&#111;nfocus="True" TriggerAction="All" Stateful="True" Width="255">
<SelectedItem Text="All" Value="%" />
<Items>
<ExtJS:ListItem Text="All" Value="%" />
<ExtJS:ListItem Text="Open" Value="Open" />
<ExtJS:ListItem Text="Closed" Value="Closed" />
</Items>
</ExtJS:ComboBox>
<ExtJS:Button ID="btnSearch" runat="server" AutoPostBack="True" Text="Search" />


Fails to remember what I've selected; this might clear a few issues for you?

Cheers,
Timothy

Timothy
Aug 26, 2008, 3:47 PM
This now works as of revision 254. Fixed.