473,406 Members | 2,713 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Showing Error in pop-up boxes in Web Forms

Hi!

I am working on a ASP.NET webform application. I need to show errors
on a pop-up window. I want to show some general program related errors
and not just errors from input validations which can be showed on a
ValidationSummary control. Please let me know if there is a way to do
it.

Thanks
Ipsita
Nov 18 '05 #1
1 1127
Ipsita,

To do this you need to put javascripts alert calls to your response stream.

Example:

Response.Write("<script>alert('ErrorText')</script>")

Eliyahu

"Ipsita" <ip************@gmail.com> wrote in message
news:ef**************************@posting.google.c om...
Hi!

I am working on a ASP.NET webform application. I need to show errors
on a pop-up window. I want to show some general program related errors
and not just errors from input validations which can be showed on a
ValidationSummary control. Please let me know if there is a way to do
it.

Thanks
Ipsita

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: M.N.A.Smadi | last post by:
HI; I am having the following error. I am using someone else's code and all they are doing is pass an argv to a function then def execute_action(manager, argv): method_name =...
2
by: tllee | last post by:
I wrote a simple stack program using class template on VC++ 2003 but am unable to resolve the following link errors: LINK : error LNK2020: unresolved token (0A000046) Stack.__dtor LINK : error...
4
by: zlj0000 | last post by:
//迷宫问题 #include<stdio.h> #include<malloc.h> #define sqstack S #define STACK_INIT_SIZE 100 #define STACKINCREMENT 10 struct zuobiao{ int i;
4
by: mikado | last post by:
Hi, I want to access the gmail account through net/pop library and I try this example : Class: Net::POP3 However,I have a timeout error such that: c:/ruby/lib/ruby/1.8/timeout.rb:54:in...
0
by: erik.erikson | last post by:
I am getting a compiler error that I can't well explain or even understand the origin of (though I boiled it down close...). Below is a bare-bones example. What I am doing is defining the...
3
by: shrew83 | last post by:
Hi, could anyone please tell me what is the problem with the following code : const int MAX = 100; class Stack{ protected: int stk; int top; ...
5
by: =?Utf-8?B?a2F0?= | last post by:
Account: 'pop.griffincreek.net (3)', Server: 'pop.griffincreek.net', Protocol: POP3, Server Response: '-ERR Invalid command.', Port: 110, Secure(SSL): No, Server Error: 0x800CCC90, Error Number:...
2
by: Jolie Chen | last post by:
I am learning template programming now, and I wrote the following code #include <iostream> #include "Queue.h" using namespace std; template <typename Tclass QueueItem { public: QueueItem(T...
1
by: nRk | last post by:
Hi, I am working on asp.net 2.0 with Visual Studio 2005. My asp.net project contains one Masterpage. I exposed my asp.net project in my machine (Windows XP with IIS 5.1) and access using...
14
by: randysimes | last post by:
I am writing a Stack template. The stack is declared as an array. ; ... } I have several functions in this class template, Pop() //removes last item of stack, Push() //pushes an item to the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.