or
<rad:radgrid id="CheckListGrid" runat="server" AutoGenerateColumns="False" GroupingEnabled="False" style="position:absolute; top:73px; left:0px" width="900px" height="515px" EnableEmbeddedSkins="False" Skin="XLogixBlue" CellSpacing="0" GridLines="None"> <clientsettings> <scrolling AllowScroll="true" scrollheight="500px" usestaticheaders="true"/> <Selecting AllowRowSelect="true" /> </clientsettings> <mastertableview width="880px"> <columns> <rad:GridBoundColumn UniqueName="iCheckItemID" DataField="iCheckItemID" display="false" ></rad:GridBoundColumn> <rad:GridBoundColumn UniqueName="sDataType" DataField="sDataType" display="false"></rad:GridBoundColumn> <rad:GridBoundColumn UniqueName="CheckDescription" DataField="CheckDescription" HeaderText="Description" Visible="true"> <HeaderStyle width="280px"/> <ItemStyle width="280px" height="40px" Font-Size="Larger" font-bold="true"/> </rad:GridBoundColumn> <rad:GridBoundColumn UniqueName="CategoryDescription" DataField="CategoryDescription" HeaderText="Category"> <HeaderStyle width="70px"/> <ItemStyle width="70px" height="40px"/> </rad:GridBoundColumn> <rad:GridBoundColumn UniqueName="bMandatory" DataField="bMandatory" HeaderText="Mandatory"> <HeaderStyle width="55px"/> <ItemStyle width="55px" height="40px"/> </rad:GridBoundColumn> <rad:GridBoundColumn UniqueName="sRange" DataField="sRange" HeaderText="Range"> <HeaderStyle width="100px"/> <ItemStyle width="100px" height="40px" Font-Size="Larger" font-bold="true"/> </rad:GridBoundColumn> <rad:GridTemplateColumn UniqueName="ValueTemplate" HeaderText="Entry"> <HeaderStyle width="270px"/> <ItemStyle width="270px" height="40px"/> <ItemTemplate> <asp:panel id="UploadPanel" runat="server" style="display:none; text-align:left"> <asp:FileUpload id="CheckItemUpload" runat="server" width="270px" onkeydown="return false;"/> </asp:panel> <asp:panel id="ConfirmPanel" runat="server" style="display:none; text-align:center"> <input type="button" id="ConfirmYes" value="Yes" style="width:80px; height:35px; background-color:Silver" onclick="ToggleConfirmButton(this);"/> <input type="button" id="ConfirmNo" value="No" style="width:80px; height:35px; background-color:Silver" onclick="ToggleConfirmButton(this);"/> <input type="hidden" id="ConfirmResult" runat="server" value="" /> </asp:panel> <asp:panel id="TextBoxPanel" runat="server" style="display:none; text-align:left"> <asp:textbox id="CheckItemTextBox" runat="server" width="210px"></asp:textbox> <img id="WorksOrderKeyboard" alt="Show Keyboard" src="/XLogix/Images/Icon Buttons/Keyboard Btn.png" runat="server"/> </asp:panel> <asp:panel id="DropDownPanel" runat="server" style="display:none; text-align:left"> <asp:dropdownlist id="CheckItemDropDown" runat="server" dataTextField="sDescription" DatavalueField="iCheckItemOptionID" width="270px" font-size="Large"></asp:dropdownlist> </asp:panel> </ItemTemplate> </rad:GridTemplateColumn> </columns> </mastertableview></rad:radgrid>

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestPage.aspx.cs" Inherits="TestPage" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> <form id="form1" runat="server"> <div style="background-color: white" id="test-div"> <asp:ScriptManager ID="ScriptManagerMain" runat="server"> <Scripts> <asp:ScriptReference Path="~/Script/jquery-1.9.1.min.js" /> <asp:ScriptReference Path="~/Script/jquery-migrate.js" /> <asp:ScriptReference Path="~/Script/ValidationEngineLibrary/jquery.validationEngine.js" /> <asp:ScriptReference Path="~/Script/ValidationEngineLibrary/jquery.validationEngine-en.js" /> </Scripts> </asp:ScriptManager> <telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload1" ClientIDMode="Static" HideFileInput="true" OnClientFilesUploaded="fileUploaded" OnClientFileSelected="addFileTitle" MultipleFileSelection="Automatic" MaxFileInputsCount="10"></telerik:RadAsyncUpload> <asp:Button ID="btnSubmit" runat="server" Text="Submit" OnClientClick="return submitPage();" OnClick="btnSubmit_Click" /> <span id="uploading-msg"></span> <input type="button" runat="server" value="clearAll" onclick="clearAll()" /> <asp:Label runat="server" ID="updateInfo"></asp:Label> </div> <telerik:RadScriptBlock runat="server"> <script type="text/javascript"> var submitPressed = false; function clearAll() { $("#RadAsyncUpload1").find("input[name=RowRemove]").each(function () { $(this).click(); }); } function addFileTitle(radAsyncUpload, args) { var $row = $telerik.$(args.get_row()); var inputName = radAsyncUpload.getAdditionalFieldID("TextBox"); var inputType = "text"; var inputID = inputName; var input = createInput(inputType, inputID, inputName); var label = createLabel(inputID); $row.append("<br/>"); $row.append(label); //Add required validation $(input).addClass("validate[required,custom[movieTitle]]"); $row.append(input); } function createInput(inputType, inputID, inputName) { var input = '<input type="' + inputType + '" id="' + inputID + '" name="' + inputName + '" />'; return input; } function createLabel(forArrt) { var label = '<label for=' + forArrt + '>File info: </label>'; return label; } function submitPage() { $('#form1').validationEngine({ maxErrorsPerField: "1", binded: false, scroll: false }); var valid = $('#form1').validationEngine('validate'); //Check file uploads if (valid == false) return false; if (!isAllUploadCompleted()) { $("#<%=btnSubmit.ClientID%>").hide(); $("#uploading-msg").text("Uploading"); setInterval(function () { $("#uploading-msg").blink(); }, 1500); $("#test-div").blockElement(); submitPressed = true; return false; } return true; } function fileUploaded() { if(submitPressed && isAllUploadCompleted()) fireSubmit(); } function isAllUploadCompleted() { var $ = $telerik.$; //finds all file uploads that are currently in progress var uploadingRows = $(".RadAsyncUpload").find(".ruUploadProgress"); //iterates and checks is there any file uploads that are successfully completed or failed and if yes - pop-up an alert box and prevent page submitting for (var i = 0; i < uploadingRows.length; i++) { if (!$(uploadingRows[i]).hasClass("ruUploadCancelled") && !$(uploadingRows[i]).hasClass("ruUploadFailure") && !$(uploadingRows[i]).hasClass("ruUploadSuccess")) { return false; } } return true; } function fireSubmit() { document.getElementById("<%=btnSubmit.ClientID%>").removeAttribute("onclick"); document.getElementById("<%=btnSubmit.ClientID%>").click(); } </script> </telerik:RadScriptBlock> </form></body></html>1.<telerik:RadGrid ID="dgvSummary" runat="server" AllowPaging="true" AllowSorting="true" CellSpacing="0" PageSize="7" Skin="Hay" Width="100%" GridLines="None">2. <MasterTableView />3.</telerik:RadGrid>
01.Private Sub btnSearch_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSearch.Click02. Me.dgvSummary.DataSource = Me._PopulatedgvSummary()03. 04. If Me.dgvSummary.DataSource IsNot Nothing Then05. Me.dgvSummary.DataBind()06. Me.pnlSummary.Visible = True07. Else08. Me.pnlSummary.Visible = False09. End If10. End Sub01.Private Function _PopulatedgvSummary()02. Dim tblData As DataTable = Me._GenerateTableShema03. Dim intIndex As Integer = 104. Dim strEdit As String = String.Empty05. 06. For Each objView_EvalSummaryRow As DSHREval.HREvalRow In HREvalDALC.GetEvalSummary(Me.radDepartment.SelectedValue, Me.radPosition.SelectedValue, Me.txtStarYear.Text, Me.cboStarTerm.SelectedValue)07. 08. strEdit = "<a id=""popup"" href=""" & SharedCommon.GenerateLink(Request, SharedCommon.EditEvaSummary) & "?" & SharedCommon.ID & "=" & objView_EvalSummaryRow.ID.ToString & """>" & "Edit" & "</a>"09. tblData.Rows.Add(New Object() {intIndex, objView_EvalSummaryRow.EmpID, objView_EvalSummaryRow.EmpName, objView_EvalSummaryRow.PropertyCode, _10. objView_EvalSummaryRow.Department, objView_EvalSummaryRow.PresentPosition, _11. objView_EvalSummaryRow.Average, objView_EvalSummaryRow.FinalAverage, strEdit})12. 13. intIndex += 114. Next15. 16. If tblData.Rows.Count = 0 Then17. tblData = Nothing18. End If19. 20. Return tblData21. End Function01.Private Function _GenerateTableShema() As DataTable02. Dim tblData As New DataTable03. 04. With tblData.Columns05. .Add("Num.")06. .Add("Staff ID")07. .Add("Name")08. .Add("Property")09. .Add("Department")10. .Add("Position")11. .Add("Average Mark")12. .Add("Final Mark")13. .Add(" ")14. End With15. 16. Return tblData17. End Function