I am currently launching a RadWindow from my grid when I click a row like so:
GRID:
But I also need to pass 3 other values from my page that are not part of the grid, two dates from RadDatePicker controls and a Numeric Textbox. I tried to get them from the RadWindow page load like so:
But that doesn't work.... What am I missing here?
GRID:
| <ClientSettings AllowDragToGroup="True" EnablePostBackOnRowClick="False" |
| EnableRowHoverStyle="True" ClientEvents-OnRowClick="RowClick"> |
| <ClientEvents OnRowClick="RowClick" /> |
| </ClientSettings> |
| function RowClick(sender, eventArgs) { |
| window.radopen("report_details.aspx?zipcode=" + eventArgs.getDataKeyValue("ZIPCode"), "UserListDialog"); |
| } |
But I also need to pass 3 other values from my page that are not part of the grid, two dates from RadDatePicker controls and a Numeric Textbox. I tried to get them from the RadWindow page load like so:
| Dim obj_startDate As RadDatePicker = Parent.FindControl("txt_start_date") |
| Dim obj_endDate As RadDatePicker = Parent.FindControl("txt_end_date") |
| Dim obj_Radius As RadNumericTextBox = Parent.FindControl("txt_Radius") |
| Dim startDate As Date = obj_startDate.SelectedDate |
| Dim endDate As Date = obj_endDate.SelectedDate |
| Dim Radius As Decimal = obj_Radius.Text |
But that doesn't work.... What am I missing here?