CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.vs_2005_web_application_projects Tags:
Item Type: Date Entered: 12/7/2007 3:19:50 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 5 Views: 79 Favorited: 0 Favorite
6 Items, 1 Pages 1 |< << Go >> >|
"DialM4Monkey"
NewsGroup User
Help with Class library Project12/7/2007 3:19:50 PM

0

Hi all -

I have a vb class that I want to turn into a dll and add to my webproject.  My issue is with references in my class.  I am extending a thirdparty control that has an object that uses System.Web.UI.IStateManager and System.Web.UI.WebControls.TableRow.  I cant seem to add a reference to either of these.  is there an issue with adding System.Web.UI to my project?  Im a bit of a noob re assemblies and class libraries, so forgive me if im overlooking something obvious.  I am trying to add the reference using the References tab of the Project.  any thoughts?

"mgodoy_desenv"
NewsGroup User
Re: Help with Class library Project12/7/2007 3:32:36 PM

0

You can add reference to System.Web to use System.Web.UI.

"DialM4Monkey"
NewsGroup User
Re: Help with Class library Project12/7/2007 3:40:18 PM

0

Interesting, thats what I thought.  however I did that (at least I think I did) and when I do system.web.   I only get 3 AspNetHostingxxxx items.  I dont see the {} UI section.  something doesnt seem right.  any help is appreciated.

"mgodoy_desenv"
NewsGroup User
Re: Help with Class library Project12/7/2007 4:19:28 PM

0

Did you add "using System.Web.UI" in your code?

"DialM4Monkey"
NewsGroup User
Re: Help with Class library Project12/7/2007 5:15:18 PM

0

I am using VB so its Imports System.Web.UI  when I do that I get the green squigglies. "Namespace or type specified in the Imports 'System.Web.UI' doesn't contain any public members."  keep in mind, I am doing a Class Library Project.  when I do Imports System.Web.UI in a reg asp.net application then it works fine.  but im doing a class libraby project because I am creating a controll that I want to add to the toolbar.

 

"mgodoy_desenv"
NewsGroup User
Re: Help with Class library Project12/7/2007 7:44:35 PM

0

When you have created your project, you have created like a "Web Control Library"? Cause it?s so strange... Create a new Web Control Library project. It uses System.Web.UI. The references are System, System.Drawing and System.Web.

6 Items, 1 Pages 1 |< << Go >> >|


Free Download:













create project from compiled project

dropdownlist selectedindexchanged firing twice, possible solution?

load a image from file to webform?

web application projects and vs2005 service pack 1 beta

importing access-databases

execute setups one after another

data sources pane greyed out

designer file not updating in certain scenarios...

convert to partial classes

studio automatically converting wap to web site

how do you change a profile?

vs2005 - web application project debugging with server controls

how to convert vs 2005 web app project to vs05 website?

using wap = loosing performance ?

not hitting some breakpoints...

vbcrlf does not start a new line in asp.net 2.0.

web site projects?

help - cannot modiify class definition

references to dataset break after converiting from web site to web application project

compile error on vs 2005 professional, but not on vs 2005 team edition

how to enable "show all files"

sharing web.config between multiple waps

is already declared as 'protected dim withevents .....

problem installing web application project on vista

edit html of aspx page after publish issue!!

multi-project solution using wap & master pages

parser error after setting up projects

unittesting webproject

latest release has problem with custom controls w/parsechildren(false)...?

parts of the application not working after build...

right click "convert to web application" does not add both designer and code behind to source control.

no compie tab - warnings as errors

problem in converting ajax based web site to ajax based web application project

'java.lang.system' has returned a special case.

profile provider intellisense not working?

system.web.aspnethostingpermission when using vs 2k5 & no problems when accessing the url???

designer issues with master pages

cannot debug: unable to start debugging on the web server. the debug request could not be processed by the server due to invalid syntax.

with web deployment project

error finding namespace from (sub-)project in wap

insert image in listbox ..

install fails on vista rc1

sending sms from website

<applicationsettings> vs <appsettings>

cannot add web reference to web application project

desktop version of web app

installing menu item

web reference.vb file not generated???

bug in microsoft.webapplication.targets? or am i missing something?

load fires twice.

   
  Privacy | Contact Us
All Times Are GMT