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

How to reference and populate controls on Content Page thru popup page.

1
I am using masterPage and I need to populate a textbox that is in a content
control with data from popup page that is not part of the master page. here is the javascript produced:

<script>window.opener.aspnetForm.ctl00_ContentPlac eHolderMain_txtCM.value='7/15/2006';self.close()</script>

I basically need to populate txtCM on the content page. When you look at the source of your content page the control is renamed as ctl00_ContentPlaceHolderMain_txtCM and there is <form name='aspnetForm'..> is automatically added to your code.
Sep 5 '07 #1
1 1186
JosAH
11,448 Expert 8TB
Greetings, you should have posted your question in the .NET Forums section,
not in the .NET Articles section. I'll move your question for you.

kind regards,

Jos
Sep 6 '07 #2

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

Similar topics

3
by: mscertified | last post by:
I've just started playing around with VS.NET and am working thru a book. I down loaded all the code from the book. I created a virtual folder and pointed to chapter 1 which has a simple aspx page...
0
by: Todd | last post by:
I am doing some coding in a popup page which is kicked off from a parent page (of course). When clicking on the Save button in the popup, I am attempting to do some validation, save some data, and...
4
by: Tomk | last post by:
I would like to make a routine that I can reuse on all my web forms to loop thru all webcontrols. However to do this I will need to pass a reference of the class that is associated with the form...
3
by: Yul | last post by:
Hi, We are in the process of designing an ASP.NET app, where a user will enter some 'Customer ID' to be queried in the database. If the ID is valid, several stored procedures will be called to...
2
by: Bill44077 | last post by:
Hi, I am trying to iterate though the controls on a content page that has a master page so I can disable text. If it weren't on a content page it is simple: foreach (Control c in...
4
by: Mori | last post by:
I am using masterPage and I need to populate a textbox that is in a content control with data from popup page that is not part of the master page. This code works if no masterpage is involved. ...
5
by: ApexData | last post by:
My popup form can reference the MAINFORM by using either line of the code shown below: --------------------------------------------------------------------------------...
1
by: sudip2008 | last post by:
When using the Calendar Popup in a content page of a masterpage the strForName is always set to aspnetForm This breaks this line from working properly window.opener.document.forms...... How can...
1
by: Øyvind Isaksen | last post by:
I need to know how to handle controls inside a repeater, how to send and recieve data from another page to one spesific control inside a repeater. Clue: I have a repeater that dynamicly lists...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.