codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  how to access a method/variable declared in a web user control form(.ascx) from a web form(.aspx) (C#)  ipsoftware at 12:22 on Tuesday, January 04, 2005
 

Suppose I have a button in .aspx file, two labels and one method in .ascx file. if I click on the button, I want to change the label text display and pass some parameters to the method to do some processing, How may i do that? I already declared the labels and methods to be public. seems declaring a instance of web user control class not working...

  Re: how to access a method/variable declared in a web user control form(.ascx) from a web form(.aspx) (C#)  ipsoftware at 13:37 on Tuesday, January 04, 2005
 

and vice versa how to access method /variable in .aspx from a .ascx file? is that possible?








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Help! IFrames!
•  Re: after updation of a table open another program .. need help
•  Re: Link doesn`t display full file name
•  Re: Passing a resultset from a servlet to JSP
•  Re: Help: Trouble with z-Index and SELECT lists
•  Re: Hide Column
•  Re: text field multiple
•  Re: crystal report - Logon failed.
•  RadioButtonList Formatting: Multiline Text Aligning


Recent Articles
Communicating with the Database (Using ADO)
MagicGrid
Simple Thumbnail Browsing Solution
Type Anywhere
A Better Moustrap: FmtDate to replace FormatDateTime
ASP.NET Forum Source Code
Internal Search Engine
Javascript Growing Window
Simple date validation
Search engine friendly URLs using ASP.NET (C#.NET)


Site Survey
Help us serve you better. Take a five minute survey. Click here!

© Copyright codetoad.com 2001-2005