Click here to Skip to main content
16,004,901 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to scchedule sending feedback mails Pin
Rajesh_K_Sharma7-Oct-06 9:04
Rajesh_K_Sharma7-Oct-06 9:04 
GeneralRe: How to scchedule sending feedback mails Pin
miniThomas7-Oct-06 22:06
miniThomas7-Oct-06 22:06 
GeneralRe: How to scchedule sending feedback mails Pin
Rajesh_K_Sharma8-Oct-06 8:58
Rajesh_K_Sharma8-Oct-06 8:58 
GeneralRe: How to scchedule sending feedback mails Pin
miniThomas8-Oct-06 19:14
miniThomas8-Oct-06 19:14 
Questionhow can i get the value of ENTER key Pin
Deepak the Cool7-Oct-06 0:04
Deepak the Cool7-Oct-06 0:04 
AnswerRe: how can i get the value of ENTER key Pin
Jay_se7-Oct-06 3:14
Jay_se7-Oct-06 3:14 
GeneralRe: how can i get the value of ENTER key Pin
miniThomas10-Oct-06 0:47
miniThomas10-Oct-06 0:47 
AnswerRe: how can i get the value of ENTER key [modified] Pin
Jay_se10-Oct-06 3:35
Jay_se10-Oct-06 3:35 
Hi there,

Add an additional TextBox Web control to overcome the Enter problem in IE, but hide the TextBox so your users see only one:

<form id="Form1" runat="server">
    <div>
       Name: <asp:TextBox runat="server" id="txtName"/>
       <br />
       <asp:TextBox ID="TextBox1" runat="server" style="visibility:hidden;display:none;" />
       <asp:LinkButton ID="LinkButton1" runat="server" <pre>OnClick
="LinkButton1_Click">LinkButton</asp:LinkButton>
</div>


In ur Code Behid:

protected void Page_Load(object sender, EventArgs e)<br />
    {<br />
        <br />
        txtName.Attributes.Add("onKeyPress", "javascript:if (event.keyCode == 13) __doPostBack('" + LinkButton1.UniqueID + "','')");<br />
<br />
}<br />
<br />
protected void LinkButton1_Click(object sender, EventArgs e)<br />
    {<br />
        txtName.Text = "Hai";<br />
    }<br />
<br />

Now it works fine.

-- modified at 3:37 Wednesday 11th October, 2006

Regards,

Jay Smile | :)

GeneralRe: how can i get the value of ENTER key Pin
miniThomas10-Oct-06 19:46
miniThomas10-Oct-06 19:46 
GeneralRe: how can i get the value of ENTER key Pin
Jay_se10-Oct-06 21:35
Jay_se10-Oct-06 21:35 
GeneralRe: how can i get the value of ENTER key Pin
miniThomas11-Oct-06 23:42
miniThomas11-Oct-06 23:42 
GeneralRe: how can i get the value of ENTER key Pin
Jay_se12-Oct-06 0:02
Jay_se12-Oct-06 0:02 
QuestionmultiSelect in datagrid [modified] Pin
ptvce6-Oct-06 21:37
ptvce6-Oct-06 21:37 
Question{"This row already belongs to another table." } Pin
MHASSANF6-Oct-06 20:38
MHASSANF6-Oct-06 20:38 
AnswerRe: {"This row already belongs to another table." } Pin
Abhishek Joshi6-Oct-06 21:20
Abhishek Joshi6-Oct-06 21:20 
AnswerRe: {"This row already belongs to another table." } Pin
Guffa7-Oct-06 1:27
Guffa7-Oct-06 1:27 
QuestionCommenting Standard Pin
Abhishek Joshi6-Oct-06 20:20
Abhishek Joshi6-Oct-06 20:20 
AnswerRe: Commenting Standard Pin
Mike Ellison7-Oct-06 3:53
Mike Ellison7-Oct-06 3:53 
Questionhelp me not insert in database Pin
isis_preaw6-Oct-06 19:31
isis_preaw6-Oct-06 19:31 
Questiondatagrid problem Pin
varuni656-Oct-06 17:53
varuni656-Oct-06 17:53 
AnswerRe: datagrid problem Pin
Jay_se6-Oct-06 21:14
Jay_se6-Oct-06 21:14 
GeneralRe: datagrid problem Pin
varuni656-Oct-06 21:54
varuni656-Oct-06 21:54 
AnswerRe: datagrid problem Pin
Jay_se7-Oct-06 2:54
Jay_se7-Oct-06 2:54 
GeneralRe: datagrid problem Pin
varuni6511-Oct-06 2:48
varuni6511-Oct-06 2:48 
Question(URGENT) Auto Generating Report Interface Pin
Yong Yau6-Oct-06 16:59
Yong Yau6-Oct-06 16:59 

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.