Hi
Does the rad grid had a property that could let the user manipulate all the records that are bind to the grid in memory on client side and then summit all the changes to database. This is because a have to validate a specific column for all the records that are part of the same batch of records. I’m have an idea of using a data table to perform this task (update, insert, delete) records before submit changes to database. Please advice if this would be the correct approach.
| var managerC = $find("<%= RadWindowManagerSearch.ClientID %>"); |
| managerC.open("search.aspx", "RadWindowSearch"); |
Then I opened a second popup window from the first one and when returning the values, tried to find the first popup window with:
| GetRadWindow().get_windowManager().getWindowByName("RadWindowSearch"); |
It didn't work (returns null) beacuse it was finding as radwindow manager the first one rendered in the page (the one in the control in the master page) instead of the radwindow manager in Default.aspx
To solve this I removed the radwindowmanager (and kept the radwindows) from Default.aspx and now open the first popup with:
| var oWnd = radopen("search.aspx", "RadWindowSearch"); |
And to open other popups from RadWindowSearch:
| var parentPage = GetRadWindow().BrowserWindow; |
| var parentRadWindowManager = parentPage.GetRadWindowManager(); |
| var oWnd2 = parentRadWindowManager.open("clients_filter.aspx", "RadWindowSearchClients"); |
| window.setTimeout(function() { |
| oWnd2.setActive(true); |
| }, 0); |
Now I can return data from second popups to first popup (RadWindowSearch) by using the previous line:
| GetRadWindow().get_windowManager().getWindowByName("RadWindowSearch"); |
However, now I can't return data from the first popup (RadWindowSearch) to Default.aspx because it doesn't execute the OnClientClose function. This function was fired when using a radwindomanager in Default.aspx.
How can I now return data from the first popup to the page?
Or, how can I keep the radwindowmanager in Default.aspx and make the second popups find the first one (RadWindowSearch)? Is there a way to do get_windowManager() but by name?
Thank you,
On the scheduler demo page if you add an event using the details shown in the attached screen shot, you'll get a validation error when you try and save it saying that the start date should be before the end date.
However, if you correct this and leave the finish date for the "Recurrence" period as it is, then the event will be saved without any error (and without, naturally enough) any recurrences.
--
Stuart