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(objec t sender, EventArgs e)
{
string test = GetPostBackEven tReference(_but tonSubmit);
_buttonSubmit.A ttributes.Add(" onclick", "SomeJavaScript (this);
__doPostBack('_ buttonSubmit', '');");
}
but it is not working as I expected. Any idea?
Thanks a lot.
Ronde 1 1511
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(objec t sender, EventArgs e) { string test = GetPostBackEven tReference(_but tonSubmit); _buttonSubmit.A ttributes.Add(" onclick", "SomeJavaScript (this); __doPostBack('_ buttonSubmit', '');"); }
but it is not working as I expected. Any idea?
Thanks a lot.
Ronde
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 DropDownList to
true. In addition I created new event (TestEvent), which is fired when
selection is changed in DropDownList.
Then I placed this user control on my another page, in which I have
|
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.
Using buttons for loading new content works fine. But i still want to
use a function which is callable per javascript. I think this way is
more flexable than using the Buttons, becaus every button needs it's
own Sub-Routine. But i want to have...
|
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 these two things, the page
flashes everytime my textbox changes and the panel is updated.
If I just use a regular textbox along with the Master Page, it works fine.
If I use by user control without the Master Pages, it works fine. When I...
|
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 is no error. when I
click any button or any control that generate postback , I am facing
this problem.
I have tried ATLAS on many pages but I am observing that this error is
coming to this pages , where User Control(with PostBack) has used.
|
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 another drop down.
<%@ Page Language="C#" Title="Call Update" AutoEventWireup="true"
CodeFile="UpdateCall.aspx.cs" Inherits="Call_UpdateCall" %>
| |
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 javascript, nothing really having
to do with ASP.NET...
I'm attempting to put together an application that consists of several
GridView controls each bound to some xml data. Each table exists in
its own update panel. The two effects I'm going for are:
|
by: Vaidas Gudas |
last post by:
How to update ATLAS AJAX UpdatePanel by using javascript.
|
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 the second box. They have
enough time to make a quick edit to the second box before the postback
completes and then the value in the second textbox is reset to the original
value. Is there anything I can do about this? It's really causing...
|
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 rich UI.
I was in need of a timer control which keeps track of the quiz time
and sends a post back when the time expires!
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |