Click here to Skip to main content
15,917,321 members
Home / Discussions / C#
   

C#

 
GeneralRe: Excel with Early and LateBinding Pin
MumbleB2-Apr-09 3:21
MumbleB2-Apr-09 3:21 
QuestionTake backup of Outlook message Rules, programatically Pin
ashok_rgm2-Apr-09 1:42
ashok_rgm2-Apr-09 1:42 
QuestionOffice 2007 Pin
Sajjad Leo2-Apr-09 1:07
Sajjad Leo2-Apr-09 1:07 
QuestionRe: Office 2007 Pin
Cracked-Down2-Apr-09 1:41
Cracked-Down2-Apr-09 1:41 
AnswerRe: Office 2007 Pin
Sajjad Leo2-Apr-09 1:52
Sajjad Leo2-Apr-09 1:52 
GeneralRe: Office 2007 Pin
King Julien2-Apr-09 2:17
King Julien2-Apr-09 2:17 
QuestionHow to pass parameters to JavaScript Functions from C#? Pin
codddy2-Apr-09 0:54
codddy2-Apr-09 0:54 
AnswerRe: How to pass parameters to JavaScript Functions from C#? Pin
Pete O'Hanlon2-Apr-09 1:41
mvePete O'Hanlon2-Apr-09 1:41 
This is an ASP.NET question, not one for the C# forum.

Anyway, the corect way to do this it to use:
UserName.Attributes.Add("onkeypress", string.Format("return next('{0}');", password.ClientID));
Never hardcode the control name of an ASP.NET control into JavaScript methods. If you move where this control is situated, the ID changes because ASP.NET mangles the ID to ensure uniqueness.

"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



GeneralRe: How to pass parameters to JavaScript Functions from C#? Pin
codddy2-Apr-09 3:04
codddy2-Apr-09 3:04 
Questionto increse size of a panel, its override another controls Pin
myms.net2-Apr-09 0:43
myms.net2-Apr-09 0:43 
RantRe: to increse size of a panel, its override another controls Pin
Greg Chelstowski2-Apr-09 0:52
Greg Chelstowski2-Apr-09 0:52 
AnswerRe: to increse size of a panel, its override another controls Pin
Henry Minute2-Apr-09 1:29
Henry Minute2-Apr-09 1:29 
GeneralRe: to increse size of a panel, its override another controls Pin
myms.net2-Apr-09 1:38
myms.net2-Apr-09 1:38 
GeneralRe: to increse size of a panel, its override another controls Pin
Henry Minute2-Apr-09 1:42
Henry Minute2-Apr-09 1:42 
QuestionHow to split & merge mpeg video files Pin
pravat_SABAT2-Apr-09 0:37
pravat_SABAT2-Apr-09 0:37 
QuestionRe: How to split & merge mpeg video files Pin
King Julien2-Apr-09 1:20
King Julien2-Apr-09 1:20 
QuestionLoading data from selected row in datagridview into dialog box Pin
Martin310882-Apr-09 0:25
Martin310882-Apr-09 0:25 
AnswerRe: Loading data from selected row in datagridview into dialog box Pin
Henry Minute2-Apr-09 1:15
Henry Minute2-Apr-09 1:15 
GeneralRe: Loading data from selected row in datagridview into dialog box Pin
Martin310882-Apr-09 2:07
Martin310882-Apr-09 2:07 
GeneralRe: Loading data from selected row in datagridview into dialog box Pin
Henry Minute2-Apr-09 2:37
Henry Minute2-Apr-09 2:37 
GeneralRe: Loading data from selected row in datagridview into dialog box Pin
Martin310882-Apr-09 23:15
Martin310882-Apr-09 23:15 
GeneralRe: Loading data from selected row in datagridview into dialog box Pin
Henry Minute3-Apr-09 2:55
Henry Minute3-Apr-09 2:55 
GeneralRe: Loading data from selected row in datagridview into dialog box Pin
Martin310883-Apr-09 3:44
Martin310883-Apr-09 3:44 
QuestionMessageBox is displayed twice.... Help! Pin
Rajdeep.NET is BACK2-Apr-09 0:05
Rajdeep.NET is BACK2-Apr-09 0:05 
AnswerRe: MessageBox is displayed twice.... Help! Pin
J4amieC2-Apr-09 0:09
J4amieC2-Apr-09 0:09 

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.