RadioButton Select lässt nur bei angewähltem FreigabeButton oder wenn kein Button angewäht ist freigegeben.
This commit is contained in:
@@ -42,14 +42,19 @@ Partial Class Kundenbereich_Default
|
||||
'MsgBox(Session.Item("CustomerID").ToString)
|
||||
'MsgBox(Session.Item("PW").ToString)
|
||||
Kdnrtext = Session.Item("CustomerID").ToString
|
||||
|
||||
dt = Nothing
|
||||
If txt_Absender.Text IsNot "" Then
|
||||
txt_Absender.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
Absender = txt_Absender.Text
|
||||
ElseIf txt_Empfaenger.Text IsNot "" Then
|
||||
txt_Empfaenger.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
Empfaenger = txt_Empfaenger.Text
|
||||
ElseIf txt_KdNrAuftrag.Text IsNot "" Then
|
||||
txt_KdNrAuftrag.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
KDNAFNR = txt_KdNrAuftrag.Text
|
||||
ElseIf txt_LKWNr.Text IsNot "" Then
|
||||
txt_LKWNr.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
LKWNR = txt_LKWNr.Text
|
||||
End If
|
||||
|
||||
@@ -60,7 +65,9 @@ Partial Class Kundenbereich_Default
|
||||
If pickdate1.Text = Not "TT.MM.JJJJ" And pickdate2.Text = Not "TT.MM.JJJJ" Then
|
||||
If Date.Parse(pickdate2.Text) > Date.Parse(pickdate1.Text) Then
|
||||
Try
|
||||
pickdate1.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
datevon = Date.Parse(pickdate1.Text)
|
||||
pickdate2.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
datebis = Date.Parse(pickdate2.Text)
|
||||
Catch ex As Exception
|
||||
MsgBox(ex.StackTrace, MsgBoxStyle.Exclamation)
|
||||
@@ -79,7 +86,7 @@ Partial Class Kundenbereich_Default
|
||||
ElseIf rbt_Erf.Selected = False And rbt_Freig.Selected = False And rbt_Ankunft.Selected = False And rbt_Vorb.Selected = False And rbt_Vorg.Selected = False Then
|
||||
If pickdate1.Text = "TT.MM.JJJJ" And pickdate2.Text = "TT.MM.JJJJ" Then
|
||||
MsgBox("Bitte ein Datum auswählen!", MsgBoxStyle.Information, "Information!")
|
||||
|
||||
ElseIf pickdate1.Text = Not "TT.MM.JJJJ" And pickdate2.Text = Not "TT.MM.JJJJ" Then
|
||||
pickdate1.Text = Date.ParseExact("01" + "-" + Date.Now.Month.ToString + "-" + Date.Now.Year.ToString, "dd-MM-yyyy", Nothing).ToString
|
||||
pickdate2.Text = Date.ParseExact(Date.Now.Day.ToString + "-" + Date.Now.Month.ToString + "-" + Date.Now.Year.ToString, "dd-MM-yyyy", Nothing).ToString
|
||||
datevon = Date.ParseExact(pickdate1.Text, "dd-MM-yyyy", Nothing)
|
||||
@@ -182,16 +189,6 @@ Partial Class Kundenbereich_Default
|
||||
tbl_CellKundAuftNr.Text = d("KdAuftragsNr_Avisierer").ToString
|
||||
tr.Cells.Add(tbl_CellKundAuftNr)
|
||||
|
||||
|
||||
Dim btn2 As New ImageButton
|
||||
btn2.ViewStateMode = ViewStateMode.Disabled
|
||||
btn2.ImageUrl = "../images/Icons/service/hilfe_small.png"
|
||||
'btn2.CssClass = "btn btn-primary"
|
||||
|
||||
btn2.Attributes.Add("href", "../status_Julius.aspx?AvisoId=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d("AvisoID")).ToString)
|
||||
btn2.Attributes.Add("target", "_blank")
|
||||
btn2.PostBackUrl = "../status_Julius.aspx?AvisoId=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d("AvisoID")).ToString
|
||||
|
||||
Dim btn As New LinkButton
|
||||
btn.ViewStateMode = ViewStateMode.Disabled
|
||||
'btn.Text = "Text"
|
||||
@@ -201,7 +198,8 @@ Partial Class Kundenbereich_Default
|
||||
btn.Attributes.Add("target", "_blank")
|
||||
btn.PostBackUrl = "../status_Julius.aspx?AvisoId=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d("AvisoID")).ToString
|
||||
|
||||
tbl_CellInfo.Controls.Add(btn2)
|
||||
tbl_CellInfo.Controls.Add(btn)
|
||||
tbl_CellInfo.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
tr.Cells.Add(tbl_CellInfo)
|
||||
|
||||
If rbt_Ankunft.Selected = True AndAlso tbl_CellStatus.Text = "Ankunft" Then
|
||||
@@ -218,8 +216,6 @@ Partial Class Kundenbereich_Default
|
||||
normaltable.Rows.Add(tr)
|
||||
End If
|
||||
|
||||
|
||||
|
||||
i += 1
|
||||
Next
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user