|
by: Anders K. Jacobsen [DK] |
last post by:
Hi
I have some common UserControls i want to share between to sites (on the
same mashine but on diffrent virtual paths).
right now i have on solution file with aprox 10 projects. 2 of these is
webprojetcs wich need to shere some common userControls. Optimally i want a
class libarary project wich contains the controls so i could import the DLL
and use the controls. But that of course doesnt work.
|
by: Just Me |
last post by:
If I use one of my Usercontrols on a form the IDE does not admit to a
constructor with arguments.
I'm wondering if the 2005 version has improved on this.
I have controls that have properties that absolutely must be set before
other properties are set. Argument to NEW word be a nice way of doing it.
Anyone familiar with 2005 version?
|
by: Robert |
last post by:
I have a large web site converted from 1.1 to 2.0 and in VS 2005, the IDE
complains that in the ASPX file (html source):
Error 1 Element 'stylesheet' is not a known element. This can
occur if there is a compilation error in the Web site.
C:\Documents and Settings\...\Local
Settings\Temp\1\VWDWebCache\onlineformsdev.....com\sweepv2\dorequest1.aspx 16
7 http://onlineformsdev.....com/
The source code (start of the...
|
by: Yuan |
last post by:
It seems that VS 2005 doesn't allow inheritance for web usercontrols. I
created two web UserControls, WebUserControl1 and WebUserControl2. I
replaced base class of WebUserControl2 to be WebUserControl1 (public
partial class WebUserControl2 : WebUserControl1). When compiled, got
error: "The type or namespace name 'WebUserControl1' could not be found
(are you missing a using directive or an assembly reference?)"
In VS 2003, such...
|
by: b747_440 |
last post by:
Dear Newsgroup,
I'm an old VB6.0 developper who switched some time ago to VB.NET 2005.
I really like that new Visual Studio. However, something is going wrong
now and I can't figure out, what it is...
I was playing around with UserControls which are inherited from
standard .NET controls to make myself some transparent controls.
Suddenly I realized that after bulding my project those UserControls do
not appear in the Toolbox anymore. I had...
|
|
by: Nathan Sokalski |
last post by:
Because I wanted the builds for my ASP.NET sites to be a single *.dll in a
/bin/ directory (like VSNET 2003), I decided to try the Web Application
Project download. However, I am still pulling my hair out because it doesn't
want to recognize any of the Controls (not even the ones that are part of
ASP.NET). All of the Controls show the following error:
Name 'mycontrolid' is not declared.
And my UserControls show the following error (all...
|
by: Coleen |
last post by:
Does anyone have any good detailed information on the conversion process?
We are in the process of converting 2 projects from 2003 to 2005 and have
some conversion errors that I can not find answers to. First, we have a lot
of UserControls. I am getting the error "Type uc_mc_btn_footer is not
defined." where uc_mc_btn_footer is the name of the UserControl. Also, on
almost all of our UserControls the conversion has remmed out all my code...
|
by: Nathan Sokalski |
last post by:
In several of my UserControls I add properties. If I access these properties
in the CodeBehind of the pages that use the controls, I recieve an error
when compiling. The reason for this is because the compiler tries to compile
the pages that use the UserControls before compiling the UserControls, and
therefore does not know that the property exists when compiling. The only
way around this that I have found is to use the CType() function as...
|
by: billsahiker |
last post by:
I saw one post here that basically said no way, but not sure which vs
version was being discussed. Using vs 2005 I develped a user control
in a vb project and would like to use that usercontrol in a web app,
also developed with vs2005.
I tried using @Reference and put the dll in the bin folder, and when
that failed I created a Contols folder and put it there and still no
luck. Intuitively it makes sense that this does not work, since vb...
|
by: Nathan Sokalski |
last post by:
I have a page which I dynamically add several usercontrols (*.ascx files) to
using the following code:
Public Sub Refresh()
For Each section As DataRow In Me.GetSections().Rows
CType(Me.FindControl("admin" & CStr(section("buttontext")).Replace(" ",
"")), adminsection2).RefreshSection()
Next
End Sub
|
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: 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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
|