Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
| Search | Today's Posts | Mark Forums Read
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old November 10th, 2004, 04:25 AM
Registered User
 
Join Date: Nov 2004
Location: Bangalore, Karnataka, India.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sujith Manuel
Default Client Side equivalnet code for Server.Execute()

Hi All,

I am using vbscript in my asp.net application for doing all client side operations.My specific requirement is that i want to execute an aspx page from client side without opening it in the browser. From the server side i am able to do it using "Server.Execute()" function, is there any equivalent function available for client side?.

Expecting help...

Thanks in advance,
Sujith Manuel.

Sujith Manuel
  #2 (permalink)  
Old November 10th, 2004, 09:51 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

What are you hoping to acheive? Any object that you can provide a URL too (such as the browser itself) can "execute" a page. You can make a hidden frame (either with a frameset or with an iframe) that you can give a URL too. Then you can scrape the output of it with javascript. Explain more about what you are trying to do and we may be able to give you a better recommendation.
  #3 (permalink)  
Old November 10th, 2004, 11:32 AM
Friend of Wrox
 
Join Date: Sep 2004
Location: , , India.
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
Default

True why u need the whole aspx page to be executed u can execute some code on server if u neeed

  #4 (permalink)  
Old November 10th, 2004, 04:29 PM
Authorized User
 
Join Date: May 2004
Location: , , USA.
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default

From IE 5.0 and up you can use the XMLHttp activeX object and call any ASP.
The ASP can return a string or XML you can parse at the client.

SS
  #5 (permalink)  
Old November 16th, 2004, 02:32 AM
Registered User
 
Join Date: Nov 2004
Location: Bangalore, Karnataka, India.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sujith Manuel
Default

Quote:
quote:Originally posted by DARSIN
 True why u need the whole aspx page to be executed u can execute some code on server if u neeed

Actually i want to execute some C#.net code at server side and this code shall put some data in client cookies. but this shall be done only if the browser opens the corresponding page. that is the reason why i am trying to do it in client side.

Is there any other way to execute .net code from client side.

Thanks in advance,
Sujith Manuel.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Converting Client-side to Server-side Code kwilliams ASP.NET 2.0 Professional 1 November 21st, 2007 05:25 PM
Firing server side events at client side codes mehdi62b ASP.NET 1.0 and 1.1 Basics 6 May 18th, 2005 09:11 AM
sharing a server-side variable with client-side pigtail Javascript How-To 6 November 4th, 2004 02:01 AM
Two Client Side vs Server Side issues Milo Classic ASP Professional 5 May 25th, 2004 02:47 PM
Accessing Server Side Data on Client Side steve456 Classic ASP Professional 3 October 15th, 2003 02:33 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.