This is a migrated thread and some comments may be shown as answers.

RadWindow updating TextBox in RadDock

2 Answers 90 Views
Dock
This is a migrated thread and some comments may be shown as answers.
skysailor
Top achievements
Rank 1
skysailor asked on 20 Jul 2007, 12:41 AM
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 Answers, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 23 Jul 2007, 02:10 PM
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
0
skysailor
Top achievements
Rank 1
answered on 24 Jul 2007, 11:36 PM
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.
Tags
Dock
Asked by
skysailor
Top achievements
Rank 1
Answers by
Petya
Telerik team
skysailor
Top achievements
Rank 1
Share this question
or