|
by: Michel |
last post by:
Hi all,
Maybe a stupid question, but I wondered if it was possible to access one of
the public variables on the page from within a user control on that page?
I would like to use a property in the user control to access the correct
public variable. This property should contain the variables name.
Thanks in advance,
|
by: Owin |
last post by:
Hi all,
I've created an User control. It's an extension of a textbox wich has some extra properties so that validation becomes a lot faster.
The control wordks great if autopostback is on. When there's a value in the textbox, the (overridden) textchanged event fires and validation is performed.
Now I want to turn off autopostback. So I want my contol only validate if the submit button is pressed. I've tried Page.Validate(), but It seems...
|
by: owingruters |
last post by:
Hi all,
I've created an User control. It's an extension of a textbox wich has
some extra properties so that validation becomes a lot faster.
The control wordks great if autopostback is on. When there's a value
in the textbox, the (overridden) textchanged event fires and
validation is performed.
Now I want to turn off autopostback. So I want my contol only validate
|
by: syedsheeraz |
last post by:
Hi all. Does anyone know if there is a way to gain programmatic access
to the user control inside of a page after it has been cached? Let me
elaborate more by telling you what I am doing. I am using page
fragment caching to cache results of a search while the header is
dynamically loaded each time. So I have a page containing a user
control which contains my datagrid for displaying the results. The
user control has the outputcache...
|
by: Matt Jensen |
last post by:
Howdy all
Been searching and can't find a good answer to my problem.
I've got a usercontrol 'banner' at the top of my page, and when the
selection in the dropdown list changes I want the "host" webform/page to be
reload so the data on it (in repeaters) is reloaded using a new value from
the dropdownlist (and which btw is also stored in a session variable for
later use).
I'm not sure the best way to do this.
|
|
by: ivanpais |
last post by:
Hi,
I have a Web User Control, Lets say "Foo.ascx", that contains a button
"btnFoo".
I have a Master Page "Bar.master", that has a label "lblBar". This
label is exposed by a public property BarLabelText.
I now have a contentpage "FooBar.aspx", where "Bar.master" is the
master page and in the content section has the control "Foo.ascx".
|
by: CodeRazor |
last post by:
I have a user contol hosted in a webform. The user control interfaces with an
http component.
When the user control loads, a request is sent to the http component. It
takes around 10 seconds before a response is returned.
While this is happening the webform cannot do any other processing.
I want to use a client callback to free up the web form while the
usercontrol is busy doing its stuff.
I have got it working fine if I generate the...
|
by: AlecL |
last post by:
I have a page that has about 5 or 6 user controls ranging from hearders
to footers to ad space but when I add a new user control which is a
form it gives me the exception "page can have only one server-side Form
tag" error. Here is the brief code that I am adding to the code:
on top:
<%@ Register TagPrefix="uc" TagName="CareerStats"
Src="/Controls/CareerStats.ascx" %>
and the div where I added the control:
|
by: =?Utf-8?B?VDhS?= |
last post by:
Ok...I've been looking for an answer to this problem and can't seem to find
one...Framework 1.1 mind you.
I have a base class that inherits from UserControl. I have 5 and soon to be
12 user controls that derive from this base class that represent US States
with appropriate business logic and rules. Inside the base class is an event
that is raised whenever you click a checkbox in the datagrid of each of the
user controls...no biggie... ...
|
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...
|
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,...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
|
|
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...
|