initial commit

This commit is contained in:
Siwat Sirichai 2025-06-08 16:22:20 +07:00
commit 252dac3143
1516 changed files with 694271 additions and 0 deletions

22
Menu Panels/Menu.ascx Normal file
View file

@ -0,0 +1,22 @@
<%@ Control Language="vb" AutoEventWireup="false" CodeFile="Menu.ascx.vb" Inherits="Persons.UI.Menu" %>
<%@ Register Tagprefix="Persons" TagName="Menu_Item" Src="../Shared/Menu_Item.ascx" %>
<%@ Register Tagprefix="Selectors" Namespace="Persons" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Tagprefix="Persons" TagName="Menu_Item_Highlighted" Src="../Shared/Menu_Item_Highlighted.ascx" %>
<%@ Register Tagprefix="BaseClasses" Namespace="BaseClasses.Web.UI.WebControls" Assembly="BaseClasses" %><table cellpadding="0" cellspacing="0" border="0"><tr><td class="menus"><table cellpadding="0" cellspacing="0" border="0"><tr><td><img src="../Images/menuEdgeL.gif" alt="" /></td><td>
<Persons:Menu_Item runat="server" id="_ประว_ต_ส_วนบ_คคลMenuItem" button-causesvalidation="False" button-commandname="Redirect" button-text="ประวัติส่วนบุคคล"></Persons:Menu_Item>
<Persons:Menu_Item_Highlighted runat="server" id="_ประว_ต_ส_วนบ_คคลMenuItemHilited" button-causesvalidation="False" button-commandname="Redirect" button-text="ประวัติส่วนบุคคล" visible="False"></Persons:Menu_Item_Highlighted>
</td><td>
<Persons:Menu_Item runat="server" id="_PersonalIdMenuItem" button-causesvalidation="False" button-commandname="Redirect" button-text="ประวัติบุคคลากร"></Persons:Menu_Item>
<Persons:Menu_Item_Highlighted runat="server" id="_PersonalIdMenuItemHilited" button-causesvalidation="False" button-commandname="Redirect" button-text="ประวัติบุคคลากร" visible="False"></Persons:Menu_Item_Highlighted>
</td><td>
<Persons:Menu_Item runat="server" id="_การศ_กษาส_งส_ดMenuItem" button-causesvalidation="False" button-commandname="Redirect" button-text="การศึกษาสูงสุด"></Persons:Menu_Item>
<Persons:Menu_Item_Highlighted runat="server" id="_การศ_กษาส_งส_ดMenuItemHilited" button-causesvalidation="False" button-commandname="Redirect" button-text="การศึกษาสูงสุด" visible="False"></Persons:Menu_Item_Highlighted>
</td><td>
<Persons:Menu_Item runat="server" id="_PersonalEducationMenuItem" button-causesvalidation="False" button-commandname="Redirect" button-text="ประวัติการศึกษา"></Persons:Menu_Item>
<Persons:Menu_Item_Highlighted runat="server" id="_PersonalEducationMenuItemHilited" button-causesvalidation="False" button-commandname="Redirect" button-text="ประวัติการศึกษา" visible="False"></Persons:Menu_Item_Highlighted>
</td><td><img src="../Images/menuEdgeR.gif" alt="" /></td></tr></table>
</td></tr><tr><td class="mbbg"><img src="../Images/space.gif" height="1" width="1" alt="" /></td></tr></table>

896
Menu Panels/Menu.ascx.vb Normal file
View file

@ -0,0 +1,896 @@

