Hi guys,
This is a 2 part question, i have been through some of the examples and previous questions posted and havent found my answer.
1st.
I have a main.aspx page with a RadGrid , In the Grid i have a column with and ImageButton that Opens Edit.aspx page inside of a RadWindow. On the Edit.aspx page i have 7 UserControls that are only shown when needed, The one user control is just a summary Control and has a RadGrid on it (This is the default UserControl that Gets shown when the RadWindow is opened). Now when a different UserControl is shown the Summary UserControl Just gets hidden.
On the UserControl now being shown it has a few Text Boxes and a Save Button which will update my database. When the user Clicks on the Save button my database is updated, the Current UserControl is hidden and my summary UserControl is being shown again. The problem i am having is that the RadGrid in the Summary UserControl Isnt being refreshed or updated. The only way i have found the RadGrid to refresh its contents it to close the RadWindow and open it again by clicking on my imageButton on the Main.aspx page.
Is there a way to refresh the RadGrid on the Summary UserControl once a user clicks on the Save button and the Summary UserControl is being shown again. (All code snippets i have found so far have failed)
RadWindow on the Main.aspx page
2nd
On my Main.aspx page, When i Click on the ImageButton to open a New RadWinow even though i have set Top and Left positions my RadWindow Still Centers itself on my screen, and if i am scrolled to the top of the Main.aspx page and Click on a ImageButton the Radwindow will move to the Top of my page where i cannot access the RadWindows Control bar
This is a 2 part question, i have been through some of the examples and previous questions posted and havent found my answer.
1st.
I have a main.aspx page with a RadGrid , In the Grid i have a column with and ImageButton that Opens Edit.aspx page inside of a RadWindow. On the Edit.aspx page i have 7 UserControls that are only shown when needed, The one user control is just a summary Control and has a RadGrid on it (This is the default UserControl that Gets shown when the RadWindow is opened). Now when a different UserControl is shown the Summary UserControl Just gets hidden.
On the UserControl now being shown it has a few Text Boxes and a Save Button which will update my database. When the user Clicks on the Save button my database is updated, the Current UserControl is hidden and my summary UserControl is being shown again. The problem i am having is that the RadGrid in the Summary UserControl Isnt being refreshed or updated. The only way i have found the RadGrid to refresh its contents it to close the RadWindow and open it again by clicking on my imageButton on the Main.aspx page.
Is there a way to refresh the RadGrid on the Summary UserControl once a user clicks on the Save button and the Summary UserControl is being shown again. (All code snippets i have found so far have failed)
RadWindow on the Main.aspx page
<
telerik:RadWindowManager
ID
=
"RadWindowManager1"
runat
=
"server"
EnableShadow
=
"True"
>
<
Windows
>
<
telerik:RadWindow
ID
=
"IncidentListDialog"
runat
=
"server"
Title
=
"Incident"
ReloadOnShow
=
"true"
ShowContentDuringLoad
=
"false"
Modal
=
"true"
Width
=
"900px"
Height
=
"760px"
Left
=
"50px"
Top
=
"50px"
>
</
telerik:RadWindow
>
<
telerik:RadWindow
ID
=
"IncidentActionsDialog"
runat
=
"server"
Title
=
"Actions"
ReloadOnShow
=
"true"
ShowContentDuringLoad
=
"false"
Modal
=
"true"
Width
=
"900px"
Height
=
"760px"
Left
=
"50px"
Top
=
"50px"
>
</
telerik:RadWindow
>
</
Windows
>
</
telerik:RadWindowManager
>
2nd
On my Main.aspx page, When i Click on the ImageButton to open a New RadWinow even though i have set Top and Left positions my RadWindow Still Centers itself on my screen, and if i am scrolled to the top of the Main.aspx page and Click on a ImageButton the Radwindow will move to the Top of my page where i cannot access the RadWindows Control bar