Click here to Skip to main content
15,907,326 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Go Back Pin
ayeleteric20-Nov-06 18:44
ayeleteric20-Nov-06 18:44 
QuestionReg : HTTP and SOAP Pin
venkatasivaramaprasad20-Nov-06 1:03
venkatasivaramaprasad20-Nov-06 1:03 
AnswerRe: Reg : HTTP and SOAP Pin
ravikiranreddydharmannagari20-Nov-06 1:55
ravikiranreddydharmannagari20-Nov-06 1:55 
GeneralRe: Reg : HTTP and SOAP Pin
venkatasivaramaprasad20-Nov-06 1:59
venkatasivaramaprasad20-Nov-06 1:59 
GeneralRe: Reg : HTTP and SOAP [modified] Pin
indianet20-Nov-06 5:20
indianet20-Nov-06 5:20 
Questionhow to obtain functonality of printing Pin
yogita charhate20-Nov-06 1:02
yogita charhate20-Nov-06 1:02 
AnswerRe: how to obtain functonality of printing Pin
Pavan Naidu20-Nov-06 1:23
Pavan Naidu20-Nov-06 1:23 
Questionbug in controls or problem in my code pls define ? [modified] Pin
monuSaini19-Nov-06 23:30
monuSaini19-Nov-06 23:30 
hi everyBody,
i hav made an control which is submiting a form and data into database,
dis control is used in an myform.aspx page and dat page is working fine in mozila
but not working in internet explorer. i think some thing is blocking javascript, when form is run in internet explorer, the click event of submit button does't work but work fine in mozila.

following code i m using:

control code :
--------------------------
<%@ Control Language="vb" AutoEventWireup="false" Codebehind="testControl.ascx.vb" Inherits="my.testControl" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<asp:textbox id="TextBox1" runat="server">
<asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" errormessage="RequiredFieldValidator"
="" controltovalidate="TextBox1">
<asp:regularexpressionvalidator id="RegularExpressionValidator1" runat="server" errormessage="RegularExpressionValidator"
="" controltovalidate="TextBox1" validationexpression="^([a-zA-Z0-9_ ,]{1,120})$">
<asp:textbox id="TextBox2" runat="server">
<asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" errormessage="RequiredFieldValidator"
="" controltovalidate="TextBox2">
<asp:regularexpressionvalidator id="RegularExpressionValidator2" runat="server" errormessage="RegularExpressionValidator"
="" controltovalidate="TextBox2" validationexpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">



<asp:button id="submit" runat="server" text="Button">



-------------------------------------------------------------------------------


this is my aspx page where control is called:


<%@ Page %>
<%@ Register TagPrefix="My" TagName="Test" Src="~\allControls\testControl.ascx" %>



<title>Application





<body
<form runat="server">
<my:test id="myTest" runat="server">




------------------------------------------------------------------------

this is the click event of the sumit(button)


Private Sub submit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles submit.Click
If Page.IsValid Then
Dim strConn As String = Application("dbStrConn")
Dim MyConn_member As New SqlConnection(strConn)
MyConn_member.Open()
'transaction
Dim MyTrans As SqlTransaction = MyConn_member.BeginTransaction
Try
'Specify the first statement to run...
Dim MySql_member As String = "insert into test ([name],[email])values(@name,@email)"
'Create the SqlCommand object, specifying the transaction through
Dim cmd_member As New SqlCommand(MySql_member, MyConn_member, MyTrans)
cmd_member.Parameters.Add(New SqlParameter("@name", TextBox1.Text))
cmd_member.Parameters.Add(New SqlParameter("@email", TextBox2.Text))
cmd_member.ExecuteNonQuery()
MyTrans.Commit()
Catch ex As Exception
'Something went wrong, so rollback the transaction
MyTrans.Rollback()
MyConn_member.Close()
Throw 'Bubble up the exception
Finally
'Finally, close the connection
MyConn_member.Close()
End Try
End If
End Sub


this click event is working in mozila but not working in Internet Explorer.

thanx




RAHUL SIANI
AnswerRe: objects in asp.net Pin
Guffa19-Nov-06 23:29
Guffa19-Nov-06 23:29 
Questionhow to get session time out? Pin
litson jose19-Nov-06 21:54
litson jose19-Nov-06 21:54 
AnswerRe: how to get session time out? Pin
zjaml19-Nov-06 22:20
zjaml19-Nov-06 22:20 
Questionhow to install VS 2005 setup projet in ohter PC Pin
nawalage19-Nov-06 21:49
nawalage19-Nov-06 21:49 
QuestionHow to retrieve uploaded file Pin
isaii19-Nov-06 21:25
isaii19-Nov-06 21:25 
AnswerRe: How to retrieve uploaded file [modified] Pin
Pavan Naidu19-Nov-06 21:42
Pavan Naidu19-Nov-06 21:42 
AnswerRe: How to retrieve uploaded file Pin
just3ala219-Nov-06 21:45
just3ala219-Nov-06 21:45 
GeneralRe: How to retrieve uploaded file Pin
isaii19-Nov-06 21:57
isaii19-Nov-06 21:57 
QuestionRe: How to retrieve uploaded file Pin
just3ala219-Nov-06 23:09
just3ala219-Nov-06 23:09 
AnswerRe: How to retrieve uploaded file Pin
isaii20-Nov-06 13:15
isaii20-Nov-06 13:15 
GeneralRe: How to retrieve uploaded file Pin
just3ala221-Nov-06 2:19
just3ala221-Nov-06 2:19 
GeneralRe: How to retrieve uploaded file Pin
isaii21-Nov-06 16:04
isaii21-Nov-06 16:04 
GeneralRe: How to retrieve uploaded file Pin
just3ala222-Nov-06 3:13
just3ala222-Nov-06 3:13 
Questionneed help! Pin
mahili19-Nov-06 21:08
mahili19-Nov-06 21:08 
AnswerRe: need help! Pin
Britney S. Morales20-Nov-06 1:39
Britney S. Morales20-Nov-06 1:39 
QuestionSaving the Server files Pin
Sandeep Akhare19-Nov-06 20:34
Sandeep Akhare19-Nov-06 20:34 
AnswerRe: Saving the Server files Pin
Sandeep Akhare19-Nov-06 21:18
Sandeep Akhare19-Nov-06 21:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.