[SOLVED] [1.0] problem with revision 2550
New Community Forums available at http://forums.ext.net
 

Coolite Forums

Welcome Guest ( Login | Register )
 
[SOLVED] [1.0] problem with revision 2550
Subscribe
Last Login: 7/5/2010 7:22:43 AM
Posts: 50,
Posted 3/13/2010 5:03:31 AM

Group: Coolite Premium Member & Early Adopter
 hi vladimir, the text revision in revision 2550, caused that the textfield doesn't have a value, when i debugged it, it's value is nothing, i changed back to revision 2549 and works fine.


        <ext:Window ID="winDetalle" runat="server" Icon="Star" Width="600" Height="290" Modal="true"
            Maximizable="true" Minimizable="false" Hidden="true" Layout="Fit" InitCenter="true" >
            <Content>
                <ext:TabPanel ID="tabEdit" runat="server" ActiveTabIndex="0" Border="false" AnimScroll="true" AutoScroll="true">
                    <Items>
                        <ext:Panel ID="tabDetalle" runat="server" Icon="StarGrey" BodyStyle="padding:5px;" AutoScroll="true" Layout="Fit">
                            <Content>
                                <ext:FormPanel runat="server" ID="frmDetalle" MonitorPoll="1500" MonitorResize="true" MonitorValid="true" BodyStyle="padding:5px;" AutoScroll="true">
                                <Defaults>
                                    <ext:Parameter Name="MsgTarget" Value="side" />
                                </Defaults>
                                <Items>
                                    <ext:TextField ID="txtID" runat="server" FieldLabel="ID" Width="100" ReadOnly="true" />



when i entered a     <DirectMethod() to clean the txtid field, it's text is nothing and i get an error
Last Login: 7/5/2010 10:10:13 AM
Posts: 7,853,
Posted 3/13/2010 12:17:00 PM

Group: Core Development Team
Hi,

Please provide test sample which demonstrates the problem. I cannot reproduce anything wrong with your code

--
Vladimir Shcheglov
Coolite Inc.
Development Team
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 7/5/2010 7:22:43 AM
Posts: 50,
Posted 3/13/2010 12:30:52 PM

Group: Coolite Premium Member & Early Adopter
one of the methods i use is this:


     <DirectMethod()> _
    Public Sub AddNew()
        Try
            txtID.Text = ""
            winDetalle.Show()
        Catch ex As Exception
            Logger.Error("AddNew." & GetType(Admin_Admin_Favorites).Name, ex)
        End Try
    End Sub


and when i click a button in the grid, in the txtid.text i get a nothing


        <ext:Viewport runat="server">
            <Items>
                <ext:BorderLayout runat="server">
                    <Center AnimFloat="true">
                        <ext:GridPanel ID="grdDatos" runat="server" MonitorResize="true"
                            TrackMouseOver="true">
                            <TopBar>
                                <ext:Toolbar runat="server">
                                    <Items>
                                        <ext:Button ID="btnAgregar" runat="server" Text="Add" Icon="Add">
                                            <Listeners>
                                                <Click Handler="Ext.net.DirectMethods.AddNew();" />
                                            </Listeners>
                                        </ext:Button>



Last Login: 7/5/2010 10:10:13 AM
Posts: 7,853,
Posted 3/13/2010 12:48:39 PM

Group: Core Development Team
Hi,

Can you clarify when you get an exception? Your code doesn't produce an exception. What you mean that field has no value? I don't see where you check the value (just set empty value)

--
Vladimir Shcheglov
Coolite Inc.
Development Team
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 7/5/2010 7:22:43 AM
Posts: 50,
Posted 3/13/2010 2:56:47 PM

Group: Coolite Premium Member & Early Adopter
 vladsch, i updated to the revision 2553 and now works again. marke this as solved
thanks
« Prev Topic | Next Topic »
Reading This Topic
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.
All times are GMT -5:00, Time now is 8:50pm