|
hello !!
I have a project with me .. A namespace has 6 ".cs" files and I want to create a dll for that namespace and add to the project
:-
I am already having dll added but i have updated one of the .cs file now when I build the project and when i look into the dll , it does not shows any newly created dll .. why is it so . how can add a updated dll . plz hlp me out
Mrinal
|
|
|
|
|
Dll will be created by the name of Application i think
is it wen application or class library
check the details it will override the existing one with same name so check the detials of that dll
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
I don't find any other alternative. That's the way how ASCX files works. It's a replacement for include files in classical ASP. It needs the ASCX files to be present in the requested path. In ASP.NET 2.0 comes with WebResource concept, which allows you to embed the resources and access it with a temporary URL. I don't how much this is helpful in ASCX files. i successfully implemented that in Custom Server controls
|
|
|
|
|
Ok, thanks Navneeth,
Mean while i am trying the WebResource method of yours. Let's see what happens. I'v never done that before, so if i am having any trouble. I will bother you again bro.
Bi 4 now
Do not forget to tune the Performance
Sudhir Yadav
|
|
|
|
|
|
Hi JON,
Thanks for your concern. Yes, i have already tried that method of using the user control. Creating the UC to DLL using web setup but when i reference that dll into different project it gives compile time error that dll not found for the one which i had added manually in the aspx file. If you have something to say, you are welcome.
Also, i wanted to add the language resourse and other file into that dll so that it's a single unit all together. Is that possible?
Do not forget to tune the Performance
Sudhir Yadav
|
|
|
|
|
hi,
i have created a asp.net application using c#.net. i have used tables to position controls in the form. but in some systems its losing the position of the controls while running the website. i dont know how its happening. if any body have solution for this, please send to me. its very urgent!!!!
|
|
|
|
|
Check for any inline styles present for the controls. This might be the problem. VS2005 editor automatically adds inline styles to the controls.
|
|
|
|
|
but in this case all the controls are displaying scattered. how can i check the inline styles
|
|
|
|
|
Take source of the page(HTML) and check whether any styles are added to the control tag. Try removing that. What is your outer table's width ? If you want page to be fit on all resolutions, width should be mentioned in percentage.
|
|
|
|
|
following is the sample of one of my controls (HTML) and my outer tables width is 100px
<asp:label id="Label2" runat="server" font-bold="True" style="z-index: 100; left: 33px;
position: absolute; top: 52px" text="Select a date" width="105px">
-- modified at 1:37 Friday 12th October, 2007
|
|
|
|
|
Do one thing Copy source code of your page i.e html content out that in html editor like vs2005 then check the html is properly coded
i think there might be some missing closing tags in your page check that
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
i have checked the html codes and the coding is correct. its working properly in the localhost. but when i host the page, its displaying scattered in some client machines.
|
|
|
|
|
Could you post your html content but while posting make sure you have chacked Ingnore HTML check box while writing your post
or put your html content in code section
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
<asp:image id="Image2" runat="server" height="21px" imageurl="~/Images/banner2.gif"
="" style="z-index: 100; left: 11px; position: absolute; top: 492px" width="941px">
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <asp:label id="Label4" runat="server" style="left: 566px; position: absolute; top: 166px; z-index: 100;"
="" text="User Type" width="68px">
| <asp:dropdownlist id="DropDownList1" runat="server" style="left: 659px; position: absolute;
top: 165px; z-index: 100;" width="204px" tabindex="1">
<asp:listitem>Select
<asp:listitem value="1">Member
<asp:listitem value="2">Admin
<asp:listitem value="3">Team
| | | | | | | <asp:label id="Label2" runat="server" style="z-index: 100; left: 565px; position: absolute;
top: 196px" text="UserName" width="70px">
| <asp:textbox id="Uname" runat="server" style="z-index: 100; left: 659px; position: absolute;
top: 197px" width="197px" tabindex="2">
| | | | | | | <asp:label id="Label3" runat="server" style="z-index: 100; left: 566px; position: absolute;
top: 231px" text="Password" width="62px">
| <asp:textbox id="password" runat="server" style="z-index: 100; left: 659px; position: absolute;
top: 228px" textmode="Password" width="199px" tabindex="3">
| | | | | | | | | | | | | | | | | | | <asp:button id="Button1" runat="server" onclick="Button1_Click1" style="z-index: 100;
left: 759px; position: absolute; top: 258px" text="Login" width="77px">
| | | | | | | | | <asp:label id="Label5" runat="server" style="z-index: 100; left: 658px; position: absolute;
top: 314px" width="145px">
| | | | | | | | | | | | | | | | | | | | | | | | | | | <asp:linkbutton id="LinkButton10" runat="server" forecolor="#404040" onclick="LinkButton10_Click"
="" style="z-index: 100; left: 608px; position: absolute; top: 393px" width="289px">Powered and Hosted by Neosoft Technologies
|
<asp:image id="Image1" runat="server" imageurl="~/Images/neologo.jpg" style="z-index: 101;
left: 12px; position: absolute; top: 0px">
<asp:image id="Image3" runat="server" height="393px" imageurl="~/Images/banner1.gif"
="" style="z-index: 102; left: 234px; position: absolute; top: 99px" width="4px">
<asp:image id="Image4" runat="server" backcolor="SteelBlue" forecolor="SteelBlue"
="" height="17px" style="z-index: 105; left: 10px; position: absolute; top: 83px" width="941px">
|
|
|
|
|
mukesh.mr03 wrote: Style="z-index: 105; left: 10px; position: absolute; top: 83px"
I reiterate, remove these inline styles and check.
|
|
|
|
|
Website www.web1.com is running under 1.1.Under the same website need to create two subdirectory like subdir1 and subdir2.
Subdir1 is using --- version 1.1 -- www.web1.com/subdir1
Subdir2 is using --- version 2.0 -- www.web1.com/subdir2
if i use http://www.web1.com/subdir2,all websites under the webserver,stopped automatically.
Why it is like that.Is it possible to run version 1.1 and version 2.0 under the same website .
radsgr
|
|
|
|
|
Please let know Whether u aree getting problem for both asp.net 1.1 version and also for 2.0 version application or for only 2.0 Version
If U are Getting Problem only with 2.0 Version and working fine 1.1 Version .First add Both these sub Directories as Virtual DIrectories inside Main Application add assign Configuration setting as 1.1.414.. for 1.1 Version in iis and for 2.0 2.0.57057 in IIs ..... If u Get Again any problem only in
asp.net 2.0 Application then change
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
to< configuration>
I Hope this Work .... I have not tested because i dont have both version on my system ....Just Try as Above
And If u have any Problem Plz Submit Stack Information
Just Share Words
|
|
|
|
|
Website www.web1.com is running under 1.1.Under the same website need to create two subdirectory like subdir1 and subdir2.
Subdir1 is using --- version 1.1 -- www.web1.com/subdir1
Subdir2 is using --- version 2.0 -- www.web1.com/subdir2
if i use http://www.web1.com/subdir2,all websites under the webserver,stopped automatically.
Why it is like that.Is it possible to run version 1.1 and version 2.0 under the same website .
radsgr
|
|
|
|
|
I doubt it. I don't thnk the web server can even run 2 different apps with different ASP.NET versions.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
RADSGR wrote: Is it possible to run version 1.1 and version 2.0 under the same website
Nope. IIRC, you'd have to create an entirely seperate website under IIS and tell it which ASP.NET version to use.
|
|
|
|
|
I need to create both applications (one is 1.1 and another one is 2.0) under the same website(which is also 1.1)
Website --> 1.1 -- one appln
-->Subdir1 --> 1.1 -- One appln
-->subdir2 --> 2.0 -- One appln
But I already assigned the version of each appln in IIS.
radsgh.net
|
|
|
|
|
I doubt this is not possible. As Dave suggested, you can create two sepearete websites and assign ASP.NET version
|
|
|
|
|
Asking the same question again won't change the answer.
You can't do what you want. You MUST create two seperate ASP.NET applications in two seperate websites under IIS.
|
|
|
|
|
Sorry not possible dude till this time. U need to deploy them as seperate applications on IIS instead.
Do not forget to tune the Performance
Sudhir Yadav
|
|
|
|