IT Community - Software Programming, Web Development and Technical Support

My LiteralControl inside the AJAX panel is not working?

This is a discussion on My LiteralControl inside the AJAX panel is not working? within the ASP and ASP.NET Programming forums, part of the Web Development category; hi every one, i trying to execute this code lines on click of an asp:button control which is place ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 08-20-2007, 11:00 PM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 882
kingmaker is on a distinguished road
Send a message via Yahoo to kingmaker
Question My LiteralControl inside the AJAX panel is not working?

hi every one,
i trying to execute this code lines on click of an asp:button control which is place inside the Ajax panel, but i am not getting this alert message, but this line works fine if i remove the AJAX panel, why? any solution, thanks in advance!

string code = "<script language='javascript'>alert('Your account has been closed succeesfully')</script>";
Page.Controls.Add(new LiteralControl(code));
__________________
The KINGMAKER
Makes Every Thing Possible

Stuffs (My Blog)
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use ajax in asp.net and how to install ajax in my system vel.m8 ASP and ASP.NET Programming 5 04-08-2008 08:55 PM
How to validate a TextBox inside a Repeter? KiruthikaSambandam ASP and ASP.NET Programming 0 03-24-2008 04:27 AM
publicdomainregistry - control panel? annerz General Web hosting Discussions 0 11-06-2007 09:10 PM
Can we have a commit statement inside a trigger? if no why cant we? Mramesh Database Support 6 09-11-2007 03:08 AM
How to access files and folders inside a ftp site? Sathish Kumar C# Programming 4 07-02-2007 07:29 AM


All times are GMT -7. The time now is 10:03 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0