I added this to my modules page load and it worked like a charm!
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Try
If Not Page.IsPostBack Then
DotNetNuke.UI.Utilities.ClientAPI.RegisterKeyCapture(
Me.txtDate1, Me.cmdSubmit, Asc(vbCr))
DotNetNuke.UI.Utilities.ClientAPI.RegisterKeyCapture(
Me.txtDate2, Me.cmdSubmit, Asc(vbCr))
DotNetNuke.UI.Utilities.ClientAPI.RegisterKeyCapture(
Me.txtPerson1, Me.cmdSubmit, Asc(vbCr))
DotNetNuke.UI.Utilities.ClientAPI.RegisterKeyCapture(
Me.txtPerson2, Me.cmdSubmit, Asc(vbCr))
End If
Catch exc As Exception
ProcessModuleLoadException(
Me, exc)
End Try
End Sub
Seriously Thanks!
This problem bothered me for a long time!!!
Thanks to all for replying!
Joseph