|
Its not displaying Images and also if and also if i give image to a TD of table as background it display nothing
|
|
|
|
|
Use the asp:Image sever control for your images. When the parser renders your page it will adjust the image path appropriately. This won't happen with a HTML img tag.
|
|
|
|
|
Hi ,
sorry for this bad title , i know that everybody is good but i posted this many times ago & nobody has answered me
well , i want to know where can i find an item in the mainmenu that named web site in asp.net 2.0
in asp.net 2.0 it exists an item in the mainmenu named web site which contain an other sub item called asp.net web site configuration
when you click on a web site open to let you configure your web site , (security , debuging , tracing )
can you tell me where can i find this item in asp.net ? i swear i really need it
thank you
try to be good if you can't be the best
|
|
|
|
|
I think you are confusing asp.net with Visual Studio. As far as I know versions of Visual Studio before 2005 do not have the .net config tool.
|
|
|
|
|
well , i saw some videos that explain asp.net 2.0 but i can't work with because i don't have VS 2005 i have just the express edition & this one doesn't allow me to do a setup so i have to work with asp.net 1.1 that exists in VS 2003
if the configuration tool doesn't exist in the previous versions then , what were the devellopers doing to configure their web site ??
try to be good if you can't be the best
|
|
|
|
|
Manually editing the Web.Config file. Not really hard.
My Blog
|
|
|
|
|
Hi ,
thnx for your answer but to edit that web.config file manually you have to know some XML tags or so isn't it ? i don't know how to programm in xml so can you help me ?? can you tell me how to edit it manually
thank you
try to be good if you can't be the best
-- modified at 18:50 Wednesday 12th July, 2006
|
|
|
|
|
They were editing web.config file manually.
|
|
|
|
|
Hi ,
thnx for your answer ,but to know how to edit you have to know some XML tags or so isn't it ? i don't know how to programm in xml so can you help me ?? can you tell me how to edit it manually
thank you
try to be good if you can't be the best
|
|
|
|
|
What is it that you are trying to do?
|
|
|
|
|
well , i have to do an application asp.net
to do a good one i have to secure it & also involve the tracing tools to know where the bugs are after deploying ...
try to be good if you can't be the best
|
|
|
|
|
|
Hi, i have to globalize a web site in ASP.NET.But i have some problems.If it's (the site)in English everything is ok but when i change to another language (Vietnamese)some texts in website do not fit the cell of the table.For example in the menu i have a text "Contact us",if i change it to Vietnamese it will be "Lien he voi chung toi" .It's a long text and not enough space for next texts .If so it has to be redesigned to fit the text.How to overcome this problem?Thanks for reading.
|
|
|
|
|
Unless you want to create a control that scrolls the text to be able to show more text than there is room for, there is no easy way out.
If the text doesn't fit, it doesn't fit. Make the text shorter, or redesign.
---
b { font-weight: normal; }
|
|
|
|
|
I want to upload a photo and voice, video chapters in my web site...
how must I treat with that in HTML code and the C# code behind in .net..
and thx
|
|
|
|
|
I was watching a video on Atlas. The instructor created DAL using DataSet under App_Code folder. Now, I know it was just a demonstration of Atlas goodies and features etc. but my question is:
1-a: How big of an industry practice is it to create DAL using DataSets mainly through GUI?
1-b: In real world, is it common to create DAL under App_Code folder? If not, then what approach is usually taken to accomplish this?
2: In real-world what is the common use for App_Code folder?
Thanks in advance.
|
|
|
|
|
I never have used DataSets they way they did in that video. I, and all the developers in my company, use Microsoft's Enterprise Library for a DAL.
I use App_Code for the business logic layer.
|
|
|
|
|
1-a: A very common practice. The tool was created for ease of use in creating DataSets, why not use it
1-b: App_Code is one place to put it. However, if you are designing to maximize code reuse (which you should be) then the DAL should be in a seperate assembly.
2: App_Code is where code is placed that you want to make use of in your site. It is compiled at runtime, unless you precompile your site.
|
|
|
|
|
I decided to dust off my asp books and take a swing at web programming again, but the very first thing that happens is I get an error for using <% Option Explicit %>
I have it as my second line of code behind <% Language = "VBScript" %>. Works fine if I take the declaration out...??
This is the error:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30024: Statement is not valid inside a method.
Source Error:
Line 1: <%@ Language="VBScript" %>
Line 2: <% Option Explicit %>
Line 3:
Line 4: <% Dim arrDays(6), iIndex
Source File: c:\inetpub\wwwroot\arrayreference.aspx Line: 2
I am using IIS, and tried both ASP 1.1 and 2.0
I am at a loss...
Thanx in Advance
Jude
-- modified at 13:46 Wednesday 12th July, 2006
|
|
|
|
|
I'm no vb jockey and I don't have much experience with classic asp, but I do know that asp.net really is nothing like classic asp and thats probably the problem. Or maybe you meant you dusted off your asp.net books and I'm just a fool :p
|
|
|
|
|
You are trying to use ASP code in an ASP.NET page.
---
b { font-weight: normal; }
|
|
|
|
|
|
Hello.
I have a WebService (VS2005) constructed from some DLLs.
Each DLL has its own settings (these DLLs are services used in various applications and tasks so I can't have the settings paramaters in one single file).
When I use the DLLs with a Form applications or Console applications everything works fine. when I try them out under a web service is get an error stating that the settings parameters can't be "User-Scoped". I can't have the settings under Application-Scope as I need them to be changed at run-time.
How do I set up setting parameters so they are still read\write for the single instace of the webservice (the webservice is run as a singleton) ?
thanks.
Gilad.
|
|
|
|
|
I have an older project that I updated to .NET 2.0 and there are only two bugs, but I think they are related. As this was a .NET 1.1 site it using forms authentication rather than the membership provider.
Before the update the check box for "remember me" worked and dropped a cookie for 30 days, now this does not work at all. Here is the code:
<br />
Context.User = newUser;<br />
FormsAuthentication.SetAuthCookie(tbUserName.Text, cbRememberMe.Checked);<br />
<br />
if (cbRememberMe.Checked)<br />
{<br />
HttpCookie cookie = Response.Cookies[FormsAuthentication.FormsCookieName];<br />
cookie.Expires = DateTime.Now + new TimeSpan(30, 0, 0, 0, 0);<br />
}<br />
The second problem was just reported to me today. I don't really believe it, but the user claims its true. They say that before the update they could be logged into the site in one IE window then open a new IE window and log into the site as a different user and was able to work with both windows as two different users. In other words each browser started a new session. This no longer happens and honestly I thought that was how it always worked.
Any suggestions would be of great help.
|
|
|
|
|
Well I redid the code in a way that makes sense (with FormsAuthenticationTicket with the expire set) and that changes the time properly, but the cookie does not persist after the window is closed even though it is set true.
|
|
|
|