Hi,
I am currently using the radwindow as a means of user input. I have a Java function that will open a different dialog (seperate aspx page) depending on which tab a user is on.
This works perfectly and the correct query dialog is opened. What i would like to do however is have a function that can onclientclose rebind a specific radgrid.
I can hard code the radgrid (as below:)
This fires on clientclose of the radwindow and will rebind the grid "RadGridPartRev". I would like to change this grid depending on which ASPX window the user has been on. Is there a way to do this or will have to resort to determining which tab the user is on?
Cheers,
James
I am currently using the radwindow as a means of user input. I have a Java function that will open a different dialog (seperate aspx page) depending on which tab a user is on.
| function openWin() { |
| var returned = getSelectedTab(); |
| if (returned == 0) { |
| var partreturned = getSelectedPartSubTab() |
| if (partreturned == 0) |
| { |
| var oWnd = radopen("./Query/PartRevDialog.aspx", "RadWindow1"); |
| } |
| else if (partreturned == 1) |
| { |
| var oWnd = radopen("./Query/PartCatDialog.aspx", "RadWindow1"); |
| } |
| } |
| else if (returned == 1) { |
| if (partreturned == 0) { |
| var oWnd = radopen("./Query/DocTitleDialog.aspx", "RadWindow1"); |
| } |
| else if (partreturned == 1) { |
| var oWnd = radopen("./Query/DocRevDialog.aspx", "RadWindow1"); |
| } |
| } |
| } |
This works perfectly and the correct query dialog is opened. What i would like to do however is have a function that can onclientclose rebind a specific radgrid.
I can hard code the radgrid (as below:)
| function RefreshGridPartRev() { |
| var masterTable = $find("<%=RadGridPartRev.ClientID %>").get_masterTableView(); |
| masterTable.rebind(); |
| } |
This fires on clientclose of the radwindow and will rebind the grid "RadGridPartRev". I would like to change this grid depending on which ASPX window the user has been on. Is there a way to do this or will have to resort to determining which tab the user is on?
Cheers,
James