RadWindow updating TextBox in RadDock

3 posts, 0 answers
  1. skysailor
    skysailor avatar
    113 posts
    Member since:
    Jul 2007

    Posted 19 Jul 2007 Link to this post

    I have a DockZone with dynamically loaded Docks in them. Each dock has a textbox in it. If the user types into the textbox and a postback occurs then the text in the textbox is returned in view state.

    But I'm now using a RadWindow to edit the data in the textbox using a modal window with a RadEditor control in it. The html text gets returned from the window and set in the textbox in the dock. The value displays fine in the textbox. But when a postback occurs the textbox data is not returned to the host in viewstate.

    The OnClientClose event has javascript to set the textbox value :-
    function RetrieveArg(radWindow)
      {
      var oValue = radWindow.Argument;
      var oText = document.getElementById(EditTextBox)
      oText.value = oValue;
     }

    Any ideas on how I can force the viewstate to be updated with the text value?
  2. Petya
    Admin
    Petya avatar
    869 posts

    Posted 23 Jul 2007 Link to this post

    Hi skysailor,

    We are not aware of any such issue. It would be best for us if you could open a support ticket and send us a simple running project reproducing the undesired behavior. We will run it and investigate the problem. Looking forward to your reply. Please, find attached instructions how to open a support ticket.

    Best wishes,
    Petya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. skysailor
    skysailor avatar
    113 posts
    Member since:
    Jul 2007

    Posted 24 Jul 2007 Link to this post

    Thanks for the offer of help.
    But I have had to move on. Have pressing deadlines. So I am no longer using the RadWindow. I am using a separate page for editing the text now.
Back to Top