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

retrieve value from a hidden field on asp.net page

62
Hi, I have a access form, which has some text fields on it and a few buttons and a web browser control.

How it works:
  1. user enters some information in the text field.
  2. user clicks button to go the the web page.
  3. web page opens a Silverlight application.
  4. user does what they need to and saves (in this case) a graphic on a map.
  5. The Silverligth application takes the ID of the graphic and places it on the ASP.Net page using Javascript.

What I need:

I need to find a way for the Access form to get hold of that ID - now kept in the ASP.Net hidden field.

Can anyone help me with this please?
Jun 11 '10 #1
6 2886
Frinavale
9,735 Expert Mod 8TB
I don't know the capabilities of Access with regards to dealing with traversing through DOM...but that is what you'd have to do. You would have to somehow get a hold of the source file for the ASP.NET page and search through all of the elements in that source code to find the HiddenField element. Then you would have to retrieve the value attribute from the hidden field element.

I'm sorry but I don't know how to use Access to accomplish this.
Jun 11 '10 #2
MMcCarthy
14,534 Expert Mod 8TB
Unless there are some tools available that I'm not currently aware of I would think the only way of doing this would be to search the source file as a text file. Depending on the file size this could take some time.
Jun 11 '10 #3
MMcCarthy
14,534 Expert Mod 8TB
@Frinavale

Thanks for giving this your attention :)
Jun 11 '10 #4
LoanB
62
Many thanks team. I will give it some more attention this weekend and next week and If I find a solution I will share.
Jun 11 '10 #5
Jim Doherty
897 Expert 512MB
@LoanB
I answered something similar to this a while ago

http://bytes.com/topic/access/answer...ccess-shodocvw
Jun 12 '10 #6
LoanB
62
Awesome stuff Jim, thanks. Ill let you know how it goes.
Jun 12 '10 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Andres Eduardo Hernando | last post by:
Hi, I'm not entirely sure this is the right group to ask this question, but I saw a similar one above, and the group's charter is not clear enough about it, so, here I go: ;) What is the...
0
by: 42 | last post by:
I implemented a simple class inherited from Page to create a page template. It simply wraps some trivial html around the inherited page, and puts the inherited page into a form. The problem I...
4
by: steph | last post by:
Hello, I've got a text field in an access form (Microsoft Access 2002, SP3), that the user has to fill out. Now I don't want the user to leave this field (and this record) until he has filled...
1
by: fonzie | last post by:
I a form with tab control will all fields based on one table. I have some code setup for the 'On Change' event of the tab control that checks to see if a field on the main form is null. If it is,...
1
by: Mike | last post by:
Hi all, Hum i just erased the whole message by mistake, :( Ok so i want to hide a specific field in an Access form using a toggle button, but i cant seem to get the right syntax. Right now im...
6
by: George Slamowitz | last post by:
Hello all I have a HTML control generated by the following: INPUT TYPE="hidden" NAME="MyAnswer" VALUE="" Is there a way to reference the Value of this control using VB program code??? ...
5
by: Mejmeyster | last post by:
Hi, I'm trying to modify a pre-existing form so that the text boxes will allow me to store more than 255 characters in them. I've traced back to the table where all the data is stored and tried...
14
by: Sofia | last post by:
Hi there is text field and a button.... now i have to send this textfield value to another page without using form tag......i have to use javescript... is there anyone who can help me regarding...
6
by: blip | last post by:
Have VBA module that evaluates today’s date and then chooses either end or beginning of month date. Want to hold this date in a form temporarily whilst queries use this date. How do I write the...
2
by: Fabio Mastria | last post by:
My application has to call a webpage with some hidden field, fill their values with some parameters and then call the submit to the form which has the action property set to a page of another web...
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: 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: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
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: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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.