Click here to Skip to main content
15,919,778 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionSyntax Error Pin
seemamltn21-Jun-07 10:08
seemamltn21-Jun-07 10:08 
AnswerRe: Syntax Error Pin
Tarakeshwar Reddy21-Jun-07 10:16
professionalTarakeshwar Reddy21-Jun-07 10:16 
AnswerRe: Syntax Error Pin
Guffa21-Jun-07 14:09
Guffa21-Jun-07 14:09 
QuestionDateTime Pin
seemamltn21-Jun-07 8:43
seemamltn21-Jun-07 8:43 
AnswerRe: DateTime Pin
Tarakeshwar Reddy21-Jun-07 10:14
professionalTarakeshwar Reddy21-Jun-07 10:14 
Question"Back" button in Internet explorer does not change radiobutton selection. Pin
ny71121-Jun-07 8:27
ny71121-Jun-07 8:27 
QuestionEnter key association with multiple textboxes Pin
InvalidTypecast21-Jun-07 7:00
InvalidTypecast21-Jun-07 7:00 
AnswerRe: Enter key association with multiple textboxes Pin
PrakashBhaskar21-Jun-07 18:57
PrakashBhaskar21-Jun-07 18:57 
u have to capture the key press event and you have to check the condition whether enter is pressed or not if pressed you have to dopostback on the control you want following the is the example to capture event.

in you aspx page under the for tag place your text box

<asp:textbox id="textBoxName" runat="server">

in page load event write the following code

If Not Me.IsPostBack() Then
textBoxName.Attributes.Add("onKeyDown", "javascript:checkEvent();")
End If

in your aspx page under the HEAD tag write the following javascript code

function checkEvent()
{
alert(window.event.keyCode);
if (window.event.keyCode==13)
{
__doPostBack("controlname",""); //please check the code i used to do like this only make sure view state of your control is true this is code i have used and it is working fone for me
}
}


Thanks
Warm Regards
Prakash-B

QuestionDrop-Down menu and Flash Banner in ASP.NET Pin
.NET- India 21-Jun-07 5:10
.NET- India 21-Jun-07 5:10 
AnswerRe: Drop-Down menu and Flash Banner in ASP.NET Pin
Vasudevan Deepak Kumar21-Jun-07 5:27
Vasudevan Deepak Kumar21-Jun-07 5:27 
QuestionImplement a website for subscribers to subscribe to get a report Pin
madhu0721-Jun-07 3:52
madhu0721-Jun-07 3:52 
AnswerRe: Implement a website for subscribers to subscribe to get a report Pin
N a v a n e e t h21-Jun-07 3:57
N a v a n e e t h21-Jun-07 3:57 
GeneralRe: Implement a website for subscribers to subscribe to get a report Pin
madhu0722-Jun-07 4:25
madhu0722-Jun-07 4:25 
QuestionActive user counting Pin
N a v a n e e t h21-Jun-07 3:50
N a v a n e e t h21-Jun-07 3:50 
AnswerRe: Active user counting Pin
Sylvester george21-Jun-07 20:10
Sylvester george21-Jun-07 20:10 
Questioniis with out turn off anonymous Pin
dhatchu21-Jun-07 3:49
dhatchu21-Jun-07 3:49 
AnswerRe: iis with out turn off anonymous Pin
Tarakeshwar Reddy21-Jun-07 10:25
professionalTarakeshwar Reddy21-Jun-07 10:25 
AnswerRe: 'dropdownlist' Pin
Sathesh Sakthivel21-Jun-07 3:39
Sathesh Sakthivel21-Jun-07 3:39 
QuestionAdding an onmousemove/mouseover event to items in a checkboxlist? Pin
AbrahamErnest21-Jun-07 2:21
AbrahamErnest21-Jun-07 2:21 
AnswerRe: Adding an onmousemove/mouseover event to items in a checkboxlist? Pin
ballameharmurali21-Jun-07 2:42
ballameharmurali21-Jun-07 2:42 
GeneralRe: Adding an onmousemove/mouseover event to items in a checkboxlist? Pin
ballameharmurali21-Jun-07 2:44
ballameharmurali21-Jun-07 2:44 
GeneralRe: Adding an onmousemove/mouseover event to items in a checkboxlist? Pin
AbrahamErnest21-Jun-07 2:52
AbrahamErnest21-Jun-07 2:52 
AnswerRe: Adding an onmousemove/mouseover event to items in a checkboxlist? Pin
ballameharmurali21-Jun-07 2:44
ballameharmurali21-Jun-07 2:44 
GeneralRe: Adding an onmousemove/mouseover event to items in a checkboxlist? Pin
Sathesh Sakthivel21-Jun-07 2:54
Sathesh Sakthivel21-Jun-07 2:54 
AnswerRe: Adding an onmousemove/mouseover event to items in a checkboxlist? Pin
PrakashBhaskar21-Jun-07 3:00
PrakashBhaskar21-Jun-07 3:00 

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.