Click here to Skip to main content
15,925,602 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Data type of functions Pin
_AK_24-Aug-06 23:29
_AK_24-Aug-06 23:29 
QuestionWhy Different browsers showing different size of asp.net controls? Pin
thomas_joyee24-Aug-06 23:14
thomas_joyee24-Aug-06 23:14 
AnswerRe: Why Different browsers showing different size of asp.net controls? Pin
Mircea Grelus24-Aug-06 23:36
Mircea Grelus24-Aug-06 23:36 
GeneralRe: Why Different browsers showing different size of asp.net controls? Pin
thomas_joyee24-Aug-06 23:50
thomas_joyee24-Aug-06 23:50 
GeneralRe: Why Different browsers showing different size of asp.net controls? Pin
_AK_25-Aug-06 0:00
_AK_25-Aug-06 0:00 
QuestionHow to support different different date formats in web application Pin
Software_Guy_12324-Aug-06 23:04
Software_Guy_12324-Aug-06 23:04 
AnswerRe: How to support different different date formats in web application Pin
_AK_24-Aug-06 23:10
_AK_24-Aug-06 23:10 
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 

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.