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

[Solved] Content Template Advice

1 Answer 113 Views
Window
This is a migrated thread and some comments may be shown as answers.
Lonnie Ellis
Top achievements
Rank 1
Lonnie Ellis asked on 17 Feb 2010, 10:10 PM
I'm trying to use a rad window as an input form to add and update categories. I'm using the new Content Template to define my form instead of loading an external page.

The following is what I'm trying to achieve:

  • 100% Ajax - No flickering
  • Ability to retrieve the value of a textbox via server side code
  • Ability to close the window after saving or canceling
  • Ability to reopen window to add / edit additional data after closing window
  • Ability to set the value of a textbox in the form when editing

Currently the following works:

  • Retrieve the value of a textbox via server side code
  • Can close the window if content template does not contain a Rad Ajax Panel. (Rad Ajax Panel is the only way I have found to  prevent screen flicker when clicking Save / Cancel buttons)
  • If window is closed, clicking button to reopen it does not work

Any advice, help, sample code would be appreciated.

Thanks,

Lonnie

 



1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 23 Feb 2010, 09:09 AM
Hello Lonnie,

As far as I understand the unresolved problems left are the following ones:

1) If window is closed, clicking button to reopen it does not work
2) Ability to set the value of a textbox in the form when editing

Straight to them:

- in order to find why the RadWindow does not open after the first closure I will need to examine some relevant code related to how you open it and its configuration - please share it here.

- You can wrap the textbox in an update panel with UpdateMode="Conditional" and after you close the window set the value and call its method Update(). If you want you can also use a RadAjaxManager - with the previous versions it will work with a separately declared RadWindow and from the Beta release this will also work when the RadWindow is declared in a RadWindowManager.
Best wishes,

 

Svetlina

 

the Telerik team


Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Window
Asked by
Lonnie Ellis
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or