|
by: Lily |
last post by:
Hi all,
Any help is greatly appreciated.
I have two ascx called MyFirstAscx.ascx and MySecondAscx.ascx. These
two are contained in MyPage.aspx
I have a function in MySecondAscx.ascx called MySecondPageSub that I
would like to call when a button in MyFirstAscx.ascx is clicked.
|
by: George Durzi |
last post by:
I created a simple user control which contains a hyperlink to link the user
to a topic in a compiled help file. I named all my help topics to have the
same name as the aspx they are for.
So in the user control help.ascx's html, I have this:
<a href='<%# GenerateHelpLink()%>' class="mischrefcontent2" id="hrfHelp"
runat="server"...
|
by: comp |
last post by:
I have a user control inside an aspx page. I was able to
create a Public property inside the ascx file and call it
from the aspx but whatever I do, I can't find the way to
cause an event from inside the ascx file to call any
function/sub/property etc. The error I'm getting
is "Reference to a non-shared member required an object
reference".
|
by: Martin Eyles |
last post by:
Hi,
I have a .aspx page which has a .ascx file included through the lines
<%@ Register TagPrefix="aspcustom" TagName="menu" Src="Menu.ascx" %>
and
<aspcustom:menu id="Menu1" runat="server"></aspcustom:menu>
both of these files have vb.net code behind.
I am processing some information from a post back in the code behind for the
|
by: yousuf |
last post by:
I have a dataList that pulls from a database table - Im trying to do
the normal Edit, Update, Delete, Cancel - on it.
when I put the following inside a user control - .ascx file it dosn't
work, but when I leave it in the Page, it works fine
<script language="C#" runat="server">
void populateList(){
//prepare data adapter, connect...
|
|
by: fernandezr |
last post by:
I would like to use a user control as a template inside a repeater.
Some of the fields in the control should be hidden depending on whether
or not there is data. I'm still a ASP .Net newbie so the way I'm going
about doing this might be a little off. I'd appreciate some help.
Below is the code I have thus far but I'm not sure how to...
|
by: ThazKool |
last post by:
I am trying to get the name of the ascx file from inside a C# script
tag inside the ascx file. I have looked through all the properties of
the control, but I cannot find anything that gives some sort of path or
name. Can anyone help?
Thanks,
ThazKool
|
by: Bert |
last post by:
Hi
How can you call a function on a user control(.ascx) ? what is the syntax
for this?
thanks
Bert
|
by: Brad Baker |
last post by:
I have created a usercontrol (ascx file) which contains a formview, inside
of the formview I have an EditItemTemplate and an ItemTemplate. Both the
EditItemTemplate and ItemTemplate have link buttons which call some code to
changed the formview mode from Edit to ReadOnly or vice versa. When I run
the code though and click the link buttons, the...
|
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...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
|
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...
|
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...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|