Click here to Skip to main content
15,921,905 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: DIV Pin
Pranay Rana28-Jan-10 22:27
professionalPranay Rana28-Jan-10 22:27 
GeneralNice Article Pin
sashidhar28-Jan-10 22:37
sashidhar28-Jan-10 22:37 
AnswerRe: DIV Pin
Brij29-Jan-10 9:43
mentorBrij29-Jan-10 9:43 
QuestionProgramatically convert PDF files to excel Pin
Mohan G28-Jan-10 21:31
Mohan G28-Jan-10 21:31 
AnswerRe: Programatically convert PDF files to excel Pin
sashidhar28-Jan-10 22:30
sashidhar28-Jan-10 22:30 
Questionfonts not supported by browser Pin
krishnaveer28-Jan-10 20:40
krishnaveer28-Jan-10 20:40 
AnswerRe: fonts not supported by browser Pin
R. Giskard Reventlov29-Jan-10 0:49
R. Giskard Reventlov29-Jan-10 0:49 
QuestionJavaScript registering at PageLoad for User Control Pin
mark_me28-Jan-10 19:56
mark_me28-Jan-10 19:56 
Hi,
I have a tab strip (telerik), with 3 tabs. Each tab strip opens a separate Web Control.
When i add javascript to first control's (pageload) on the first tab, the javascript works but when i add it in second or 3rd tab (user control page load),javascript doesnot render to page. (i cant see it in ViewSource)

Please note that i cannot add javascript in the designer for page so am adding the script at runtime on page load.
The javascript also works when added in Parent Page. It only doesnt work in 2nd,3rd tab controls. It starts working from 3rd tab when added on parent or first tab control. (and i am not allowed to add anything outside this 3rd tab control)

My code for script is
dim script as string = "<script language=""javascript""> function Check(){alert('hello');}</script>"
Page.ClientScript.RegisterClientScriptBlock(Me.GetType(),"mycustomScript",script,false)


Also i have tried RegisterStartupScript. The controls contains Ajax (RadControls) and script manager is added to parent page.The Manager Proxy is added to each page separately.

Please provide help in this regard

Best Regards
haseeb
AnswerRe: JavaScript registering at PageLoad for User Control Pin
Pranay Rana28-Jan-10 20:33
professionalPranay Rana28-Jan-10 20:33 
AnswerRe: JavaScript registering at PageLoad for User Control Pin
Brij28-Jan-10 21:53
mentorBrij28-Jan-10 21:53 
GeneralRe: JavaScript registering at PageLoad for User Control Pin
Pranay Rana28-Jan-10 22:32
professionalPranay Rana28-Jan-10 22:32 
GeneralRe: JavaScript registering at PageLoad for User Control Pin
mark_me29-Jan-10 4:20
mark_me29-Jan-10 4:20 
GeneralRe: JavaScript registering at PageLoad for User Control Pin
Brij29-Jan-10 9:51
mentorBrij29-Jan-10 9:51 
QuestionDiffrence between RDL and RDLC Pin
Prosanta Kundu online28-Jan-10 19:06
Prosanta Kundu online28-Jan-10 19:06 
AnswerRe: Diffrence between RDL and RDLC Pin
sashidhar28-Jan-10 20:14
sashidhar28-Jan-10 20:14 
GeneralRe: Diffrence between RDL and RDLC Pin
Archana,India29-Jan-10 0:31
Archana,India29-Jan-10 0:31 
GeneralRe: Diffrence between RDL and RDLC Pin
sashidhar29-Jan-10 0:40
sashidhar29-Jan-10 0:40 
Questionopen window not work properly Pin
lrsalunkhe28-Jan-10 18:54
lrsalunkhe28-Jan-10 18:54 
AnswerRe: open window not work properly Pin
sashidhar28-Jan-10 22:56
sashidhar28-Jan-10 22:56 
GeneralRe: open window not work properly Pin
lrsalunkhe30-Jan-10 0:26
lrsalunkhe30-Jan-10 0:26 
AnswerRe: open window not work properly Pin
shankul28-Jan-10 22:58
shankul28-Jan-10 22:58 
QuestionOOPs application Pin
yrishi28-Jan-10 18:42
yrishi28-Jan-10 18:42 
AnswerRe: OOPs application Pin
sashidhar28-Jan-10 22:47
sashidhar28-Jan-10 22:47 
GeneralRe: OOPs application Pin
yrishi29-Jan-10 0:04
yrishi29-Jan-10 0:04 
GeneralRe: OOPs application Pin
yrishi29-Jan-10 1:14
yrishi29-Jan-10 1:14 

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.