473,407 Members | 2,312 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,407 software developers and data experts.

Atlas, JavaScript and PostBack

Hi all,

I am in a such situation that requires before Atlas do the
Partical/Atlas postback, a Client-Side JavaScript has to be executed
first, once the JavaScript execute successfully, the Partical/Atlas
postback should be fired.

I try to do like this in code behind,

protected void Page_Load(object sender, EventArgs e)
{
string test = GetPostBackEventReference(_buttonSubmit);
_buttonSubmit.Attributes.Add("onclick", "SomeJavaScript(this);
__doPostBack('_buttonSubmit', '');");
}

but it is not working as I expected. Any idea?

Thanks a lot.

Ronde

May 2 '06 #1
1 1496
DWS
You'd probably have better luck on the atlas newsgroups atlas.asp.net Looks
the same as what I'd try though. Next I'd try making an atlas control and
using the atlas click event to call the javascript.

Good Luck
DWS
"Ronde" wrote:
Hi all,

I am in a such situation that requires before Atlas do the
Partical/Atlas postback, a Client-Side JavaScript has to be executed
first, once the JavaScript execute successfully, the Partical/Atlas
postback should be fired.

I try to do like this in code behind,

protected void Page_Load(object sender, EventArgs e)
{
string test = GetPostBackEventReference(_buttonSubmit);
_buttonSubmit.Attributes.Add("onclick", "SomeJavaScript(this);
__doPostBack('_buttonSubmit', '');");
}

but it is not working as I expected. Any idea?

Thanks a lot.

Ronde

May 3 '06 #2

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

Similar topics

3
by: Piotrek | last post by:
Hi all. I am creating a web site, in which I would like to use Atlas. I created an user control (Test1), in which there is a DropDownList with some values. I set AutoPostbackProperty of this...
2
by: A.Wussow | last post by:
Hi Everybody, i want to load dynamically content from some user controls (with forms, or some data-controls) using atlas. So i use an UpdatePanel for loading the user control into a placeholder....
4
by: Diane Yocom | last post by:
I'm trying to use an Atlas UpdatePanel to just update a label when a text box has changed. The problem is that my textbox is in a user control and I'm using Master Pages - with the combination of...
3
by: mkr04 | last post by:
Hi Friends I am facing also Unk 8) nown error problem. In have page where I am using a User Control when I am using ATLAS to this page I have same problem, I have tried it by debugging but there...
0
by: Daniel | last post by:
I wrote a pretty neat website today that can utilize no postback AJAXIAN type features. Basically to populate a drop down with a web service call that hits a SQL server, based off the change of...
1
by: jmdolinger | last post by:
Hi all, I'm a newbie to Atlas (and recently ASP.NET) after coming from a long Java background, also have done quite a bit with an Ajax.NET/ASP.NET 1.1 project, but it was basically all...
1
by: Vaidas Gudas | last post by:
How to update ATLAS AJAX UpdatePanel by using javascript.
1
by: Jason | last post by:
I have a webpage that I've wrapped in an Atlas UpdatePanel. This page contains four textboxes, each with AutoPostBack set to true. The problem comes when someone edits the first box and tabs to...
2
by: Surya Vellanki | last post by:
Hi all, I have been struggling with this problem from a few days. I hope I will get some help here. I am developing an online quiz portal with ASP.NET 2.0 and I am using Atlas framework for...
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...
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.