473,385 Members | 1,615 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,385 software developers and data experts.

MessageBox does not popup if using with Atlas on the web application

I am try to use the Atlas

Here is my example:
<<atlas:ScriptManager ID="S1" runat="server" />
<div>
<table id=tbl1 runat=server border=0 width=100%>
<tr>
<td width=20% class=lbltxt>
<asp:Label ID=Label1 Text="enter text:"
runat=server></asp:Label>
</td>
<td class=lbltxt>
<asp:TextBox ID=txtSource Width=250px
runat=server></asp:TextBox>
</td>

</tr>

<tr>
<td colspan=2 class=lbltxt>
<asp:Button ID="btnMessage" runat="server"
Text="Submit" />
</td>
</tr>
<table>
</div>

<atlas:UpdatePanel runat="server" id="MyUpdatePannel">
<ContentTemplate>
<asp:Label ID="lblCurrentTime"
runat="server"></asp:Label>
</ContentTemplate>
<Triggers>
<atlas:ControlEventTrigger ControlID=btnMessage
EventName="Click" />
</Triggers>
</atlas:UpdatePanel>

<atlas:UpdateProgress ID="myUpdateProgress" runat=server>
<ProgressTemplate>
<asp:Label Text="please wait" runat="server"
CssClass="Testing"></asp:Label>
</ProgressTemplate>
</atlas:UpdateProgress>

--- Code behind ---

protected void Page_Load(object sender, EventArgs e)
{

txtSource.Focus();

if (Page.IsPostBack)
{
CreatePDF();
}
}

private void CreatePDF()
{
--Message box if empty
if (txtSource.text == "")
{
//Call my message box class to show the message
MessageBox.Show("Please enter text here");
return;
}
else
{
//Do something for me
}
}

if I do not enter text in the textbox and click submit, I message box
does not show up.
If I do not use with Atlase Framework, then it work fine.

Please help.

Oct 17 '06 #1
0 1304

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

Similar topics

2
by: Alexander | last post by:
I use same assembly in Application and in Web. How can i determine - assembly using in Application or in Web? (Some feautures i cant use in Web)
3
by: Naveen | last post by:
How can we keep track of how many active users are using the application.
0
by: Basawareddy Gopsen | last post by:
Hi., I have an requirement, i have one Gridview, when user mouse over on the each row of the gridview, it has to show tooltip and the data should be fetch from database dynamically for each row...
4
by: s.bussing | last post by:
Hi All, I'm new to Atlas and I did some programming using AJAX, but I'm wondering if it is possible to hava a javascript which can call a server-site function, in my case to write data to the...
3
by: harish.c27 | last post by:
Hi i have using .net 1.1 (vs 2003) in my application i am facing a problem , that is the text messages on the messagebox does not appear most of the time. Please any one have any idea regarding...
0
by: suedasszyy | last post by:
Haiiii.... i'm new for VB.net. can someone help me to solve those question? is it possible to draw a graph such as Sin graph using console application? if not, how can i draw a graph...
1
by: ampravin | last post by:
Hi all, I am using Atlas framework and while my session time out, am getting an unknown alert. Is it possible to avoid this? If possible can any one help me out of this? Thanks in advance.
5
by: Claudia Fong | last post by:
Hi, I'm using console application to connect to a db and I managed to use the SELECT statement to display records in my DB but I also need to UPDATE some fields in my table but after I run the...
3
by: ramesh.nrk | last post by:
Hi, Is there any way to read the cookies which are in local machine? Can we create cookies using windows Application in the local machine? I am developing a windows application which needs...
3
by: Oriane | last post by:
Hi there, I would like to open my Asp.Net project as a "Web Application" rather than as a "Web Site" in Visual Studio. But the thing is that I use the System.Web.Profile and the auto-generated...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.