Hi Telerik
I will like to hear if you can be informative about how to build a timesheet similar to your TeamPlus Timesheet. Which controls have you used(gridview, listview etc.), and which framework have you used(ASP.NET AJAX, ASP.MVC etc.). Sample code will be appreciated.
Best regards
Claus


var result = $find("<%= HiddenField2.ClientID %>");I'd like to click the item in grid's context menu and open new popup modal window. In that window there's drop down list. I pick up some option from drop down list and click OK. I'd like to get the value selected from drop down list and use it in my ASP.NET code to proceed further.
I've tried to use hidden field to store the value from drop down list but it doesn't work because I'm not sure where hidden field should be placed.
This is my code:
Open popup window:
functionClientItemClicked(sender, eventArgs){if(eventArgs.get_item().get_value() =="excel"){varretVal = window.showModalDialog("ExportToExcelChoice.aspx",null,"dialogWidth: 400; dialogHeight: 200; center: yes; resizable: no;");}}
Click "OK" to close popup window:
functionReturnValue() {varchoice = document.getElementById("DropDownList1").value;if((window.opener !=null) && (!window.opener.closed)) {window.opener.document.getElementById("HiddenField1").value = choice;}window.close();}
It fails on this line:
window.opener.document.getElementById("HiddenField1").value = choice;Could someone help me to make it work as soon as possible?
Thank you in advance.
function RowDblClick(sender, eventArgs) { editedRow = eventArgs.get_itemIndexHierarchical(); $find("<%= RadGrid1.ClientID %>").get_masterTableView().editItem(editedRow); }