#Region "Imports statements"
Option Strict On
Imports System
Imports System.Web.UI.WebControls
Imports System.ComponentModel
Imports BaseClasses
Imports BaseClasses.Data
Imports BaseClasses.Utils
Imports BaseClasses.Web.UI.WebControls
Imports Persons.Business
Imports Persons.Data
#End Region
Namespace Persons.UI
' Code-behind class for the Menu user control.
Partial Public Class Menu
Inherits BaseApplicationMenuControl
Implements IMenu
#Region "Section 1: Place your customizations here."
Public Sub LoadData()
' LoadData reads database data and assigns it to UI controls.
' Customize by adding code before or after the call to LoadData_Base()
' or replace the call to LoadData_Base().
LoadData_Base()
End Sub
Private Function EvaluateFormula(ByVal formula As String, ByVal dataSourceForEvaluate as BaseClasses.Data.BaseRecord, ByVal format As String, ByVal variables As System.Collections.Generic.IDictionary(Of String, Object), ByVal includeDS as Boolean) As String
Return EvaluateFormula_Base(formula, dataSourceForEvaluate, format, variables, includeDS)
End Function
Public Sub Page_InitializeEventHandlers(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Init
' Handles MyBase.Init.
' Register the Event handler for any Events.
Me.Page_InitializeEventHandlers_Base(sender,e)
End Sub
Protected Overrides Sub SaveControlsToSession()
SaveControlsToSession_Base()
End Sub
Protected Overrides Sub ClearControlsFromSession()
ClearControlsFromSession_Base()
End Sub
Protected Overrides Sub LoadViewState(ByVal savedState As Object)
LoadViewState_Base(savedState)
End Sub
Protected Overrides Function SaveViewState() As Object
Return SaveViewState_Base()
End Function
Public Sub Page_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRender
Me.Page_PreRender_Base(sender,e)
End Sub
Public Overrides Sub SetChartControl(ByVal chartCtrlName As String)
Me.SetChartControl_Base(chartCtrlName)
End Sub
#Region "Ajax Functions"
<Services.WebMethod()> _
Public Shared Function GetRecordFieldValue(ByVal tableName As String, _
ByVal recordID As String, _
ByVal columnName As String, _
ByVal fieldName As String, _
ByVal title As String, _
ByVal persist As Boolean, _
ByVal popupWindowHeight As Integer, _
ByVal popupWindowWidth As Integer, _
ByVal popupWindowScrollBar As Boolean _
) As Object()
' GetRecordFieldValue gets the pop up window content from the column specified by
' columnName in the record specified by the recordID in data base table specified by tableName.
' Customize by adding code before or after the call to GetRecordFieldValue_Base()
' or replace the call to GetRecordFieldValue_Base().
Return GetRecordFieldValue_Base(tableName, recordID, columnName, fieldName, title, persist, popupWindowHeight, popupWindowWidth, popupWindowScrollBar)
End Function
<Services.WebMethod()> _
Public Shared Function GetImage(ByVal tableName As String, _
ByVal recordID As String, _
ByVal columnName As String, _
ByVal title As String, _
ByVal persist As Boolean, _
ByVal popupWindowHeight As Integer, _
ByVal popupWindowWidth As Integer, _
ByVal popupWindowScrollBar As Boolean _
) As Object()
' GetImage gets the Image url for the image in the column "columnName" and
' in the record specified by recordID in data base table specified by tableName.
' Customize by adding code before or after the call to GetImage_Base()
' or replace the call to GetImage_Base().
Return GetImage_Base(tableName, recordID, columnName, title, persist, popupWindowHeight, popupWindowWidth, popupWindowScrollBar)
End Function
Protected Overloads Overrides Sub BasePage_PreRender(ByVal sender As Object, ByVal e As EventArgs)
MyBase.BasePage_PreRender(sender, e)
Base_RegisterPostback()
End Sub
#End Region
' Page Event Handlers - buttons, sort, links
Public Sub PersonalEducationMenuItem_Click(ByVal sender As Object, ByVal args As EventArgs)
' Click handler for PersonalEducationMenuItem.
' Customize by adding code before the call or replace the call to the Base function with your own code.
PersonalEducationMenuItem_Click_Base(sender, args)
' NOTE: If the Base function redirects to another page, any code here will not be executed.
End Sub
Public Sub PersonalEducationMenuItemHilited_Click(ByVal sender As Object, ByVal args As EventArgs)
' Click handler for PersonalEducationMenuItemHilited.
' Customize by adding code before the call or replace the call to the Base function with your own code.
PersonalEducationMenuItemHilited_Click_Base(sender, args)
' NOTE: If the Base function redirects to another page, any code here will not be executed.
End Sub
Public Sub PersonalIdMenuItem_Click(ByVal sender As Object, ByVal args As EventArgs)
' Click handler for PersonalIdMenuItem.
' Customize by adding code before the call or replace the call to the Base function with your own code.
PersonalIdMenuItem_Click_Base(sender, args)
' NOTE: If the Base function redirects to another page, any code here will not be executed.
End Sub
Public Sub PersonalIdMenuItemHilited_Click(ByVal sender As Object, ByVal args As EventArgs)
' Click handler for PersonalIdMenuItemHilited.
' Customize by adding code before the call or replace the call to the Base function with your own code.
PersonalIdMenuItemHilited_Click_Base(sender, args)
' NOTE: If the Base function redirects to another page, any code here will not be executed.
End Sub
Public Sub การศ_กษาส_งส_ดMenuItem_Click(ByVal sender As Object, ByVal args As EventArgs)
' Click handler for การศ_กษาส_งส_ดMenuItem.
' Customize by adding code before the call or replace the call to the Base function with your own code.
การศ_กษาส_งส_ดMenuItem_Click_Base(sender, args)
' NOTE: If the Base function redirects to another page, any code here will not be executed.
End Sub
Public Sub การศ_กษาส_งส_ดMenuItemHilited_Click(ByVal sender As Object, ByVal args As EventArgs)
' Click handler for การศ_กษาส_งส_ดMenuItemHilited.
' Customize by adding code before the call or replace the call to the Base function with your own code.
การศ_กษาส_งส_ดMenuItemHilited_Click_Base(sender, args)
' NOTE: If the Base function redirects to another page, any code here will not be executed.
End Sub
Public Sub ประว_ต_ส_วนบ_คคลMenuItem_Click(ByVal sender As Object, ByVal args As EventArgs)
' Click handler for ประว_ต_ส_วนบ_คคลMenuItem.
' Customize by adding code before the call or replace the call to the Base function with your own code.
ประว_ต_ส_วนบ_คคลMenuItem_Click_Base(sender, args)
' NOTE: If the Base function redirects to another page, any code here will not be executed.
End Sub
Public Sub ประว_ต_ส_วนบ_คคลMenuItemHilited_Click(ByVal sender As Object, ByVal args As EventArgs)
' Click handler for ประว_ต_ส_วนบ_คคลMenuItemHilited.
' Customize by adding code before the call or replace the call to the Base function with your own code.
ประว_ต_ส_วนบ_คคลMenuItemHilited_Click_Base(sender, args)
' NOTE: If the Base function redirects to another page, any code here will not be executed.
End Sub
' Write out the Set methods
' Write out the methods for DataSource
#End Region
#Region "Section 2: Do not modify this section."
Protected Sub Page_InitializeEventHandlers_Base(ByVal sender As Object, ByVal e As System.EventArgs)
' the following code for accordion is necessary or the Me.{ControlName} will return Nothing
' Register the Event handler for any Events.
' Setup the pagination events.
AddHandler Me.PersonalEducationMenuItem.Button.Click, AddressOf PersonalEducationMenuItem_Click
AddHandler Me.PersonalEducationMenuItemHilited.Button.Click, AddressOf PersonalEducationMenuItemHilited_Click
AddHandler Me.PersonalIdMenuItem.Button.Click, AddressOf PersonalIdMenuItem_Click
AddHandler Me.PersonalIdMenuItemHilited.Button.Click, AddressOf PersonalIdMenuItemHilited_Click
AddHandler Me.การศ_กษาส_งส_ดMenuItem.Button.Click, AddressOf การศ_กษาส_งส_ดMenuItem_Click
AddHandler Me.การศ_กษาส_งส_ดMenuItemHilited.Button.Click, AddressOf การศ_กษาส_งส_ดMenuItemHilited_Click
AddHandler Me.ประว_ต_ส_วนบ_คคลMenuItem.Button.Click, AddressOf ประว_ต_ส_วนบ_คคลMenuItem_Click
AddHandler Me.ประว_ต_ส_วนบ_คคลMenuItemHilited.Button.Click, AddressOf ประว_ต_ส_วนบ_คคลMenuItemHilited_Click
Me.ClearControlsFromSession()
End Sub
Private Sub Base_RegisterPostback()
End Sub
' Handles MyBase.Load. Read database data and put into the UI controls.
' If you need to, you can add additional Load handlers in Section 1.
Protected Overridable Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If (Not Me.IsPostBack) Then
End If
' Load data only when displaying the page for the first time or if postback from child window
If (Not Me.IsPostBack OrElse Me.Request("__EVENTTARGET") = "ChildWindowPostBack") Then
' Read the data for all controls on the page.
' To change the behavior, override the DataBind method for the individual
' record or table UI controls.
Me.LoadData()
End If
End Sub
Public Shared Function GetRecordFieldValue_Base(ByVal tableName As String, _
ByVal recordID As String, _
ByVal columnName As String, _
ByVal fieldName As String, _
ByVal title As String, _
ByVal persist As Boolean, _
ByVal popupWindowHeight As Integer, _
ByVal popupWindowWidth As Integer, _
ByVal popupWindowScrollBar As Boolean _
) As Object()
If Not IsNothing(recordID) Then
recordID = System.Web.HttpUtility.UrlDecode(recordID)
End If
Dim content as String = BaseClasses.Utils.MiscUtils.GetFieldData(tableName, recordID, columnName)
content = NetUtils.EncodeStringForHtmlDisplay(content)
'returnValue is an array of string values.
'returnValue(0) represents title of the pop up window
'returnValue(1) represents content of the pop up window
' retrunValue(2) represents whether pop up window should be made persistant
' or it should closes as soon as mouse moved out.
' returnValue(5) represents whether pop up window should contain scroll bar.
' returnValue(3), (4) represents pop up window height and width respectivly
' (0),(2),(3),(4) and (5) is initially set as pass through attribute.
' They can be modified by going to Attribute tab of the properties window of the control in aspx page.
Dim returnValue(6) As Object
returnValue(0) = title
returnValue(1) = content
returnValue(2) = persist
returnValue(3) = popupWindowWidth
returnValue(4) = popupWindowHeight
returnValue(5) = popupWindowScrollBar
Return returnValue
End Function
Public Shared Function GetImage_Base(ByVal tableName As String, _
ByVal recordID As String, _
ByVal columnName As String, _
ByVal title As String, _
ByVal persist As Boolean, _
ByVal popupWindowHeight As Integer, _
ByVal popupWindowWidth As Integer, _
ByVal popupWindowScrollBar As Boolean _
) As Object()
Dim content As String = "<IMG alt =""" & title & """ src =" & """../Shared/ExportFieldValue.aspx?Table=" & tableName & "&Field=" & columnName & "&Record=" & recordID & """/>"
'returnValue is an array of string values.
'returnValue(0) represents title of the pop up window.
'returnValue(1) represents content ie, image url.
' retrunValue(2) represents whether pop up window should be made persistant
' or it should closes as soon as mouse moved out.
' returnValue(3), (4) represents pop up window height and width respectivly
' returnValue(5) represents whether pop up window should contain scroll bar.
' (0),(2),(3),(4) and (5) is initially set as pass through attribute.
' They can be modified by going to Attribute tab of the properties window of the control in aspx page.
Dim returnValue(6) As Object
returnValue(0) = title
returnValue(1) = content
returnValue(2) = persist
returnValue(3) = popupWindowWidth
returnValue(4) = popupWindowHeight
returnValue(5) = popupWindowScrollBar
Return returnValue
End Function
Public Sub SetChartControl_Base(ByVal chartCtrlName As String)
' Load data for each record and table UI control.
End Sub
Protected Sub SaveControlsToSession_Base()
MyBase.SaveControlsToSession()
End Sub
Protected Sub ClearControlsFromSession_Base()
MyBase.ClearControlsFromSession()
End Sub
Protected Sub LoadViewState_Base(ByVal savedState As Object)
MyBase.LoadViewState(savedState)
End Sub
Protected Function SaveViewState_Base() As Object
Return MyBase.SaveViewState()
End Function
Public Sub Page_PreRender_Base(ByVal sender As Object, ByVal e As System.EventArgs)
' Load data for each record and table UI control.
' Data bind for each chart UI control.
End Sub
' Load data from database into UI controls.
' Modify LoadData in Section 1 above to customize. Or override DataBind() in
' the individual table and record controls to customize.
Public Sub LoadData_Base()
Try
If (Not Me.IsPostBack OrElse Me.Request("__EVENTTARGET") = "ChildWindowPostBack") Then
' Must start a transaction before performing database operations
DbUtils.StartTransaction()
End If
Me.DataBind()
' Load and bind data for each record and table UI control.
' Load data for chart.
' initialize aspx controls
Catch ex As Exception
' An error has occured so display an error message.
Utils.RegisterJScriptAlert(Me, "Page_Load_Error_Message", ex.Message)
Finally
If (Not Me.IsPostBack OrElse Me.Request("__EVENTTARGET") = "ChildWindowPostBack") Then
' End database transaction
DbUtils.EndTransaction()
End If
End Try
End Sub
Public EvaluateFormulaDelegate As BaseClasses.Data.DataSource.EvaluateFormulaDelegate = New BaseClasses.Data.DataSource.EvaluateFormulaDelegate(AddressOf Me.EvaluateFormula)
Public Overridable Function EvaluateFormula_Base(ByVal formula As String, ByVal dataSourceForEvaluate As BaseClasses.Data.BaseRecord, ByVal format As String, ByVal variables As System.Collections.Generic.IDictionary(Of String, Object), ByVal includeDS As Boolean) As String
Dim e As FormulaEvaluator = New FormulaEvaluator()
' add variables for formula evaluation
If variables IsNot Nothing Then
Dim enumerator As System.Collections.Generic.IEnumerator(Of System.Collections.Generic.KeyValuePair(Of String, Object)) = variables.GetEnumerator()
While enumerator.MoveNext()
e.Variables.Add(enumerator.Current.Key, enumerator.Current.Value)
End While
End If
If includeDS
End If
e.CallingControl = Me
e.DataSource = dataSourceForEvaluate
Dim resultObj As Object = e.Evaluate(formula)
If resultObj Is Nothing Then
Return ""
End If
If Not String.IsNullOrEmpty(format) AndAlso (String.IsNullOrEmpty(formula) OrElse formula.IndexOf("Format(") < 0) Then
Return FormulaUtils.Format(resultObj, format)
Else
Return resultObj.ToString()
End If
End Function
Public Function EvaluateFormula(ByVal formula As String, ByVal dataSourceForEvaluate As BaseClasses.Data.BaseRecord, ByVal format As String, ByVal variables As System.Collections.Generic.IDictionary(Of String, Object)) As String
Return EvaluateFormula(formula, dataSourceForEvaluate, format, variables, True)
End Function
Private Function EvaluateFormula(ByVal formula As String, ByVal dataSourceForEvaluate As BaseClasses.Data.BaseRecord) As String
Return EvaluateFormula(formula, dataSourceForEvaluate, Nothing, Nothing, True)
End Function
Public Function EvaluateFormula(ByVal formula As String, ByVal includeDS As Boolean) As String
Return EvaluateFormula(formula, Nothing, Nothing, Nothing, includeDS)
End Function
Public Function EvaluateFormula(ByVal formula As String) As String
Return EvaluateFormula(formula, Nothing, Nothing, Nothing, True)
End Function
' Write out the Set methods
' Write out the DataSource properties and methods
' Write out event methods for the page events
' event handler for Button with Layout
Public Sub PersonalEducationMenuItem_Click_Base(ByVal sender As Object, ByVal args As EventArgs)
' The redirect URL is set on the Properties, Custom Properties or Actions.
' The ModifyRedirectURL call resolves the parameters before the
' Response.Redirect redirects the page to the URL.
' Any code after the Response.Redirect call will not be executed, since the page is
' redirected to the URL.
Dim url As String = "../PersonalEducation/ShowPersonalEducationTable1.aspx"
Dim shouldRedirect As Boolean = True
Dim TargetKey As String = Nothing
Dim DFKA As String = TargetKey
Dim id As String = DFKA
Dim value As String = id
Try
' Enclose all database retrieval/update code within a Transaction boundary
DbUtils.StartTransaction
url = Ctype(Me.Page, BaseApplicationPage).ModifyRedirectUrl(url, "",False)
Catch ex As Exception
' Upon error, rollback the transaction
Ctype(Me.Page, BaseApplicationPage).RollBackTransaction(sender)
shouldRedirect = False
Ctype(Me.Page, BaseApplicationPage).ErrorOnPage = True
' Report the error message to the end user
Utils.MiscUtils.RegisterJScriptAlert(Me, "BUTTON_CLICK_MESSAGE", ex.Message)
Finally
DbUtils.EndTransaction
End Try
If shouldRedirect Then
Ctype(Me.Page, BaseApplicationPage).Response.Redirect(url)
End If
End Sub
' event handler for Button with Layout
Public Sub PersonalEducationMenuItemHilited_Click_Base(ByVal sender As Object, ByVal args As EventArgs)
' The redirect URL is set on the Properties, Custom Properties or Actions.
' The ModifyRedirectURL call resolves the parameters before the
' Response.Redirect redirects the page to the URL.
' Any code after the Response.Redirect call will not be executed, since the page is
' redirected to the URL.
Dim url As String = "../PersonalEducation/ShowPersonalEducationTable1.aspx"
Dim shouldRedirect As Boolean = True
Dim TargetKey As String = Nothing
Dim DFKA As String = TargetKey
Dim id As String = DFKA
Dim value As String = id
Try
' Enclose all database retrieval/update code within a Transaction boundary
DbUtils.StartTransaction
url = Ctype(Me.Page, BaseApplicationPage).ModifyRedirectUrl(url, "",False)
Catch ex As Exception
' Upon error, rollback the transaction
Ctype(Me.Page, BaseApplicationPage).RollBackTransaction(sender)
shouldRedirect = False
Ctype(Me.Page, BaseApplicationPage).ErrorOnPage = True
' Report the error message to the end user
Utils.MiscUtils.RegisterJScriptAlert(Me, "BUTTON_CLICK_MESSAGE", ex.Message)
Finally
DbUtils.EndTransaction
End Try
If shouldRedirect Then
Ctype(Me.Page, BaseApplicationPage).Response.Redirect(url)
End If
End Sub
' event handler for Button with Layout
Public Sub PersonalIdMenuItem_Click_Base(ByVal sender As Object, ByVal args As EventArgs)
' The redirect URL is set on the Properties, Custom Properties or Actions.
' The ModifyRedirectURL call resolves the parameters before the
' Response.Redirect redirects the page to the URL.
' Any code after the Response.Redirect call will not be executed, since the page is
' redirected to the URL.
Dim url As String = "../PersonalId/ShowViewPersons.aspx"
Dim shouldRedirect As Boolean = True
Dim TargetKey As String = Nothing
Dim DFKA As String = TargetKey
Dim id As String = DFKA
Dim value As String = id
Try
' Enclose all database retrieval/update code within a Transaction boundary
DbUtils.StartTransaction
url = Ctype(Me.Page, BaseApplicationPage).ModifyRedirectUrl(url, "",False)
Catch ex As Exception
' Upon error, rollback the transaction
Ctype(Me.Page, BaseApplicationPage).RollBackTransaction(sender)
shouldRedirect = False
Ctype(Me.Page, BaseApplicationPage).ErrorOnPage = True
' Report the error message to the end user
Utils.MiscUtils.RegisterJScriptAlert(Me, "BUTTON_CLICK_MESSAGE", ex.Message)
Finally
DbUtils.EndTransaction
End Try
If shouldRedirect Then
Ctype(Me.Page, BaseApplicationPage).Response.Redirect(url)
End If
End Sub
' event handler for Button with Layout
Public Sub PersonalIdMenuItemHilited_Click_Base(ByVal sender As Object, ByVal args As EventArgs)
' The redirect URL is set on the Properties, Custom Properties or Actions.
' The ModifyRedirectURL call resolves the parameters before the
' Response.Redirect redirects the page to the URL.
' Any code after the Response.Redirect call will not be executed, since the page is
' redirected to the URL.
Dim url As String = "../PersonalId/ShowViewPersons.aspx"
Dim shouldRedirect As Boolean = True
Dim TargetKey As String = Nothing
Dim DFKA As String = TargetKey
Dim id As String = DFKA
Dim value As String = id
Try
' Enclose all database retrieval/update code within a Transaction boundary
DbUtils.StartTransaction
url = Ctype(Me.Page, BaseApplicationPage).ModifyRedirectUrl(url, "",False)
Catch ex As Exception
' Upon error, rollback the transaction
Ctype(Me.Page, BaseApplicationPage).RollBackTransaction(sender)
shouldRedirect = False
Ctype(Me.Page, BaseApplicationPage).ErrorOnPage = True
' Report the error message to the end user
Utils.MiscUtils.RegisterJScriptAlert(Me, "BUTTON_CLICK_MESSAGE", ex.Message)
Finally
DbUtils.EndTransaction
End Try
If shouldRedirect Then
Ctype(Me.Page, BaseApplicationPage).Response.Redirect(url)
End If
End Sub
' event handler for Button with Layout
Public Sub การศ_กษาส_งส_ดMenuItem_Click_Base(ByVal sender As Object, ByVal args As EventArgs)
' The redirect URL is set on the Properties, Custom Properties or Actions.
' The ModifyRedirectURL call resolves the parameters before the
' Response.Redirect redirects the page to the URL.
' Any code after the Response.Redirect call will not be executed, since the page is
' redirected to the URL.
Dim url As String = "../PersonalEducation/ShowViewMaxPersonalEducation.aspx"
Dim shouldRedirect As Boolean = True
Dim TargetKey As String = Nothing
Dim DFKA As String = TargetKey
Dim id As String = DFKA
Dim value As String = id
Try
' Enclose all database retrieval/update code within a Transaction boundary
DbUtils.StartTransaction
url = Ctype(Me.Page, BaseApplicationPage).ModifyRedirectUrl(url, "",False)
Catch ex As Exception
' Upon error, rollback the transaction
Ctype(Me.Page, BaseApplicationPage).RollBackTransaction(sender)
shouldRedirect = False
Ctype(Me.Page, BaseApplicationPage).ErrorOnPage = True
' Report the error message to the end user
Utils.MiscUtils.RegisterJScriptAlert(Me, "BUTTON_CLICK_MESSAGE", ex.Message)
Finally
DbUtils.EndTransaction
End Try
If shouldRedirect Then
Ctype(Me.Page, BaseApplicationPage).Response.Redirect(url)
End If
End Sub
' event handler for Button with Layout
Public Sub การศ_กษาส_งส_ดMenuItemHilited_Click_Base(ByVal sender As Object, ByVal args As EventArgs)
' The redirect URL is set on the Properties, Custom Properties or Actions.
' The ModifyRedirectURL call resolves the parameters before the
' Response.Redirect redirects the page to the URL.
' Any code after the Response.Redirect call will not be executed, since the page is
' redirected to the URL.
Dim url As String = "../PersonalEducation/ShowViewMaxPersonalEducation.aspx"
Dim shouldRedirect As Boolean = True
Dim TargetKey As String = Nothing
Dim DFKA As String = TargetKey
Dim id As String = DFKA
Dim value As String = id
Try
' Enclose all database retrieval/update code within a Transaction boundary
DbUtils.StartTransaction
url = Ctype(Me.Page, BaseApplicationPage).ModifyRedirectUrl(url, "",False)
Catch ex As Exception
' Upon error, rollback the transaction
Ctype(Me.Page, BaseApplicationPage).RollBackTransaction(sender)
shouldRedirect = False
Ctype(Me.Page, BaseApplicationPage).ErrorOnPage = True
' Report the error message to the end user
Utils.MiscUtils.RegisterJScriptAlert(Me, "BUTTON_CLICK_MESSAGE", ex.Message)
Finally
DbUtils.EndTransaction
End Try
If shouldRedirect Then
Ctype(Me.Page, BaseApplicationPage).Response.Redirect(url)
End If
End Sub
' event handler for Button with Layout
Public Sub ประว_ต_ส_วนบ_คคลMenuItem_Click_Base(ByVal sender As Object, ByVal args As EventArgs)
' The redirect URL is set on the Properties, Custom Properties or Actions.
' The ModifyRedirectURL call resolves the parameters before the
' Response.Redirect redirects the page to the URL.
' Any code after the Response.Redirect call will not be executed, since the page is
' redirected to the URL.
Dim url As String = "../PersonalId/EditPersonalId1.aspx"
Dim shouldRedirect As Boolean = True
Dim TargetKey As String = Nothing
Dim DFKA As String = TargetKey
Dim id As String = DFKA
Dim value As String = id
Try
' Enclose all database retrieval/update code within a Transaction boundary
DbUtils.StartTransaction
url = Ctype(Me.Page, BaseApplicationPage).ModifyRedirectUrl(url, "",False)
Catch ex As Exception
' Upon error, rollback the transaction
Ctype(Me.Page, BaseApplicationPage).RollBackTransaction(sender)
shouldRedirect = False
Ctype(Me.Page, BaseApplicationPage).ErrorOnPage = True
' Report the error message to the end user
Utils.MiscUtils.RegisterJScriptAlert(Me, "BUTTON_CLICK_MESSAGE", ex.Message)
Finally
DbUtils.EndTransaction
End Try
If shouldRedirect Then
Ctype(Me.Page, BaseApplicationPage).Response.Redirect(url)
End If
End Sub
' event handler for Button with Layout
Public Sub ประว_ต_ส_วนบ_คคลMenuItemHilited_Click_Base(ByVal sender As Object, ByVal args As EventArgs)
' The redirect URL is set on the Properties, Custom Properties or Actions.
' The ModifyRedirectURL call resolves the parameters before the
' Response.Redirect redirects the page to the URL.
' Any code after the Response.Redirect call will not be executed, since the page is
' redirected to the URL.
Dim url As String = "../PersonalId/EditPersonalId1.aspx"
Dim shouldRedirect As Boolean = True
Dim TargetKey As String = Nothing
Dim DFKA As String = TargetKey
Dim id As String = DFKA
Dim value As String = id
Try
' Enclose all database retrieval/update code within a Transaction boundary
DbUtils.StartTransaction
url = Ctype(Me.Page, BaseApplicationPage).ModifyRedirectUrl(url, "",False)
Catch ex As Exception
' Upon error, rollback the transaction
Ctype(Me.Page, BaseApplicationPage).RollBackTransaction(sender)
shouldRedirect = False
Ctype(Me.Page, BaseApplicationPage).ErrorOnPage = True
' Report the error message to the end user
Utils.MiscUtils.RegisterJScriptAlert(Me, "BUTTON_CLICK_MESSAGE", ex.Message)
Finally
DbUtils.EndTransaction
End Try
If shouldRedirect Then
Ctype(Me.Page, BaseApplicationPage).Response.Redirect(url)
End If
End Sub
#Region "Interface Properties"
<Bindable(True), _
Category("Behavior"), _
DefaultValue(""), _
NotifyParentProperty(True), _
DesignerSerializationVisibility(DesignerSerializationVisibility.Content)> _
Public ReadOnly Property PersonalEducationMenuItem() As IMenu_Item Implements IMenu.PersonalEducationMenuItem
Get
Return CType(BaseClasses.Utils.MiscUtils.FindControlRecursively(Me, "_PersonalEducationMenuItem"), IMenu_Item)
End Get
End Property
<Bindable(True), _
Category("Behavior"), _
DefaultValue(""), _
NotifyParentProperty(True), _
DesignerSerializationVisibility(DesignerSerializationVisibility.Content)> _
Public ReadOnly Property PersonalEducationMenuItemHilited() As IMenu_Item_Highlighted Implements IMenu.PersonalEducationMenuItemHilited
Get
Return CType(BaseClasses.Utils.MiscUtils.FindControlRecursively(Me, "_PersonalEducationMenuItemHilited"), IMenu_Item_Highlighted)
End Get
End Property
<Bindable(True), _
Category("Behavior"), _
DefaultValue(""), _
NotifyParentProperty(True), _
DesignerSerializationVisibility(DesignerSerializationVisibility.Content)> _
Public ReadOnly Property PersonalIdMenuItem() As IMenu_Item Implements IMenu.PersonalIdMenuItem
Get
Return CType(BaseClasses.Utils.MiscUtils.FindControlRecursively(Me, "_PersonalIdMenuItem"), IMenu_Item)
End Get
End Property
<Bindable(True), _
Category("Behavior"), _
DefaultValue(""), _
NotifyParentProperty(True), _
DesignerSerializationVisibility(DesignerSerializationVisibility.Content)> _
Public ReadOnly Property PersonalIdMenuItemHilited() As IMenu_Item_Highlighted Implements IMenu.PersonalIdMenuItemHilited
Get
Return CType(BaseClasses.Utils.MiscUtils.FindControlRecursively(Me, "_PersonalIdMenuItemHilited"), IMenu_Item_Highlighted)
End Get
End Property
<Bindable(True), _
Category("Behavior"), _
DefaultValue(""), _
NotifyParentProperty(True), _
DesignerSerializationVisibility(DesignerSerializationVisibility.Content)> _
Public ReadOnly Property การศ_กษาส_งส_ดMenuItem() As IMenu_Item Implements IMenu.การศ_กษาส_งส_ดMenuItem
Get
Return CType(BaseClasses.Utils.MiscUtils.FindControlRecursively(Me, "_การศ_กษาส_งส_ดMenuItem"), IMenu_Item)
End Get
End Property
<Bindable(True), _
Category("Behavior"), _
DefaultValue(""), _
NotifyParentProperty(True), _
DesignerSerializationVisibility(DesignerSerializationVisibility.Content)> _
Public ReadOnly Property การศ_กษาส_งส_ดMenuItemHilited() As IMenu_Item_Highlighted Implements IMenu.การศ_กษาส_งส_ดMenuItemHilited
Get
Return CType(BaseClasses.Utils.MiscUtils.FindControlRecursively(Me, "_การศ_กษาส_งส_ดMenuItemHilited"), IMenu_Item_Highlighted)
End Get
End Property
<Bindable(True), _
Category("Behavior"), _
DefaultValue(""), _
NotifyParentProperty(True), _
DesignerSerializationVisibility(DesignerSerializationVisibility.Content)> _
Public ReadOnly Property ประว_ต_ส_วนบ_คคลMenuItem() As IMenu_Item Implements IMenu.ประว_ต_ส_วนบ_คคลMenuItem
Get
Return CType(BaseClasses.Utils.MiscUtils.FindControlRecursively(Me, "_ประว_ต_ส_วนบ_คคลMenuItem"), IMenu_Item)
End Get
End Property
<Bindable(True), _
Category("Behavior"), _
DefaultValue(""), _
NotifyParentProperty(True), _
DesignerSerializationVisibility(DesignerSerializationVisibility.Content)> _
Public ReadOnly Property ประว_ต_ส_วนบ_คคลMenuItemHilited() As IMenu_Item_Highlighted Implements IMenu.ประว_ต_ส_วนบ_คคลMenuItemHilited
Get
Return CType(BaseClasses.Utils.MiscUtils.FindControlRecursively(Me, "_ประว_ต_ส_วนบ_คคลMenuItemHilited"), IMenu_Item_Highlighted)
End Get
End Property
Public Overrides Property Visible() As Boolean Implements IMenu.Visible
Get
Return MyBase.Visible
End Get
Set(ByVal value As Boolean)
MyBase.Visible = value
End Set
End Property
#End Region
Public Shadows ReadOnly Property Page() As BaseApplicationPage
Get
Return DirectCast(MyBase.Page, BaseApplicationPage)
End Get
End Property
#End Region
End Class
End Namespace

308
Menu Panels/Menu.xml Normal file
View file

@ -0,0 +1,308 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ComponentDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.ironspeed.com/designer">
<Generator>Iron Speed Designer</Generator>
<Version>9.2.0</Version>
<Self>
<Name>Menu</Name>
<Type>Menu</Type>
<SubType>DotNet</SubType>
<MenuType>Menu</MenuType>
<MenuOrientation>Horizontal</MenuOrientation>
<GenerateDirectory>Menu Panels</GenerateDirectory>
<Layout>Menu Panels\Menu.xml</Layout>
<DisplayName>Menu</DisplayName>
<Description>(Description)</Description>
<CheckSum>1745227895-2393</CheckSum>
</Self>
<ComposedOf>
<ContainedComponent>
<Name>PersonalEducationMenuItem</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalEducation/ShowPersonalEducationTable1.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>ประวัติการศึกษา</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>PersonalEducationMenuItemHilited</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item_Highlighted.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalEducation/ShowPersonalEducationTable1.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>ประวัติการศึกษา</Value>
</Attribute>
<Attribute>
<Name>Visible</Name>
<Value>False</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>PersonalIdMenuItem</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalId/ShowViewPersons.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>ประวัติบุคคลากร</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>PersonalIdMenuItemHilited</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item_Highlighted.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalId/ShowViewPersons.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>ประวัติบุคคลากร</Value>
</Attribute>
<Attribute>
<Name>Visible</Name>
<Value>False</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>การศ_กษาส_งส_ดMenuItem</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalEducation/ShowViewMaxPersonalEducation.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>การศึกษาสูงสุด</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>การศ_กษาส_งส_ดMenuItemHilited</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item_Highlighted.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalEducation/ShowViewMaxPersonalEducation.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>การศึกษาสูงสุด</Value>
</Attribute>
<Attribute>
<Name>Visible</Name>
<Value>False</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>ประว_ต_ส_วนบ_คคลMenuItem</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalId/EditPersonalId1.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>ประวัติส่วนบุคคล</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>ประว_ต_ส_วนบ_คคลMenuItemHilited</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item_Highlighted.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalId/EditPersonalId1.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>ประวัติส่วนบุคคล</Value>
</Attribute>
<Attribute>
<Name>Visible</Name>
<Value>False</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
</ComposedOf>
<LayoutDefinition>&lt;?xml version="1.0" encoding="utf-16"?&gt;
&lt;LayoutDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
&lt;Layout Name="Menu" Type="RootLayout"&gt;
&lt;Row&gt;
&lt;Cell&gt;
&lt;Value&gt;&amp;lt;GEN:PANEL NAME="MenuRegion"/&amp;gt;&lt;/Value&gt;
&lt;CellAttributes&gt;
&lt;Attribute&gt;
&lt;Name&gt;class&lt;/Name&gt;
&lt;AttributeValue&gt;menus&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;/CellAttributes&gt;
&lt;/Cell&gt;
&lt;/Row&gt;
&lt;Row&gt;
&lt;Cell&gt;
&lt;Value&gt;&amp;lt;img src="../Images/space.gif" height="1" width="1" alt=""/&amp;gt;&lt;/Value&gt;
&lt;CellAttributes&gt;
&lt;Attribute&gt;
&lt;Name&gt;class&lt;/Name&gt;
&lt;AttributeValue&gt;mbbg&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;/CellAttributes&gt;
&lt;/Cell&gt;
&lt;/Row&gt;
&lt;TableAttributes&gt;
&lt;Attribute&gt;
&lt;Name&gt;cellpadding&lt;/Name&gt;
&lt;AttributeValue&gt;0&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;Attribute&gt;
&lt;Name&gt;cellspacing&lt;/Name&gt;
&lt;AttributeValue&gt;0&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;Attribute&gt;
&lt;Name&gt;border&lt;/Name&gt;
&lt;AttributeValue&gt;0&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;/TableAttributes&gt;
&lt;/Layout&gt;
&lt;Layout Name="MenuRegion"&gt;
&lt;Row&gt;
&lt;Cell&gt;
&lt;Value&gt;&amp;lt;img src="../Images/menuEdgeL.gif" alt=""/&amp;gt;&lt;/Value&gt;
&lt;/Cell&gt;
&lt;Cell&gt;
&lt;Value&gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item.html" NAME="ประว_ต_ส_วนบ_คคลMenuItem"/&amp;gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item_Highlighted.html" NAME="ประว_ต_ส_วนบ_คคลMenuItemHilited"/&amp;gt;
&lt;/Value&gt;
&lt;/Cell&gt;
&lt;Cell&gt;
&lt;Value&gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item.html" NAME="PersonalIdMenuItem"/&amp;gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item_Highlighted.html" NAME="PersonalIdMenuItemHilited"/&amp;gt;
&lt;/Value&gt;
&lt;/Cell&gt;
&lt;Cell&gt;
&lt;Value&gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item.html" NAME="การศ_กษาส_งส_ดMenuItem"/&amp;gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item_Highlighted.html" NAME="การศ_กษาส_งส_ดMenuItemHilited"/&amp;gt;
&lt;/Value&gt;
&lt;/Cell&gt;
&lt;Cell&gt;
&lt;Value&gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item.html" NAME="PersonalEducationMenuItem"/&amp;gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item_Highlighted.html" NAME="PersonalEducationMenuItemHilited"/&amp;gt;
&lt;/Value&gt;
&lt;/Cell&gt;
&lt;Cell&gt;
&lt;Value&gt;&amp;lt;img src="../Images/menuEdgeR.gif" alt=""/&amp;gt;&lt;/Value&gt;
&lt;/Cell&gt;
&lt;/Row&gt;
&lt;TableAttributes&gt;
&lt;Attribute&gt;
&lt;Name&gt;cellpadding&lt;/Name&gt;
&lt;AttributeValue&gt;0&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;Attribute&gt;
&lt;Name&gt;cellspacing&lt;/Name&gt;
&lt;AttributeValue&gt;0&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;Attribute&gt;
&lt;Name&gt;border&lt;/Name&gt;
&lt;AttributeValue&gt;0&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;/TableAttributes&gt;
&lt;/Layout&gt;
&lt;/LayoutDefinition&gt;</LayoutDefinition>
</ComponentDefinition>

55
Menu Panels/Menu1.ascx Normal file
View file

@ -0,0 +1,55 @@
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Control Language="vb" AutoEventWireup="false" CodeFile="Menu1.ascx.vb" Inherits="Persons.UI.Menu1" %>
<%@ Register Tagprefix="Persons" TagName="Menu_Item" Src="../Shared/Menu_Item.ascx" %>
<%@ Register Tagprefix="Persons" TagName="Menu_Item_Highlighted" Src="../Shared/Menu_Item_Highlighted.ascx" %>
<%@ Register Tagprefix="Selectors" Namespace="Persons" %>
<%@ Register Tagprefix="BaseClasses" Namespace="BaseClasses.Web.UI.WebControls" Assembly="BaseClasses" %><table cellpadding="0" cellspacing="0" border="0"><tr><td class="menus"><table cellpadding="0" cellspacing="0" border="0"><tr><td><img src="../Images/menuEdgeL.gif" alt="" /></td><td>
<Persons:Menu_Item runat="server" id="_หน_าหล_กMenuItem" button-causesvalidation="False" button-commandname="Redirect" button-text="หน้าหลัก"></Persons:Menu_Item>
<Persons:Menu_Item_Highlighted runat="server" id="_หน_าหล_กMenuItemHilited" button-causesvalidation="False" button-commandname="Redirect" button-text="หน้าหลัก" visible="False"></Persons:Menu_Item_Highlighted>
</td><td>
<Persons:Menu_Item runat="server" id="_ประว_ต_ท__วไปMenuItem" button-causesvalidation="False" button-commandname="Redirect" button-text="ประวัติทั่วไป"></Persons:Menu_Item>
<Persons:Menu_Item_Highlighted runat="server" id="_ประว_ต_ท__วไปMenuItemHilited" button-causesvalidation="False" button-commandname="Redirect" button-text="ประวัติทั่วไป" visible="False"></Persons:Menu_Item_Highlighted>
</td><td>
<Persons:Menu_Item runat="server" id="_การปฏ_บ_ต_งานMenuItem" button-causesvalidation="False" button-commandname="Redirect" button-text="การปฏิบัติงาน"></Persons:Menu_Item>
<Persons:Menu_Item_Highlighted runat="server" id="_การปฏ_บ_ต_งานMenuItemHilited" button-causesvalidation="False" button-commandname="Redirect" button-text="การปฏิบัติงาน" visible="False"></Persons:Menu_Item_Highlighted>
</td><td>
<Persons:Menu_Item runat="server" id="_เง_นเด_อนMenuItem" button-causesvalidation="False" button-commandname="Redirect" button-text="เงินเดือน"></Persons:Menu_Item>
<Persons:Menu_Item_Highlighted runat="server" id="_เง_นเด_อนMenuItemHilited" button-causesvalidation="False" button-commandname="Redirect" button-text="เงินเดือน" visible="False"></Persons:Menu_Item_Highlighted>
</td><td>
<Persons:Menu_Item runat="server" id="_ยศMenuItem" button-causesvalidation="False" button-commandname="Redirect" button-text="ยศ"></Persons:Menu_Item>
<Persons:Menu_Item_Highlighted runat="server" id="_ยศMenuItemHilited" button-causesvalidation="False" button-commandname="Redirect" button-text="ยศ" visible="False"></Persons:Menu_Item_Highlighted>
</td><td>
<Persons:Menu_Item runat="server" id="_ตำแหน_งMenuItem" button-causesvalidation="False" button-commandname="Redirect" button-text="ตำแหน่ง"></Persons:Menu_Item>
<Persons:Menu_Item_Highlighted runat="server" id="_ตำแหน_งMenuItemHilited" button-causesvalidation="False" button-commandname="Redirect" button-text="ตำแหน่ง" visible="False"></Persons:Menu_Item_Highlighted>
</td><td>
<Persons:Menu_Item runat="server" id="_การศ_กษาMenuItem" button-causesvalidation="False" button-commandname="Redirect" button-text="การศึกษา"></Persons:Menu_Item>
<Persons:Menu_Item_Highlighted runat="server" id="_การศ_กษาMenuItemHilited" button-causesvalidation="False" button-commandname="Redirect" button-text="การศึกษา" visible="False"></Persons:Menu_Item_Highlighted>
</td><td>
<Persons:Menu_Item runat="server" id="_เคร__องราชอ_สร_ยาภรณ_MenuItem" button-causesvalidation="False" button-commandname="Redirect" button-text="เครื่องราชอิสริยาภรณ์"></Persons:Menu_Item>
<Persons:Menu_Item_Highlighted runat="server" id="_เคร__องราชอ_สร_ยาภรณ_MenuItemHilited" button-causesvalidation="False" button-commandname="Redirect" button-text="เครื่องราชอิสริยาภรณ์" visible="False"></Persons:Menu_Item_Highlighted>
</td><td>
<Persons:Menu_Item runat="server" id="_ว_นทว_ค_ณMenuItem" button-causesvalidation="False" button-commandname="Redirect" button-text="วันทวีคูณ"></Persons:Menu_Item>
<Persons:Menu_Item_Highlighted runat="server" id="_ว_นทว_ค_ณMenuItemHilited" button-causesvalidation="False" button-commandname="Redirect" button-text="วันทวีคูณ" visible="False"></Persons:Menu_Item_Highlighted>
</td><td>
<Persons:Menu_Item runat="server" id="_ความสามารถพ_เศษMenuItem" button-causesvalidation="False" button-commandname="Redirect" button-text="ความสามารถพิเศษ"></Persons:Menu_Item>
<Persons:Menu_Item_Highlighted runat="server" id="_ความสามารถพ_เศษMenuItemHilited" button-causesvalidation="False" button-commandname="Redirect" button-text="ความสามารถพิเศษ" visible="False"></Persons:Menu_Item_Highlighted>
</td><td>
<Persons:Menu_Item runat="server" id="_ความสามารถด_านภาษาMenuItem" button-causesvalidation="False" button-commandname="Redirect" button-text="ความสามารถด้านภาษา"></Persons:Menu_Item>
<Persons:Menu_Item_Highlighted runat="server" id="_ความสามารถด_านภาษาMenuItemHilited" button-causesvalidation="False" button-commandname="Redirect" button-text="ความสามารถด้านภาษา" visible="False"></Persons:Menu_Item_Highlighted>
</td><td>
<Persons:Menu_Item runat="server" id="_ความสามาถด_านก_ฬาMenuItem" button-causesvalidation="False" button-commandname="Redirect" button-text="ความสามาถด้านกีฬา"></Persons:Menu_Item>
<Persons:Menu_Item_Highlighted runat="server" id="_ความสามาถด_านก_ฬาMenuItemHilited" button-causesvalidation="False" button-commandname="Redirect" button-text="ความสามาถด้านกีฬา" visible="False"></Persons:Menu_Item_Highlighted>
</td><td>
<Persons:Menu_Item runat="server" id="_บ_คคลท__เก__ยวข_องMenuItem" button-causesvalidation="False" button-commandname="Redirect" button-text="บุคคลที่เกี่ยวข้อง"></Persons:Menu_Item>
<Persons:Menu_Item_Highlighted runat="server" id="_บ_คคลท__เก__ยวข_องMenuItemHilited" button-causesvalidation="False" button-commandname="Redirect" button-text="บุคคลที่เกี่ยวข้อง" visible="False"></Persons:Menu_Item_Highlighted>
</td><td>
<Persons:Menu_Item runat="server" id="_เง_นเพ__มพ_เศษMenuItem" button-causesvalidation="False" button-commandname="Redirect" button-text="เงินเพิ่มพิเศษ"></Persons:Menu_Item>
<Persons:Menu_Item_Highlighted runat="server" id="_เง_นเพ__มพ_เศษMenuItemHilited" button-causesvalidation="False" button-commandname="Redirect" button-text="เงินเพิ่มพิเศษ" visible="False"></Persons:Menu_Item_Highlighted>
</td><td>
<Persons:Menu_Item runat="server" id="_เปล__ยนช__อMenuItem" button-causesvalidation="False" button-commandname="Redirect" button-text="เปลี่ยนชื่อ"></Persons:Menu_Item>
<Persons:Menu_Item_Highlighted runat="server" id="_เปล__ยนช__อMenuItemHilited" button-causesvalidation="False" button-commandname="Redirect" button-text="เปลี่ยนชื่อ" visible="False"></Persons:Menu_Item_Highlighted>
</td><td><img src="../Images/menuEdgeR.gif" alt="" /></td></tr></table>
</td></tr><tr><td class="mbbg"><img src="../Images/space.gif" height="1" width="1" alt="" /></td></tr></table>

2238
Menu Panels/Menu1.ascx.vb Normal file

File diff suppressed because it is too large Load diff

924
Menu Panels/Menu1.xml Normal file
View file

@ -0,0 +1,924 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ComponentDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.ironspeed.com/designer">
<Generator>Iron Speed Designer</Generator>
<Version>9.2.0</Version>
<Self>
<Name>Menu1</Name>
<Type>Menu</Type>
<SubType>DotNet</SubType>
<MenuType>Menu</MenuType>
<MenuOrientation>Horizontal</MenuOrientation>
<GenerateDirectory>Menu Panels</GenerateDirectory>
<Layout>Menu Panels\Menu1.xml</Layout>
<DisplayName>Menu1</DisplayName>
<Description>(Description)</Description>
<CheckSum>-461546069-4889</CheckSum>
</Self>
<ComposedOf>
<ContainedComponent>
<Name>การปฏ_บ_ต_งานMenuItem</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalExtWork/EditPersonalExtWorkTable2.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>การปฏิบัติงาน</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>การปฏ_บ_ต_งานMenuItemHilited</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item_Highlighted.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalExtWork/EditPersonalExtWorkTable2.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>การปฏิบัติงาน</Value>
</Attribute>
<Attribute>
<Name>Visible</Name>
<Value>False</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>การศ_กษาMenuItem</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalEducation/EditPersonalEducationTable2.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>การศึกษา</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>การศ_กษาMenuItemHilited</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item_Highlighted.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalEducation/EditPersonalEducationTable2.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>การศึกษา</Value>
</Attribute>
<Attribute>
<Name>Visible</Name>
<Value>False</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>ความสามาถด_านก_ฬาMenuItem</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalSportSkill/EditPersonalSportSkillTable.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>ความสามาถด้านกีฬา</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>ความสามาถด_านก_ฬาMenuItemHilited</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item_Highlighted.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalSportSkill/EditPersonalSportSkillTable.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>ความสามาถด้านกีฬา</Value>
</Attribute>
<Attribute>
<Name>Visible</Name>
<Value>False</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>ความสามารถด_านภาษาMenuItem</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalLanguageSkill/EditPersonalLanguageSkillTable.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>ความสามารถด้านภาษา</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>ความสามารถด_านภาษาMenuItemHilited</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item_Highlighted.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalLanguageSkill/EditPersonalLanguageSkillTable.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>ความสามารถด้านภาษา</Value>
</Attribute>
<Attribute>
<Name>Visible</Name>
<Value>False</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>ความสามารถพ_เศษMenuItem</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalSpecialSkill/EditPersonalSpecialSkillTable.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>ความสามารถพิเศษ</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>ความสามารถพ_เศษMenuItemHilited</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item_Highlighted.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalSpecialSkill/EditPersonalSpecialSkillTable.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>ความสามารถพิเศษ</Value>
</Attribute>
<Attribute>
<Name>Visible</Name>
<Value>False</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>เคร__องราชอ_สร_ยาภรณ_MenuItem</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalInsignia/EditPersonalInsigniaTable.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>เครื่องราชอิสริยาภรณ์</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>เคร__องราชอ_สร_ยาภรณ_MenuItemHilited</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item_Highlighted.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalInsignia/EditPersonalInsigniaTable.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>เครื่องราชอิสริยาภรณ์</Value>
</Attribute>
<Attribute>
<Name>Visible</Name>
<Value>False</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>เง_นเด_อนMenuItem</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalSalary/EditPersonalSalaryTable.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>เงินเดือน</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>เง_นเด_อนMenuItemHilited</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item_Highlighted.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalSalary/EditPersonalSalaryTable.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>เงินเดือน</Value>
</Attribute>
<Attribute>
<Name>Visible</Name>
<Value>False</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>เง_นเพ__มพ_เศษMenuItem</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalExtraSalary/EditPersonalExtraSalaryTable.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>เงินเพิ่มพิเศษ</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>เง_นเพ__มพ_เศษMenuItemHilited</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item_Highlighted.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalExtraSalary/EditPersonalExtraSalaryTable.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>เงินเพิ่มพิเศษ</Value>
</Attribute>
<Attribute>
<Name>Visible</Name>
<Value>False</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>ตำแหน_งMenuItem</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalTitle/EditPersonalTitleTable.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>ตำแหน่ง</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>ตำแหน_งMenuItemHilited</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item_Highlighted.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalTitle/EditPersonalTitleTable.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>ตำแหน่ง</Value>
</Attribute>
<Attribute>
<Name>Visible</Name>
<Value>False</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>บ_คคลท__เก__ยวข_องMenuItem</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonRelative/EditPersonRelativeTable.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>บุคคลที่เกี่ยวข้อง</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>บ_คคลท__เก__ยวข_องMenuItemHilited</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item_Highlighted.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonRelative/EditPersonRelativeTable.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>บุคคลที่เกี่ยวข้อง</Value>
</Attribute>
<Attribute>
<Name>Visible</Name>
<Value>False</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>ประว_ต_ท__วไปMenuItem</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalId/EditPersonalId1.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>ประวัติทั่วไป</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>ประว_ต_ท__วไปMenuItemHilited</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item_Highlighted.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalId/EditPersonalId1.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>ประวัติทั่วไป</Value>
</Attribute>
<Attribute>
<Name>Visible</Name>
<Value>False</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>เปล__ยนช__อMenuItem</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalName/EditPersonalNameTable.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>เปลี่ยนชื่อ</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>เปล__ยนช__อMenuItemHilited</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item_Highlighted.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalName/EditPersonalNameTable.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>เปลี่ยนชื่อ</Value>
</Attribute>
<Attribute>
<Name>Visible</Name>
<Value>False</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>ยศMenuItem</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalRank/EditPersonalRankTable.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>ยศ</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>ยศMenuItemHilited</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item_Highlighted.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalRank/EditPersonalRankTable.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>ยศ</Value>
</Attribute>
<Attribute>
<Name>Visible</Name>
<Value>False</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>ว_นทว_ค_ณMenuItem</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalDD/EditPersonalDDTable.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>วันทวีคูณ</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>ว_นทว_ค_ณMenuItemHilited</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item_Highlighted.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalDD/EditPersonalDDTable.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>วันทวีคูณ</Value>
</Attribute>
<Attribute>
<Name>Visible</Name>
<Value>False</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>หน_าหล_กMenuItem</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalId/ShowViewPersons.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>หน้าหลัก</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
<ContainedComponent>
<Name>หน_าหล_กMenuItemHilited</Name>
<Type>Button</Type>
<Layout>..\Shared\Menu_Item_Highlighted.html</Layout>
<PassthroughAttributes>
<Attribute>
<Name>Button-CausesValidation</Name>
<Value>False</Value>
</Attribute>
<Attribute>
<Name>Button-CommandName</Name>
<Value>Redirect</Value>
</Attribute>
<Attribute>
<Name>Button-RedirectURL</Name>
<Value>../PersonalId/ShowViewPersons.aspx</Value>
</Attribute>
<Attribute>
<Name>Button-Text</Name>
<Value>หน้าหลัก</Value>
</Attribute>
<Attribute>
<Name>Visible</Name>
<Value>False</Value>
</Attribute>
</PassthroughAttributes>
</ContainedComponent>
</ComposedOf>
<LayoutDefinition>&lt;?xml version="1.0" encoding="utf-16"?&gt;
&lt;LayoutDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
&lt;Layout Name="Menu" Type="RootLayout"&gt;
&lt;Row&gt;
&lt;Cell&gt;
&lt;Value&gt;&amp;lt;GEN:PANEL NAME="MenuRegion"/&amp;gt;&lt;/Value&gt;
&lt;CellAttributes&gt;
&lt;Attribute&gt;
&lt;Name&gt;class&lt;/Name&gt;
&lt;AttributeValue&gt;menus&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;/CellAttributes&gt;
&lt;/Cell&gt;
&lt;/Row&gt;
&lt;Row&gt;
&lt;Cell&gt;
&lt;Value&gt;&amp;lt;img src="../Images/space.gif" height="1" width="1" alt=""/&amp;gt;&lt;/Value&gt;
&lt;CellAttributes&gt;
&lt;Attribute&gt;
&lt;Name&gt;class&lt;/Name&gt;
&lt;AttributeValue&gt;mbbg&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;/CellAttributes&gt;
&lt;/Cell&gt;
&lt;/Row&gt;
&lt;TableAttributes&gt;
&lt;Attribute&gt;
&lt;Name&gt;cellpadding&lt;/Name&gt;
&lt;AttributeValue&gt;0&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;Attribute&gt;
&lt;Name&gt;cellspacing&lt;/Name&gt;
&lt;AttributeValue&gt;0&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;Attribute&gt;
&lt;Name&gt;border&lt;/Name&gt;
&lt;AttributeValue&gt;0&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;/TableAttributes&gt;
&lt;/Layout&gt;
&lt;Layout Name="MenuRegion"&gt;
&lt;Row&gt;
&lt;Cell&gt;
&lt;Value&gt;&amp;lt;img src="../Images/menuEdgeL.gif" alt=""/&amp;gt;&lt;/Value&gt;
&lt;/Cell&gt;
&lt;Cell&gt;
&lt;Value&gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item.html" NAME="หน_าหล_กMenuItem"/&amp;gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item_Highlighted.html" NAME="หน_าหล_กMenuItemHilited"/&amp;gt;
&lt;/Value&gt;
&lt;/Cell&gt;
&lt;Cell&gt;
&lt;Value&gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item.html" NAME="ประว_ต_ท__วไปMenuItem"/&amp;gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item_Highlighted.html" NAME="ประว_ต_ท__วไปMenuItemHilited"/&amp;gt;
&lt;/Value&gt;
&lt;/Cell&gt;
&lt;Cell&gt;
&lt;Value&gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item.html" NAME="การปฏ_บ_ต_งานMenuItem"/&amp;gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item_Highlighted.html" NAME="การปฏ_บ_ต_งานMenuItemHilited"/&amp;gt;
&lt;/Value&gt;
&lt;/Cell&gt;
&lt;Cell&gt;
&lt;Value&gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item.html" NAME="เง_นเด_อนMenuItem"/&amp;gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item_Highlighted.html" NAME="เง_นเด_อนMenuItemHilited"/&amp;gt;
&lt;/Value&gt;
&lt;/Cell&gt;
&lt;Cell&gt;
&lt;Value&gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item.html" NAME="ยศMenuItem"/&amp;gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item_Highlighted.html" NAME="ยศMenuItemHilited"/&amp;gt;
&lt;/Value&gt;
&lt;/Cell&gt;
&lt;Cell&gt;
&lt;Value&gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item.html" NAME="ตำแหน_งMenuItem"/&amp;gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item_Highlighted.html" NAME="ตำแหน_งMenuItemHilited"/&amp;gt;
&lt;/Value&gt;
&lt;/Cell&gt;
&lt;Cell&gt;
&lt;Value&gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item.html" NAME="การศ_กษาMenuItem"/&amp;gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item_Highlighted.html" NAME="การศ_กษาMenuItemHilited"/&amp;gt;
&lt;/Value&gt;
&lt;/Cell&gt;
&lt;Cell&gt;
&lt;Value&gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item.html" NAME="เคร__องราชอ_สร_ยาภรณ_MenuItem"/&amp;gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item_Highlighted.html" NAME="เคร__องราชอ_สร_ยาภรณ_MenuItemHilited"/&amp;gt;
&lt;/Value&gt;
&lt;/Cell&gt;
&lt;Cell&gt;
&lt;Value&gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item.html" NAME="ว_นทว_ค_ณMenuItem"/&amp;gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item_Highlighted.html" NAME="ว_นทว_ค_ณMenuItemHilited"/&amp;gt;
&lt;/Value&gt;
&lt;/Cell&gt;
&lt;Cell&gt;
&lt;Value&gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item.html" NAME="ความสามารถพ_เศษMenuItem"/&amp;gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item_Highlighted.html" NAME="ความสามารถพ_เศษMenuItemHilited"/&amp;gt;
&lt;/Value&gt;
&lt;/Cell&gt;
&lt;Cell&gt;
&lt;Value&gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item.html" NAME="ความสามารถด_านภาษาMenuItem"/&amp;gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item_Highlighted.html" NAME="ความสามารถด_านภาษาMenuItemHilited"/&amp;gt;
&lt;/Value&gt;
&lt;/Cell&gt;
&lt;Cell&gt;
&lt;Value&gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item.html" NAME="ความสามาถด_านก_ฬาMenuItem"/&amp;gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item_Highlighted.html" NAME="ความสามาถด_านก_ฬาMenuItemHilited"/&amp;gt;
&lt;/Value&gt;
&lt;/Cell&gt;
&lt;Cell&gt;
&lt;Value&gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item.html" NAME="บ_คคลท__เก__ยวข_องMenuItem"/&amp;gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item_Highlighted.html" NAME="บ_คคลท__เก__ยวข_องMenuItemHilited"/&amp;gt;
&lt;/Value&gt;
&lt;/Cell&gt;
&lt;Cell&gt;
&lt;Value&gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item.html" NAME="เง_นเพ__มพ_เศษMenuItem"/&amp;gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item_Highlighted.html" NAME="เง_นเพ__มพ_เศษMenuItemHilited"/&amp;gt;
&lt;/Value&gt;
&lt;/Cell&gt;
&lt;Cell&gt;
&lt;Value&gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item.html" NAME="เปล__ยนช__อMenuItem"/&amp;gt;
&amp;lt;GEN:BUTTON FILE="../Shared/Menu_Item_Highlighted.html" NAME="เปล__ยนช__อMenuItemHilited"/&amp;gt;
&lt;/Value&gt;
&lt;/Cell&gt;
&lt;Cell&gt;
&lt;Value&gt;&amp;lt;img src="../Images/menuEdgeR.gif" alt=""/&amp;gt;&lt;/Value&gt;
&lt;/Cell&gt;
&lt;/Row&gt;
&lt;TableAttributes&gt;
&lt;Attribute&gt;
&lt;Name&gt;cellpadding&lt;/Name&gt;
&lt;AttributeValue&gt;0&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;Attribute&gt;
&lt;Name&gt;cellspacing&lt;/Name&gt;
&lt;AttributeValue&gt;0&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;Attribute&gt;
&lt;Name&gt;border&lt;/Name&gt;
&lt;AttributeValue&gt;0&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;/TableAttributes&gt;
&lt;/Layout&gt;
&lt;/LayoutDefinition&gt;</LayoutDefinition>
</ComponentDefinition>