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

keeping information in a page

Hi all,

I am using a webpage containing a user control. That user control contains a
drop down list that will postback the page. I want to make available
programatically some information populated by the usercontrol to the aspx
page.

How can i achieve that? is it possible to declare public properties? Is it a
good way to do or is there any better way?

best regards,

francois
Nov 18 '05 #1
3 830
Francois,

Yep that approach sounds best

"francois" <fr******@bettinghouses.com_NOSPAM> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi all,

I am using a webpage containing a user control. That user control contains a drop down list that will postback the page. I want to make available
programatically some information populated by the usercontrol to the aspx
page.

How can i achieve that? is it possible to declare public properties? Is it a good way to do or is there any better way?

best regards,

francois

Nov 18 '05 #2
due to IE's built in security features, i doubt this is possible. imagine what web authors could do maliciously if this kind of behavior was an option. it would be a virus writer's dream!

hth
jayson
Nov 18 '05 #3
You could use "viewState" variables to hold the values between posts.

---
Posted using Wimdows.net NntpNews Component - Posted from .NET's Largest Community Website: http://www.dotnetjunkies.com/newsgroups/
Nov 18 '05 #4

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

Similar topics

17
by: Peter Foti | last post by:
If I have a page located at: http://www.mysite.com/mypage.asp And I want to move this to: http://www.mysite.com/mypage/ Which is actually: http://www.mysite.com/mypage/index.asp
2
by: Colin Steadman | last post by:
Suppose you have a site structure that looks like this: |--Countries.asp | | |--Region.asp | | |--Cities.asp | | |--Population.asp
179
by: SoloCDM | last post by:
How do I keep my entire web page at a fixed width? ********************************************************************* Signed, SoloCDM
2
by: G.D. | last post by:
Hi, I'm using a third-party library which writes some useful information into a file. In order to do so, I just have to pass a file name to a library function and the file gets written. The...
1
by: Charlie | last post by:
Hi: I'm using the following directive in my asp.net pages to instruct browser to not cache pages. However, when I click back button, it does not return to server to get a fresh page, it just...
0
by: Dave Alvarado | last post by:
I'm working on some code that gathers data from a web interface to one of our servers (classic ASP). The problem is that the site uses session variables to store login information, so to move from...
3
by: Tim | last post by:
Hello All, Hope someone can point me in the right direction here. I have a ASPX page that is being created dynamically. My function adds Labels and Text Boxes to a Table ready for the user to...
7
by: David Lozzi | last post by:
Howdy, I have a usercontrol in my aspx page and when the page loads, I send it some property values based on the data displayed. I am sending it to a public property like below. However the...
2
by: crazychrisy54 | last post by:
Hi there I have a option, select drop down list which a user can open. My page however refreshes very frequently and when this occurs the selected drop down list will pop back up. The user then...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.