Click here to Skip to main content
15,914,780 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionRe: Dropdown List width Pin
Venkatesh Mookkan7-Jan-07 16:27
Venkatesh Mookkan7-Jan-07 16:27 
QuestionDynamic menu items not triggering "Click" event Pin
Xpnctoc5-Jan-07 8:44
Xpnctoc5-Jan-07 8:44 
AnswerRe: Dynamic menu items not triggering "Click" event Pin
Colin Angus Mackay5-Jan-07 15:30
Colin Angus Mackay5-Jan-07 15:30 
GeneralRe: Dynamic menu items not triggering "Click" event Pin
Xpnctoc7-Jan-07 11:07
Xpnctoc7-Jan-07 11:07 
QuestionPosting in asp.net Pin
matsnas5-Jan-07 8:41
matsnas5-Jan-07 8:41 
AnswerRe: Posting in asp.net Pin
Pradipta Basu5-Jan-07 9:05
Pradipta Basu5-Jan-07 9:05 
AnswerRe: Posting in asp.net Pin
Venkatesh Mookkan7-Jan-07 16:37
Venkatesh Mookkan7-Jan-07 16:37 
QuestionRegisterStartupScript via Ajax / Atlas Pin
Malcolm Smart5-Jan-07 5:35
Malcolm Smart5-Jan-07 5:35 
Hi
C# / IIS.

I have a user defined control (derived from HtmlInputButton) which registers client side javascript when instantiated. If this control is present when the page is created, the javascript is registered. Nothing impressive there.

but...and ain't there always....

I want to create this control on the fly as part of a partial screen udpate using ajaxy/atlas type methods. The control is created, displayed etc, but the javascript isn't written out. I know why, as the page isn't being redrawn, and only the <div> is affected by some deeply hidden XMlHttpRequest object thingy, but that isn't much use to me.

So, the question is, can I register Javascript after the page is created, and if so, how? I tried creating the button, hiding it until needed, but the button params, and bits of the generated Javascript will only be known at runtime, so this isn't really an option. Any help much appreciated.

Cheers
AnswerRe: RegisterStartupScript via Ajax / Atlas Pin
Not Active5-Jan-07 6:10
mentorNot Active5-Jan-07 6:10 
GeneralRe: RegisterStartupScript via Ajax / Atlas Pin
Malcolm Smart5-Jan-07 12:11
Malcolm Smart5-Jan-07 12:11 
AnswerRe: RegisterStartupScript via Ajax / Atlas Pin
minhpc_bk6-Jan-07 4:50
minhpc_bk6-Jan-07 4:50 
GeneralRe: RegisterStartupScript via Ajax / Atlas Pin
Malcolm Smart7-Jan-07 9:11
Malcolm Smart7-Jan-07 9:11 
AnswerRe: RegisterStartupScript via Ajax / Atlas Pin
Malcolm Smart8-Jan-07 1:42
Malcolm Smart8-Jan-07 1:42 
GeneralASP.NET cannot read GAC even though has full access Pin
Ed.Poore5-Jan-07 5:32
Ed.Poore5-Jan-07 5:32 
GeneralRe: ASP.NET cannot read GAC even though has full access Pin
ednrgc5-Jan-07 6:47
ednrgc5-Jan-07 6:47 
GeneralRe: ASP.NET cannot read GAC even though has full access Pin
Ed.Poore5-Jan-07 7:29
Ed.Poore5-Jan-07 7:29 
GeneralRe: ASP.NET cannot read GAC even though has full access Pin
Ed.Poore6-Jan-07 8:05
Ed.Poore6-Jan-07 8:05 
GeneralRe: ASP.NET cannot read GAC even though has full access Pin
Ed.Poore6-Jan-07 8:04
Ed.Poore6-Jan-07 8:04 
Questiontable cell backcolor Pin
aransiola5-Jan-07 5:31
aransiola5-Jan-07 5:31 
AnswerRe: table cell backcolor Pin
Malcolm Smart5-Jan-07 5:40
Malcolm Smart5-Jan-07 5:40 
AnswerRe: table cell backcolor Pin
RichardGrimmer5-Jan-07 5:51
RichardGrimmer5-Jan-07 5:51 
GeneralRe: table cell backcolor Pin
aransiola5-Jan-07 6:03
aransiola5-Jan-07 6:03 
GeneralRe: table cell backcolor Pin
Malcolm Smart5-Jan-07 12:14
Malcolm Smart5-Jan-07 12:14 
GeneralRe: table cell backcolor Pin
aransiola6-Jan-07 1:42
aransiola6-Jan-07 1:42 
QuestionCommunicate From ASP.net Website to a VB.net Application on the computer Pin
ADY0075-Jan-07 4:55
ADY0075-Jan-07 4:55 

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.