[CLOSED] SetText removed

Page 1 of 2 12 LastLast
  1. #1

    [CLOSED] SetText removed

    I noticed that the SetText is removed. I the used the .text property of the status bar object. but that does not update the text on the screen, nothing happens?
    How do I do?

    /Mikael
  2. #2

    RE: [CLOSED] SetText removed

    And the same goes for other functions, as. SetReadOnly in removed. So i use ReadOnly. And that does not update the field to read only on the screen.

    /Mikael
  3. #3

    RE: [CLOSED] SetText removed

    Thanks Mikael,

    I will investigate it immediately


  4. #4

    RE: [CLOSED] SetText removed

    I made SetText and SetIcon of StatusBar as public.

    ReadOnly. ReadOnly property should works. For what field do you use ReadOnly? Just not all fields can be set as ReadOnly


  5. #5

    RE: [CLOSED] SetText removed

    I set read only on a textfield
     
    Test1.ReadOnly = false;
    Not on page load, but in a ajaxevent. This code worked before when it was the SetReadOnly function I used.

    I just did a global search and replace on the .SetText() to .Text property, Can I just replace back everything to .SetText now?

    /Mikael
  6. #6

    RE: [CLOSED] SetText removed

    Hi Mikael,

    I investigated Text problem and fixed it. Now Text property is working properly during AjaxEvent. Please use it instead SetText.

    I'll test ReadOnly soon and let you know about result

    Please update from the SVN


  7. #7

    RE: [CLOSED] SetText removed



    Hi the Text for the statusbar is still not working for me, is it working for you?

    /Mikael
  8. #8

    RE: [CLOSED] SetText removed

    Hi Mikael,

    ReadOnly fixed also.

    Please update from the SVN

    We apologized for inconveniences, just we are doing refactoring of code for comfortable working with toolkit

    Thank you for your understanding


  9. #9

    RE: [CLOSED] SetText removed

    Mikael,

    With latest code Text and ReadOnly properties should work. I tested it in several browsers and all works.

    Sorry again for this situation.

    Please confirm that your code is working also


  10. #10

    RE: [CLOSED] SetText removed



    This example does not work for me.

    <%@ Page Language="C#" %>
    <%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    
    
    <script runat="server">
    
    
        protected void Page_Load(object sender, EventArgs e)
        {
    
    
        }
    
    
    
        protected void TextTest(object sender, AjaxEventArgs e)
        {
            sbBottombar.Text = "Hello";
        }
    
    
    </script>
    
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
    
    
    <script type="text/javascript">
    
    
    
    </script>
    
    
    <title>Example</title>
    
    
       
    
    
    </head>
    <body style="padding:10px;">
    <form id="form1" runat="server">
    <ext:ScriptManager ID="ScriptManager1" Theme="Slate" runat="server" StateProvider="PostBack" />
    
    
    <ext:Button runat="server" ID="btnTest" Text="Test"></ext:Button>
                    <ext:StatusBar 
                        ID="sbBottombar" 
                        runat="server"  
                        DefaultText="">
                    </ext:StatusBar>
    </form>
    </body>
    </html>
Page 1 of 2 12 LastLast

Similar Threads

  1. [CLOSED] MonitorResize property has been removed
    By adrianot in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Jun 20, 2012, 1:40 PM
  2. [CLOSED] Label.setText HTML
    By supera in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 27, 2012, 12:31 PM
  3. FileUploadField + settext not found
    By Birgit in forum 1.x Help
    Replies: 0
    Last Post: Aug 30, 2010, 1:27 PM
  4. [CLOSED] [1.0] CycleButton setText?
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Feb 16, 2010, 4:59 PM

Posting Permissions