Congratulations to all the winners of April 2013, they have won INR 3400 cash and INR 20147 worth prizes !
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 12416 |  Welcome, Guest!   Register  Login
 Home > Forums > ASP.NET > without refresh web page display alert box ...
Gow.Net

without refresh web page display alert box

Replies: 3 | Posted by: Gow.Net on 9/18/2012 | Category: ASP.NET Forums | Views: 706 | Status: [Member] | Points: 10  Download source file 


how to display without page refresh display alert box

my code

  if (Icollection.Count == 0)

{
Response.Write("<script>alert('no data');</script>");
}
else
{
foreach (SearchBo search in Icollection)
{
string fname = search.Filename;
int id = search.E_id;
Response.Write("<script>alert('" + fname + "');</script>");
}
}


gowthaman8870226416


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Jayakumars
Jayakumars  
Posted on: 9/18/2012 10:48:52 AM
Level: Bronze | Status: [Member] | Points: 25

hi

Gow.Net
put your Jscript Body onload or client side script using return

Mark as Answer if its helpful to you

Regards
Email Id: kumaraspcode2009@gmail.com

Gow.Net, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Ranjeet_8
Ranjeet_8  
Posted on: 9/20/2012 6:11:03 AM
Level: Gold | Status: [Member] | Points: 25

You can use AJAX Update Panel

Gow.Net, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/19/2013 4:04:04 AM