Click here to Skip to main content
15,892,746 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to support different different date formats in web application Pin
Software_Guy_12325-Aug-06 0:42
Software_Guy_12325-Aug-06 0:42 
GeneralRe: How to support different different date formats in web application Pin
_AK_25-Aug-06 0:48
_AK_25-Aug-06 0:48 
GeneralRe: How to support different different date formats in web application Pin
Software_Guy_12325-Aug-06 1:10
Software_Guy_12325-Aug-06 1:10 
GeneralRe: How to support different different date formats in web application Pin
_AK_25-Aug-06 1:18
_AK_25-Aug-06 1:18 
QuestionCAPTCHA image in ASP Pin
Arghya_mp24-Aug-06 22:59
Arghya_mp24-Aug-06 22:59 
AnswerRe: CAPTCHA image in ASP Pin
Sathesh Sakthivel24-Aug-06 23:18
Sathesh Sakthivel24-Aug-06 23:18 
QuestionVS 2005 Changes my control names... Pin
Amos_Keeto24-Aug-06 21:56
Amos_Keeto24-Aug-06 21:56 
AnswerRe: VS 2005 Changes my control names... Pin
Mircea Grelus24-Aug-06 22:44
Mircea Grelus24-Aug-06 22:44 
Amos_Keeto wrote:
What are the odds that .Net will always asign those names to the cont


Those names represent the control in the hierarchy of controls. Meaning the controls inside which your control is present. The odds that the name will be the same depending on the control mostly. It is not good practice to hardcode the names into the javascript. What you could do is register a call to the javascript function from codebehind.

You can get the full name of the control that will be registered in the page, by calling controlname.ClientID. So you could register in your codebehind something like

RegisterClientScriptBlock("genericname","alert(" + hdnProvinceHTML.ClientID +");")


regards,
Mircea
Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.

GeneralRe: VS 2005 Changes my control names... Pin
Amos_Keeto24-Aug-06 22:52
Amos_Keeto24-Aug-06 22:52 
GeneralRe: VS 2005 Changes my control names... Pin
Mircea Grelus24-Aug-06 23:10
Mircea Grelus24-Aug-06 23:10 
QuestionAccess Denied to Temporary ASP.net files Pin
Varun Arora24-Aug-06 21:37
Varun Arora24-Aug-06 21:37 
QuestionIIS security Pin
V.24-Aug-06 21:27
professionalV.24-Aug-06 21:27 
Questionmerge or Append mulitple Tiffs into one Tiff. Pin
Kartik Rathi24-Aug-06 21:22
Kartik Rathi24-Aug-06 21:22 
Questionhow to implement dynamic menu using javascript Pin
amitcoder8324-Aug-06 21:13
amitcoder8324-Aug-06 21:13 
AnswerRe: how to implement dynamic menu using javascript Pin
_AK_25-Aug-06 2:01
_AK_25-Aug-06 2:01 
QuestionConfirmation of Delete in datagrid not working Pin
Sivaprasad C24-Aug-06 21:09
Sivaprasad C24-Aug-06 21:09 
AnswerRe: Confirmation of Delete in datagrid not working Pin
_AK_24-Aug-06 21:20
_AK_24-Aug-06 21:20 
QuestionE Mail Template in ASP.NET 2.0 Very Urgent Pin
bsundarapandian24-Aug-06 21:03
bsundarapandian24-Aug-06 21:03 
AnswerRe: E Mail Template in ASP.NET 2.0 Very Urgent Pin
Nagraj Naik25-Aug-06 0:16
Nagraj Naik25-Aug-06 0:16 
QuestionBrowse Directory Pin
Arch22k24-Aug-06 20:58
Arch22k24-Aug-06 20:58 
AnswerRe: Browse Directory Pin
NaNg1524124-Aug-06 21:01
NaNg1524124-Aug-06 21:01 
AnswerRe: Browse Directory Pin
coolestCoder24-Aug-06 21:04
coolestCoder24-Aug-06 21:04 
QuestionTwo things. Pin
NaNg1524124-Aug-06 20:52
NaNg1524124-Aug-06 20:52 
AnswerRe: Two things. Pin
coolestCoder24-Aug-06 21:08
coolestCoder24-Aug-06 21:08 
Questionhow to navigate records in display Pin
Kissy1624-Aug-06 20:38
Kissy1624-Aug-06 20:38 

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.