|
by: Mike Speak |
last post by:
I have a user control that I want to use to render 4 menu items
(retrieved from db) on the top of each of my asp.net pages.
The user control defines a table, with one TR and one TD. Within the
TD I have a placeholder defined:
<asp:PlaceHolder ID="categoriesPlaceHolder" Runat="server" />
In the code behind of the user control, on the Page_Load event I am
retrieving data from db and adding controls to the placeholder as
|
by: luca |
last post by:
I'm trying to build a Server Control, it's a calendar to manage sellers
appointments (don't answer me to use and custumize Calendar Control because
unluckily it's not possible for this specific project).
A piece of my control's interface is composed of a table and in each of its
cells are stored informations about a seller, a date and a time range.
Each of these cells has to be an interactive element: I should be able to
process datas...
|
by: Scott Yenor |
last post by:
Hello,
I am writing a control library that has a control that inherits from
System.Web.UI.Control. The control works fine and I am able to loop
through the child controls and display everything fine until I try to
put some ASP.NET processing code in-between the tags.
For example:
This works fine. The control executes and displays everything just
|
by: One Handed Man \( OHM - Terry Burns \) |
last post by:
When using a custom control. In order to check and see if values have
changed one has to implement the IPostBackDataCollection interface. The
values returned for the control seem to be simply a string with comma
delimited values.
For example, if I were to render two text boxes. One with the Value Terry
and the Other with the Value 'Burns' I would get the following value
Terry,Burns.
|
by: Guadala Harry |
last post by:
I have a very simple aspx page (no code-behind logic) that hosts two 3rd
party controls (a dynamic menu and a calendar). The dynamic menu has the
bare minimum number of properties set (declaratively), and the calendar has
no properties explicitly set (declaratively or otherwise). These controls
are placed on the aspx page declaratively. The point so far is that this is
the absolute minimal aspx page with the simplest possible implementation...
|
|
by: GP |
last post by:
Is it possible to iterate through all the controls collection and make the
textboxes alone as read only.I don't see a readonly property for the
Control.Can some one help me in this context?
I want to do something like this below.But I get a message Readonly is not
valid property.
foreach (Control ctl in pnlBenefits.Controls)
{
if (ctl is TextBox)
ctl.ReadOnly=false;
}
|
by: estebistec |
last post by:
Hello,
I've developed a CompositeControl in C# for ASP.NET 2.0. In this
control I am simulating Edit and View modes by hiding or showing
appropriate controls (setting Control.Visible). Basically I'm
simulating the functionality of the DetailsView or a GridView cell,
except that my data is dynamic (variable number of fields), so I can't
just use those. So I have custom edit and view controls for this
dynamic data and I render one of...
|
by: Nick Gilbert |
last post by:
Hi,
How can I create a custom control which will wrap its content in a
header and footer?
eg:
Is it possible to create a .NET user control which can surround other
controls? eg:
<my:RoundedCornerBox id=foo runat=server>
|
by: lak |
last post by:
got a question in vb.net
I have a form that render controls on panels for several pages.There are 10 controls per page.
suppose I have a control say class on 4 th page that i need to get more controls depending on class user entered currently I am rerendering all the controls on all the pages with below code which works exactly the same way that I need to do.
My question when rerendering the controls on each page user can see as the...
|
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: 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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
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...
|
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: 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...
|