or
Protected Sub ddlapptType_OnSelectedIndexChanged(sender As Object, e As System.EventArgs) Dim ddl As DropDownList = sender Dim tbl As Table = RadScheduler1.FindControl("tblGropuInsert") If ddl.SelectedValue = 1 Then End IfEnd Sub
For Each masterViewItem As GridDataItem In RadGrid-1.MasterTableView.Items
thisGrid = DirectCast(masterViewItem.ChildItem.NestedViewCell.FindControl("RadGrid-2"), RadGridThe problem that I am having is now when I traverse RadGrid1 to access all my RagGrid-2's they can not be be found. I am making a call like:
this.imgCreateStoreList.Attributes.Add("onclick", "openWinEvents('Events.aspx?Designator=" + desParameter + "&ctProcessId=" + ctProcessId + "&rnd=" + System.Guid.NewGuid() + "'); return false;");
function openWinEvents(parameter) { var wnd = $find('<%=RadWindow1.ClientID %>'); if (wnd != null) { wnd.setUrl("/Builder/" + parameter + ""); wnd.setSize(800, 600); wnd.set_modal(true); wnd.set_iconUrl("/img/radwindowicon.gif"); wnd.Show(); } }RadWindow CommPromptWindow = (RadWindow)Page.Master.FindControl("EventsPromptWindow"); CommPromptWindow.VisibleOnPageLoad = true;