Click here to Skip to main content
15,909,518 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Requirement in Drop down list Pin
Hari_10109-Aug-07 18:38
Hari_10109-Aug-07 18:38 
GeneralRe: Requirement in Drop down list Pin
Michael Sync9-Aug-07 20:01
Michael Sync9-Aug-07 20:01 
GeneralRe: Requirement in Drop down list Pin
Hari_10109-Aug-07 20:21
Hari_10109-Aug-07 20:21 
GeneralYou forget to uncomment Pin
Michael Sync10-Aug-07 8:30
Michael Sync10-Aug-07 8:30 
GeneralRe: You forget to uncomment Pin
Hari_101012-Aug-07 18:12
Hari_101012-Aug-07 18:12 
GeneralRe: You forget to uncomment Pin
Hari_101012-Aug-07 19:06
Hari_101012-Aug-07 19:06 
GeneralRe: You forget to uncomment Pin
Michael Sync12-Aug-07 19:45
Michael Sync12-Aug-07 19:45 
GeneralRe: You forget to uncomment Pin
Hari_101012-Aug-07 19:58
Hari_101012-Aug-07 19:58 
Hi Michael,

In the function "foo(event,id)", can you tell me what is the use of the event.

See in my website I got this dropdown list in a formview insert template where it bound to the object data source. I have added your script to my master page. And the function calling is as follows,

protected void FormView1_DataBound(object sender, EventArgs e)
{
switch (FormView1.CurrentMode)
{
case FormViewMode.Insert:
((DropDownList)FormView1.FindControl("DropDownList3")).Attributes.Add ("onkeypress", "javascript:return foo(event,'ctl00_ContentPlaceHolder1_FormView1_DropDownList3');");
break;
}
}

But its not working in my page. So can you please help me on this. Dont worry Michael defenitely i am going to vote for you. Thanks in advance.

Thanks and Regards,
Hariharan C
QuestionProblem with Header Background image? Pin
chand107-Aug-07 19:50
chand107-Aug-07 19:50 
QuestionDisplay DB records In Flash Pin
kirthikirthi7-Aug-07 19:22
kirthikirthi7-Aug-07 19:22 
AnswerRe: Display DB records In Flash Pin
Christian Graus7-Aug-07 19:29
protectorChristian Graus7-Aug-07 19:29 
GeneralRe: Display DB records In Flash Pin
kirthikirthi7-Aug-07 20:03
kirthikirthi7-Aug-07 20:03 
GeneralRe: Display DB records In Flash Pin
Christian Graus7-Aug-07 20:08
protectorChristian Graus7-Aug-07 20:08 
Questionsession_end Pin
Sonia Gupta7-Aug-07 19:07
Sonia Gupta7-Aug-07 19:07 
AnswerRe: session_end Pin
sulabh20207-Aug-07 22:33
sulabh20207-Aug-07 22:33 
AnswerRe: session_end Pin
N a v a n e e t h7-Aug-07 22:39
N a v a n e e t h7-Aug-07 22:39 
GeneralRe: session_end Pin
Sonia Gupta7-Aug-07 23:39
Sonia Gupta7-Aug-07 23:39 
GeneralRe: session_end Pin
N a v a n e e t h7-Aug-07 23:42
N a v a n e e t h7-Aug-07 23:42 
GeneralRe: session_end Pin
Sonia Gupta7-Aug-07 23:47
Sonia Gupta7-Aug-07 23:47 
QuestionUpdate query probs..., Pin
Member 38798817-Aug-07 18:59
Member 38798817-Aug-07 18:59 
AnswerRe: Update query probs..., Pin
Christian Graus7-Aug-07 19:07
protectorChristian Graus7-Aug-07 19:07 
AnswerRe: Update query probs..., Pin
HemMagesh7-Aug-07 20:09
HemMagesh7-Aug-07 20:09 
QuestionHow to Replace return white space in a string with Pin
sabby20067-Aug-07 18:39
sabby20067-Aug-07 18:39 
AnswerRe: How to Replace return white space in a string with Pin
Christian Graus7-Aug-07 19:08
protectorChristian Graus7-Aug-07 19:08 
GeneralRe: How to Replace return white space in a string with Pin
sabby20068-Aug-07 1:12
sabby20068-Aug-07 1:12 

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.