473,834 Members | 1,904 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how can get reference to web user controle (.ascx form) aspx "table"

hi,
can some one tell me snip code to get reference to web user controle (.ascx
form) aspx "table" and its rows & cells.
regards
Sam.
Nov 16 '05 #1
2 2547
If you have a web user control (.ascx) on a page, then you can add the
definition to your code:

protected MyControlType MyControlId;

The control needs to expose its controls (internal/public fields, instead of
protected).

-Michael
MVP

<sam> wrote in message news:eO******** ********@TK2MSF TNGP10.phx.gbl. ..
hi,
can some one tell me snip code to get reference to web user controle
(.ascx
form) aspx "table" and its rows & cells.
regards
Sam.


Nov 16 '05 #2
plz can explain more i did'nt get ur point

regards

Sam

"Michael Giagnocavo [MVP]" <mg*******@Atre vido.net> wrote in message
news:ef******** ******@TK2MSFTN GP10.phx.gbl...
If you have a web user control (.ascx) on a page, then you can add the
definition to your code:

protected MyControlType MyControlId;

The control needs to expose its controls (internal/public fields, instead of protected).

-Michael
MVP

<sam> wrote in message news:eO******** ********@TK2MSF TNGP10.phx.gbl. ..
hi,
can some one tell me snip code to get reference to web user controle
(.ascx
form) aspx "table" and its rows & cells.
regards
Sam.

Nov 16 '05 #3

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

Similar topics

1
285
by: | last post by:
hi, can some one tell me snip code to get reference to web user controle (.ascx form) aspx "table" and its rows & cells. regards Sam.
0
2493
by: Michael Craig | last post by:
Hello, I have written an application using the calendar control in a regular aspx application, to prove I could get the functionality I wanted. Which is to display the current month and populate the date cells with events kept in a database. I'm using the DayRender event of the calendar control to query the database and insert new label controls into each cell, for each event. Here's the problem.. When using the same logic in a web...
2
11398
by: C K | last post by:
I am having trouble getting the page_load event to fire from within my usercontrol - my code is below, I'm sure I'm missing something simple. Just your basic web user control - I've just began using them. My aspx page is simple: <%@ Register TagPrefix="TestPoll" TagName="Message" Src="poll.ascx" %> .... <form id="Form1" method="post" runat="server"> <TestPoll:Message runat="server" ID="Message1"/>
1
271
by: Kruno | last post by:
Hi ! if anyone knows the answer I would appreciate it: I have a user control for the header of the page with one label in it..I want the label to change as the pages are changing.... my question: I want to reference a text property of a label in the control
2
3348
by: John Ninan | last post by:
I am creating Dynamic Usercontrol in Asp.net application. In this application I have a combobox(aspx Page). Which contains various items. Based on item selected I am dynamically populating Usercontrols. Problem: When I am populating dynamic user control (ascx) page in Page_load event it works fine for the first list item from combobox. When I change the item in combobox, usercontrols are build properly but value will be same in second...
3
2036
by: Paul | last post by:
I have a .aspx site. I have a header that I want on the entire site. So I made it a User Control ..ascx file. In this header, I make one SQL call, so I need to create all the connection objects, etc. So I embed that User Control in the .ascx file. No problem. The problem is I have to make another SQL call in the .aspx file. But it appears that I can not use the same connection object that I declared in the
0
1110
by: sridev | last post by:
i am new to ASP.NET with CSharp. I am having an application, Which has a web form as Home.aspx. In that page iloaded a user control web form (Insertclient.ascx) in the page load.Now i have a next button in the Insertclient.ascx, When i click the next button i should load an other usercontrol web form(success.ascx) into the Home.aspx.how can i do that.....since i am new to asp.net with Csharp i dont know hoe to do it ....so plz help me to...
1
1091
by: sridev | last post by:
i am new to ASP.NET with CSharp. I am having an application, Which has a web form as Home.aspx. In that page i loaded a user control web form (Insertclient.ascx) in the page load.Now i have a next button in the Insertclient.ascx, When i click the next button i should load an other usercontrol web form(success.ascx) into the Home.aspx.how can i do that.....since i am new to asp.net with Csharp i dont know hoe to do it ....so plz help me...
3
3038
by: C | last post by:
Hi, I have a User Control (.ascx) which has links to all the ASPX Pages that exist in my application. This User Control is used on all my ASPX's. I am havinga problem with the paths in my ASCX. If I click on a link from an ASPX page on the root of the project it works
2
1352
by: Dave Alessi | last post by:
I migrated my project from VS 2003 to VS 2005. The application runs ok with a few exceptions, one being an ambigoius reference when loading a form. My application uses its own "master page" technique, where the ASPX form is static, and the body of the screen is loaded as an ascx file. One particular ascx file throws an exception when I try and load it. The error is "ambigous reference". I have tried everything I can think of to resolve...
0
9799
marktang
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...
0
9646
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,...
0
10512
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10220
tracyyun
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...
1
7760
isladogs
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...
0
6957
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5627
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4427
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
3
3083
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.