Click here to Skip to main content
15,887,485 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionWhich version ODP.net is exactly required for oracle 11.2 and .net 2.0? Pin
padmanabhan N16-Sep-10 20:44
padmanabhan N16-Sep-10 20:44 
QuestionAnalysing sample program Pin
future383916-Sep-10 17:54
future383916-Sep-10 17:54 
AnswerRe: Analysing sample program Pin
Yusuf17-Sep-10 18:00
Yusuf17-Sep-10 18:00 
Questionhow to get Ranked?! Pin
Jassim Rahma16-Sep-10 12:24
Jassim Rahma16-Sep-10 12:24 
AnswerRe: how to get Ranked?! Pin
Arun Jacob16-Sep-10 23:41
Arun Jacob16-Sep-10 23:41 
AnswerRe: how to get Ranked?! Pin
raju melveetilpurayil17-Sep-10 10:31
professionalraju melveetilpurayil17-Sep-10 10:31 
AnswerRe: how to get Ranked?! Pin
Keith Barrow21-Sep-10 6:17
professionalKeith Barrow21-Sep-10 6:17 
Questionhow to trap a Enter Key from the Server Side Pin
Vimalsoft(Pty) Ltd16-Sep-10 10:19
professionalVimalsoft(Pty) Ltd16-Sep-10 10:19 
Good Day all

i have a dummy javascript that can trap for enter key on the client side
 function Enterkey()
 {
     var textb = document.getElementById("<%=TextBox1 %>");
     if(window.event.keycode ==13 && textb.value.length > 1)
     {
      alert('Something will be Returned');
      alert(textb.value.length);
     }
    return false;
}


and on my server side , i am trapping for textlength with something like this


if (TextBox1.Text.Length > 1)
{
    //Do whatever
}
elseif(TextBox1.Text.Length > 1 && "And the user Pressed Enter")
{
    //do whatever
}


now look at the Elseif part, if the textbox is greater than and the user has pressed the return key(Enter) then it should execute the do whatever condition. i could do this on the client side , but my app requirement has changed so some of the code is on the server side.

how can i achieve this

Thanks
Vuyiswa Maseko,

Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.

C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/

AnswerRe: how to trap a Enter Key from the Server Side Pin
David Mujica16-Sep-10 10:46
David Mujica16-Sep-10 10:46 
AnswerRe: how to trap a Enter Key from the Server Side Pin
T M Gray17-Sep-10 6:40
T M Gray17-Sep-10 6:40 
AnswerRe: how to trap a Enter Key from the Server Side Pin
Yusuf17-Sep-10 18:03
Yusuf17-Sep-10 18:03 
QuestionCheck Chackbox in repeater Pin
polycom12316-Sep-10 3:35
polycom12316-Sep-10 3:35 
AnswerRe: Check Chackbox in repeater Pin
polycom12316-Sep-10 3:51
polycom12316-Sep-10 3:51 
GeneralRe: Check Chackbox in repeater Pin
T M Gray16-Sep-10 8:48
T M Gray16-Sep-10 8:48 
Questionconfigure 'Impersonation' in IIS Pin
Manas Bhardwaj16-Sep-10 3:21
professionalManas Bhardwaj16-Sep-10 3:21 
AnswerRe: configure 'Impersonation' in IIS Pin
T M Gray16-Sep-10 8:44
T M Gray16-Sep-10 8:44 
QuestionMigration from Oracle 9i to Oracle 11.2 Pin
padmanabhan N16-Sep-10 3:04
padmanabhan N16-Sep-10 3:04 
AnswerRe: Migration from Oracle 9i to Oracle 11.2 Pin
m@dhu16-Sep-10 3:18
m@dhu16-Sep-10 3:18 
AnswerRe: Migration from Oracle 9i to Oracle 11.2 Pin
David Mujica16-Sep-10 3:30
David Mujica16-Sep-10 3:30 
QuestionGood .NET Hosting Companies??? Pin
Daniel Ormisher16-Sep-10 1:08
Daniel Ormisher16-Sep-10 1:08 
AnswerRe: Good .NET Hosting Companies??? Pin
R. Giskard Reventlov16-Sep-10 1:17
R. Giskard Reventlov16-Sep-10 1:17 
AnswerRe: Good .NET Hosting Companies??? Pin
NeverHeardOfMe16-Sep-10 1:36
NeverHeardOfMe16-Sep-10 1:36 
GeneralOne DB, many clients Pin
David Mujica16-Sep-10 3:24
David Mujica16-Sep-10 3:24 
GeneralRe: One DB, many clients Pin
NeverHeardOfMe16-Sep-10 3:34
NeverHeardOfMe16-Sep-10 3:34 
GeneralRe: Good .NET Hosting Companies??? Pin
Daniel Ormisher16-Sep-10 10:00
Daniel Ormisher16-Sep-10 10: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.