I hate to pass data on the query string. Is there a way to pass data to the
serverside vb code using the object in showmodaldialog .
var myObject = new Object();
var retVal = new Object();
myObject.callty pe = "Edit"
retVal =
showModalDialog ("Test.aspx",my Object,"dialogW idth:700px;dial ogHeight:550px; s
tatus:0");
I can read myObject with no problem in the javascript of Text.aspx, but is
there any way to read the value in the server side vb onload module?
Thanks in advance.
Jim 2 2788
As far as i know NO :-)
however instead of passing the data on the url ( querystring )
you could use a form post (with hidden form field)
hth
M. Posseth [MCP]
"Jim M" <an********@dis cussions.micros oft.com> wrote in message
news:u3******** ******@TK2MSFTN GP09.phx.gbl... I hate to pass data on the query string. Is there a way to pass data to
the serverside vb code using the object in showmodaldialog .
var myObject = new Object(); var retVal = new Object(); myObject.callty pe = "Edit"
retVal =
showModalDialog ("Test.aspx",my Object,"dialogW idth:700px;dial ogHeight:550px; s tatus:0");
I can read myObject with no problem in the javascript of Text.aspx, but is there any way to read the value in the server side vb onload module?
Thanks in advance.
Jim
Jim M wrote: I hate to pass data on the query string. Is there a way to pass data to the serverside vb code using the object in showmodaldialog .
var myObject = new Object(); var retVal = new Object(); myObject.callty pe = "Edit"
retVal =
showModalDialog ("Test.aspx",my Object,"dialogW idth:700px;dial ogHeight:550px; s tatus:0");
I can read myObject with no problem in the javascript of Text.aspx, but is there any way to read the value in the server side vb onload module?
Thanks in advance.
Jim
Not without using an iframe on the modal page (you would need to post a form
containing the information to the page loaded in the iframe).
Of course, you could use a traditional frame on your modal page if you used
a querystring to load the page in the frame.
Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM" This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jim M |
last post by:
I hate to pass data on the query string. Is there a way to pass data to the
serverside vb code using the object in showmodaldialog.
var myObject = new Object();
var retVal = new Object();
myObject.calltype = "Edit"
retVal =
showModalDialog("Test.aspx",myObject,"dialogWidth:700px;dialogHeight:550px;s
tatus:0");
|
by: Shmuel (Seymour J.) Metz |
last post by:
Back in the innocent days of the last century, I would have used a
mailto link in my web page to allow people to cancel me. In the era of
mass harvesting of addresses by spammers and other criminals, that is
no longer prudent. I'd like to write a small CGI that will mail a
message without exposing my address to web spiders. The question is
whether the code for the CGI can still be retrieved via HTTP. Any
information would be appreciated.
...
|
by: Matt |
last post by:
I guess the principal differences between client-side and server-side code
is that
client-side code is processed in web browser, and server-side code is
processed in web server. In ASP.NET web controls, since it has the attribute
runat="server", so the controls will be processed in web server?? Do you
think
the processing time will be slower than tradiational ASP applications??
I guess the fundamental question is when do we use...
|
by: nick |
last post by:
Is possible for server side code to access the text of <asp:label> changed
by client side javascript code?
|
by: Jerry Camel |
last post by:
Trying to implement the following:
Users is logging in
They enter theire username and password and click a login button
The page should then display an activity indicator (animated gif) and then
call the server side routine that autheticates the user.
When the page comes back, the activity indicator disappears and any error
messages show up, or the user is taken to the application page if they were
authenticated.
| |
by: seanmle |
last post by:
Is it possible if I can call server side code without the page
refreshing?
Thanks,
Sean
|
by: Ben |
last post by:
Hi,
I made an application in classic asp (reservation of books and video stuffs
for students) and want to migrate to asp.net.
The user has to chose a date, then pushung on a submit button. The whole day
is then displayed in cels of a table. The user has then to click in a cel
representing a hour of the day and an object (book ..), and finally click on
the submit button to insert that reservation in the database.
My problem is: there...
|
by: javelin |
last post by:
I need to fire off some server side code, but I don't want to submit
the page I'm on. I know that's not technically possible (without
something like AJAX, maybe?). What I thought might work is to pop-up
another window (invisibly?), have it run the code, close itself and
return the results. What do you think, is it possible???
Please let me know if you have any ideas.
Thx!!!
|
by: OceanBreeze |
last post by:
I have added a LinkButton to the web page programatically from server side code using ASP 2.0 and C# in my Page_Load method. I also associate this LinkButton with a LinkButton_ClickHandler_Edit and write LinkButton_ClickHandler_Edit in my C# code.
I have coded linkbutton as:
LB1.Text = "Edit";
LB1.Click += new System.EventHandler(LinkButton_ClickHandler_Edit);
Everything is fine as yet.
|
by: Bob Jones |
last post by:
Here is my situation:
I have an aspx file stored in a resource file. All of the C# code is
written inline via <script runat="server"tags. Let's call this page
B. I also have page A that contains some javascript code that calls
window.open. I pass the resource url of page B to Page A's window.open
call. Page B is then loaded and executed but none of the server-side
code is rendered. If I view the source of the page, the code (and page...
|
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: 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: 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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |