Hello,
My main issue is when I have inside RadWindowManager --> RadWindow --> ContentTemplate an RadAjaxPanel...
When I use it the first time, the page is posting back... I don't want to have the PostBack..
The second time and up, I don't have post back and the LoadingPanel is showing.
I have had to add a code on the Search Button (inside the ajax panel) to show window on load, since my window is a search box that will search inside content..
I will show you my main template of the page:
The rad Window:
My update panel that works fine outside the RadWindow:
Now when I place the UpdatePanel (the second code snip), inside the Window manager, I am getting error.
I hope I was clear with my question... Let me know if you need more code or if you have more questions.
Thank you for your help.
Isaac
Emerald One
My main issue is when I have inside RadWindowManager --> RadWindow --> ContentTemplate an RadAjaxPanel...
When I use it the first time, the page is posting back... I don't want to have the PostBack..
The second time and up, I don't have post back and the LoadingPanel is showing.
I have had to add a code on the Search Button (inside the ajax panel) to show window on load, since my window is a search box that will search inside content..
I will show you my main template of the page:
The rad Window:
<
telerik:RadWindowManager
ID
=
"rWinManager"
runat
=
"server"
>
<
Windows
>
<
telerik:RadWindow
ID
=
"rWinResult"
runat
=
"server"
OnClientActivate
=
"WindowOnClientActivate"
Width
=
"350"
Behaviors
=
"Close"
>
<
ContentTemplate
>
<!--This is the main content that needs to work only with ajax.-->
</
ContentTemplate
>
</
telerik:RadWindow
>
</
Windows
>
</
telerik:RadWindowManager
>
My update panel that works fine outside the RadWindow:
<
asp:UpdatePanel
ID
=
"MyUpdatePanel"
runat
=
"server"
UpdateMode
=
"Always"
>
<
ContentTemplate
>
<!--poting in a table will make the controls aligned.. it was not.-->
<
table
>
<
tr
>
<
td
><
telerik:RadTextBox
ID
=
"TxtSearch"
runat
=
"server"
Width
=
"200"
></
telerik:RadTextBox
></
td
>
<
td
>
<
telerik:RadButton
ID
=
"BtnSearch"
runat
=
"server"
OnClick
=
"BtnSearch_Click"
>
<
Icon
PrimaryIconCssClass
=
"rbSearch"
/>
</
telerik:RadButton
>
</
td
>
<
td
>
<
asp:UpdateProgress
ID
=
"MyUpdateProgress"
runat
=
"server"
AssociatedUpdatePanelID
=
"MyUpdatePanel"
>
<
ProgressTemplate
>
<
span
style
=
"color:Gray;font-size:10px;"
>
Loading...
</
span
>
</
ProgressTemplate
>
</
asp:UpdateProgress
>
</
td
>
</
tr
>
</
table
>
<
telerik:RadTreeView
ID
=
"rtvResult"
runat
=
"server"
DataFieldID
=
"Key"
DataValueField
=
"Key"
DataTextField
=
"DisplayValue"
></
telerik:RadTreeView
>
</
ContentTemplate
>
</
asp:UpdatePanel
>
Now when I place the UpdatePanel (the second code snip), inside the Window manager, I am getting error.
Cannot unregister UpdatePanel with ID 'MyUpdatePanel' since it was not registered with the ScriptManager. This might occur if the UpdatePanel was removed from the control tree and later added again, which is not supported.
Parameter name: updatePanel
I hope I was clear with my question... Let me know if you need more code or if you have more questions.
Thank you for your help.
Isaac
Emerald One