Usercontrol vs Custom Server Controls, Any need for Custom Server Controls
I'm new to ASP.Net so this is probably a stupid question but, is there any need to create customer server controls now that you can pre-compile usercontrols into a dll and thus easily share between applications?
This blog post from David Ebb describes how to do it and the restrictions he note don't seem that bad (other than being able to embed resources such as images in the dll). http://blogs.msdn.com/davidebb/archive/2005/10/30/487160.aspx
His article desribes the techniques for ASP.Net 2.0 and he suggests that there will be further improvements in .Net 3.5 in this ar...Custom Server Control Vs Web Parts, Any need for Custom Server Control
I've just posted a similar question on why you need server controls when you can pre-compile usercontrols and redistribute them.
I've seen lots of (usercontrol vs web part) but not much on web part vs custom server control.
According to the MSDN site you can put web parts onto a normal asp.net page outside of a web part zone and they behave just like custom server controls. So, if you are creating a bunch of controls for redistribution to customer asp.net sites and/or SharePoint sites why don't you just create Web Par...Custom Controls and VS.Net Designer ...
I would like to know if you guys know a good article or text, about writing the vs.net designer interface for my Custom Control...
I saw something this way a long way, but I don't remember...
I have some controls made that I would like to enable things like, dynamic resizing, and also a control that don't have a user interface (works in background), so I would like to draw some view of the control when you put in your webform designer... for example!
I don't know what "dynamic resizing" is supposed to mean...
but to make a non-UI control, the easiest th...Creating .Net custom server controls and .Net pages programatically
Thanks a lot for reading this and greatly appreciate your inputs
I am writing a webinterface that lets users configure options that'll create an interface for them and generete the webpage. So I am having to programattically create custom server controls and .Net page with code behind to support the functionality.
Are there APIs in the .NET SDK that let you do this. Any pointers would be greatly helpful
Thanks a lot
Controls on the fly? Or Create code on the fly? I think it is the latter so here we go - look at the following namespaces:
* System.Reflection.Emit - gen...Multifile assembly server control not working in VS.NET designer
..NET supports multifile assembly, in which an assembly manifest is in one file and can contain links to other resource files.
In theory, I should be able to get the linked resources in my code using Assembly.GetExecutingAssembly().GetFile(...) or Assembly.GetExecutingAssembly().GetManifestResourceStream(...). This works normally when the control is running on the web server. It does not work when the control is running in the VS.NET visual designer.
In VS.NET visual designer, the GetManifestResourceStream returns null as if it cannot find the resource. However, if I choose "View...IIS server works with vs.net but not vs.net 2003 ?
Trying to program in asp.net 1.1 via visual studio and running IIS 5.1.
After getting asp.net to work, i am getting the dreaded '...Internal Server Error 500..." if I try to start a new Solution in VS.Net 2003. However, VS.Net will allow me to start a web application with no problems.
Truth is stranger than fiction, but nothing is stranger than visual studio....
Any help would be appreciated.
Thanks....How to open a VS.NET 2003 project in VS.NET 2002
My colleague created a ASP.NET project by VS.NET 2003. I can not open it by the VS.NET 2002 in my machine. Can I call my colleague to modify some settings on this project and so I can open it by 2002? How to do that? thx...vb.net vs c#.net vs j#.net
just out of curiousity which looks, acts most like java? i'm still learning trying to used to vb.net but it seems that it was easier to do some stuff with java.
C# is Java++ in my opinion. If you have done C or Jave you will prefer C#.Mike Schellenberger - MCAD
If you are looking for language similar to java go for J#.
However most code samples you find on the net will be in VB.NET and C#....Architecture: .Net Controls vs. Custom Controls
I'm interested in managing users. i.e. Logins and profiles, etc.My question is, should I be using things like the Login control or should I program these from scratch? I dont like the fact that .NET creates so many things for me. This level of abstraction terrifies me and it feels like I have no control over the code .I've done a few huge sites in Classic ASP (million-hits-per-day type sites) and I'm not sure how robust certain controls are, or when to use them.Is, for example, the Login control aimed at newbies to .NET? Should it be used for the larger projects with thousands of...server control producing dynamic images in VS.NET visual designer
I am building a server control that can display dynamic images (images that are drawn using System.Drawing and sent to the browser).
I am thinking, is it possible at all to build such a control such that it can work in the Visual Studio.NET designer?
It appears it is impossible to output binary data in a ASP.NET server control, but I managed to make it work by saving the image in Page.Cache, Page.Session or as a temporary file on the web server.
However, the VS.NET designer does not seem to support any of the above method. There is no support for Page.Cache or session variables, or...Opening project created in VS.NET 2003 in VS.NET 2002?
Can this be done?
i'm havin problems opening my applications.
the solution file i created is not recognise by VS.NET 2002..
can anyone provide me with a solution?
thanks very much..
It is not designed to do this, so don't think you are doing anything wrong. There is a tool designed to do this, it can be foundHERE You must register, but it is a free download. Hope this helps.Chris Paterra
thanks very much.....Copying VS.NET web project to Win 2003 and opening it in VS.NET
Environment: ASP.NET 1.1; VS.NET Enterprise 2003; Windows Server 2003; IIS 6.0
I hope somebody can help me figure this out. I created a Web project on my XP Dev machine which I can open, run, debug and do everything else. I can "deploy" the project to my 2003 server and open the site in explorer browser. But now, I want to transfer the whole solution to my Win 2003 and continue the development and testing on it. So, I transferred the whole VS solution directory from my XP machine to the Win 2003 machine. I created a Web site (not a virtual directory under default...Issue using control created in VS.net 2003 in VS.net 2002
I have a friend that has an issue using my asp.net C# custom control in Visual Studio.net 2002 that I have compiled under Visual Studio.net 2003. I never did test it with that version, but I was under the impression that it should still work as long as you don't use any features specific to the 1.1 framework (which I really don't think I did). My guess now is that this is correct, but only when using 2002 controls in 2003. I have searched the web, these forums, and MSDN for the last 30 minutes with no real answer. The guy that runs MetaBuilders (http://www.metabuilders.com/Faq.aspx) tell...In Vs.Net 2005, grid does not come up in designer like in VS.net 2003
I am using VS.Net 2005. Previously I used VS.Net 2003. In 2003, whenever i add a new file it used to display the page in grids that helps me moving the controls and aligning it.
But in 2005, i could not come up with an option that can show the grid with dots in the designer. Am i missing any setting here?
Turn on first checkbox for Absolute Positioning on the options page Tools | Options, HTML Designer, CSS Positioning. From that point on controls dragged to the page will be absolutely positioned.-DanThis posting is provided "AS I...Need to design reports on a box with MSSQL 2000 - VS.NET 2005
I have a Server 2003 box with SQL Server 2000 as the database server and VS.NET 2005 as the development tools. Is there a report designer that will work with that setup? Or do I need to uninstall VS 2005 and install VS 2003?Thanks,E...