<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="BCKD9.ascx.cs" Inherits="BCKD_Web.Control.BCKD9" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> <script type="text/javascript"> var maNV = null; function rowSelected(sender, args) { var MasterTableView = sender.get_masterTableView(); var row = MasterTableView.get_selectedItems()[0]; maNV = MasterTableView.getCellByColumnUniqueName(row, "MA_DV"); var strMA_CTO = maNV.innerHTML; alert(strMA_CTO); } </script></telerik:RadCodeBlock><div style="width: 100%; height: 100%"> <table style="width: 100%; height: 100%"> <tr style="width: 100%; height: 100%"> <td style="width:100%; height: 100%"> <telerik:RadGrid ID="rgdBieu8" runat="server" GridLines="None" AutoGenerateColumns="False" ShowFooter="true" AllowMultiRowSelection="True" Skin="Windows7" onitemevent="rgdBieu8_ItemEvent"> <MasterTableView ClientDataKeyNames="MA_DV" Width="100%"> <Columns> <telerik:GridBoundColumn HeaderText="Mã đơn vị" DataField="MA_DV" UniqueName="MA_DV" HeaderStyle-Width="10%"> <HeaderStyle Width="10%" HorizontalAlign="Center" Font-Bold="True"></HeaderStyle> <ItemStyle HorizontalAlign="Center" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn HeaderText="Tên đơn vị" DataField="TEN_DV" UniqueName="TEN_DV" FooterText="Tổng" HeaderStyle-Width="20%"> <HeaderStyle Width="20%" HorizontalAlign="Center" Font-Bold="True"></HeaderStyle> <ItemStyle HorizontalAlign="Left" Font-Underline="true"/> <FooterStyle HorizontalAlign="Left" Font-Bold="true"/> </telerik:GridBoundColumn> </Columns> </MasterTableView> <ClientSettings AllowColumnsReorder="false" ReorderColumnsOnClient="true" EnableRowHoverStyle="true"> <Selecting AllowRowSelect="true" /> <Scrolling AllowScroll="true" UseStaticHeaders="true" /> <ClientEvents OnRowSelected="rowSelected" /> </ClientSettings> </telerik:RadGrid> </td> </tr> </table></div><telerik:RadDateInput ID="Datanascita" Runat="server" DateFormat="dd/MM/yyyy"DisplayDateFormat="dd/MM/yyyy" EmptyMessage="Data nascita (es. 01/01/2000)" Skin="" Width="200"Font-Italic="True" Font-Names="Verdana" Height="22px"><EmptyMessageStyle ForeColor="Gray" Font-Italic="True" Font-Names="Verdana" /><HoveredStyle Font-Italic="True" Font-Names="Verdana" ForeColor="#993300" /></telerik:RadDateInput>

Server Error in '/' Application.
--------------------------------------------------------------------------------
Value cannot be null.
Parameter name: source
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: source
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentNullException: Value cannot be null.
Parameter name: source]
System.Linq.Enumerable.Where(IEnumerable`1 source, Func`2 predicate) +2719903
Telerik.Web.UI.RadTreeList.CalculateAggregates(TreeListColumnsCollection Columns) +128
Telerik.Web.UI.RadTreeList.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +1910
System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +66
Telerik.Web.UI.RadTreeList.PerformDataBinding(IEnumerable data) +2683
System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +128
System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +33
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +143
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +74
Telerik.Web.UI.RadTreeList.DataBind() +17
System.Web.UI.Control.DataBindChildren() +201
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +101
System.Web.UI.Control.DataBind() +15
System.Web.UI.Control.DataBindChildren() +201
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +101
System.Web.UI.Control.DataBind() +15
System.Web.UI.Control.DataBindChildren() +201
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +101
System.Web.UI.Control.DataBind() +15
CorpFGBillingThree.afg_invoice_views_list_Telerik.Page_Load(Object sender, EventArgs e) +1756
System.Web.UI.Control.OnLoad(EventArgs e) +91
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
---------------------------------
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
|
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
|
|
Server Error in '/' Application.
Collection was modified; enumeration operation may not execute.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
Source Error:
|
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
|
|