|
Well, this setting basically helps you overcome the built-in server issue, when you put your ASP.NET application in the live/production box, your web site normally runs with the IIS server instead of the built-in server. And this setting does not have any effect on the folder as the requests for the static files like the images are handled by the IIS, but the ASP.NET engine. I'm not sure which security you concern, but assuming you don't have any special setting for the images folder at the IIS level, all the users are basically able to access the Images folder with or without this setting in your web.config file.
|
|
|
|
|
Hi !
Myself developing an web application. My client needs that application should have language option means if he choose language option "French" then my application should display in "French"(all labels and data present on web page should change). I stuck here very badly ....plz help me ! If we can use any external tool or will it work after adding any dll then plz suggest !
Thanks
|
|
|
|
|
|
Thanks for reply man ! I have already used this technique but it is very tedious and we have 30-40 pages and its very difficult to handle.... so we want any external control which will help as to just add in reference and use it .
|
|
|
|
|
|
What man ! Why u r joking like this....there is no such site exist "http://www.magicWebsiteTranslatorToolForFree.com" ........plz help if u can , but dont do such stupid joke plz,
|
|
|
|
|
hi friends,
i am doing one Event Calendar. my requirement is i need put the event calendar in a user control. i made the all the things and in local,but if i put this in live server it is not working. it just simply displays the calendar, when change the month it is not chaning, and this is happening only in IE, it is working fine in Mozilla Firefox and opera browsers. no server side event is firing, can u help me please.
with regards
krisshnaprabhu
|
|
|
|
|
Hi friends,
I am Using ASP.Net 2.0 with c#. IN my application i am using gridview and MS-Access backend. While displaying date from db in gridview i mentioned
<asp:boundfield datafield="WorkedDate" headertext="Date" dataformatstring="{0 }" itemstyle-horizontalalign="Center">
It displays the date field as 7/1/2006 12:00:00 AM
but i need 7/1/2006 like this. Please Help Me.
Thanks & Regards
Prya
|
|
|
|
|
{0:MM/dd/yyyy}
Sam
|
|
|
|
|
This will be helpful.
http://www.codeproject.com/script/comments/forums.asp?msg=1585364&forumid=12076#xx1585364xx
Best Regards,
Apurva Kaushal
|
|
|
|
|
hi all,
im in a situation to get the sql exception in the UI that is Asp.net page.how can we catch sql exceptions from the asp.net page i.e through the code behind.
with regards,
susa
|
|
|
|
|
Ur question was not so clear. but then too with the given information u can handle sql exception by writing a try--catch block when u open a database connection;
Vipin
|
|
|
|
|
Hi all,
I have recently started working with .NET 2.0 and as I have heard, it is recommended to stop using tables for page layout. So I have constructed my page using DIVs as recommended. I have to say it's not very easy at first as you have to get a hold on how they work and how to place them, but then i found out they are quite nice.
The page displays great with IE but I'm having a problem when I open it with Firefox. The layout is a bit messed up, the centered elements are no longer centered and the image control (inside a DIV) has simply disappeared!
Is there a known problem with DIVs and Firefox? or maybe is it the CSS that I use? (all the styling, positioning and coloring is done in a CSS file)
Thanks in advance for your insights on that matter.
Talal
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
--Rich Cook
|
|
|
|
|
|
Thanks, I'll have a look
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
--Rich Cook
|
|
|
|
|
Can any one help me How to get Error message using Error No in Asp.net when sqlexception is raised
Thanks,
Kiran
|
|
|
|
|
Catch (SqlException ex)<br />
{<br />
Response.Write(ex.Message);<br />
}
|
|
|
|
|
Hi Paddy,
Is there any class can be used to get sqlerror message by error code.
Thanks
|
|
|
|
|
How to upgrade .net framework 1.0 into 1.1?is there any tool for that
|
|
|
|
|
You simply download the .net framework 1.1 and install it. The versions 1.0 and 1.1 can run side by side, but you can remove the old one if you want. The link below can give you more information:
http://www.asp.net/faq/SideBySide.aspx[^]
|
|
|
|
|
I am posting this question fourth time and i will continue posting this question until i get the answer.
Sir,
I have a datagrid and problem lies into the edititemtemplate of datagrid.
I have a datagrid in the following format
--------------------------------------------------
Column1 Column2 Column2
abc1 EditImage Delete Image
abc2 EditImage Delete Image
abc3 EditImage Delete Image
-------------------------------------------------
Now when i click at the particular editimage then the control goes to the the edititemtemplate where i am using a function to construct a table in that particular row of the datagrid in which i clicked at the editimage .In the edititemtemplate i am calling a function in the following format.
------------------------------------------------
<%#LoadTable(Container.DataItem(0).ToString())%>
--------------------------------------------------
Now the table is not comming into that row but a message is being displayed in that row and the message is
System.Web.Ui.HtmlControls.HtmlTable
But i want the structure of the table instead of this message .
------------------------=---------------
I am using the following code in the LoadTable
function
----------------------------------------
Public function LoadTable(Byval str as string)as Sysytem.Web.Ui.HtmlControls.Table
dim con as new oledbconnection("connectionstring")
con.open
cmd=new oledbcommand("select * from abc where id=" & str , con)
cmd.executereader
dim dr as oledbdatareader
dr=cmd.executereader
dim t as new system.web.ui.htmlcontrol.table
dim drow as System.Web.UI.HtmlControls.HtmlTableRow
dim dcell(1) as New System.Web.UI.HtmlControls.HtmlTableCell
--------------------------------------------------------
while(dr.read)
drow = New System.Web.UI.HtmlControls.HtmlTableRow
dcell(0) = New System.Web.UI.HtmlControls.HtmlTableCell
dcell(0).Width = "30%"
dcell(1) = New System.Web.UI.HtmlControls.HtmlTableCell
dcell(1).Width = "70%"
dcell(0).InnerText = dr.Item(0)
dcell(1).InnerText = dr.Item(1)
drow.Cells.Add(dcell(0))
drow.Cells.Add(dcell(1))
t.Rows.Add(drow)
end while
----------------------------------------------------------
End Sub
please help me to construct the table in the datagrid row at edititem template of datagrid
|
|
|
|
|
Hi,
I need to design a portal based on DOTNET. The requirement is to facilitate software downloads through the proposed portal.
1. big downloads(softwares/patches) will be there.
2. Need to track users based on tokens issued to there and we need to make sure only those with valid tokens will be able to download the particular software.
Please do let me know your thoughts.
Thanks
harinath
Thanks
Harinath
India
|
|
|
|
|
IMO, you may use a seperate web page .aspx or a custom http handler to implement the download functionality instead of using a static link. Doing so, you can authenticate the user and track the user action. Jesse[^] can give you the sample code.
|
|
|
|
|
Hi guys,
I have implemented a simple client callback functionality (which works fine), that upon clicking an html button only a portion of the page accesses database and changes a field. Then within the same javascript I have a timer go off and once 90 seconds elapses, it changes the properties of certain fields/controls on the page. Now, my challange is to access the database again once the 90 seconds has passed and change a couple of the data fields... I cannot think about a way to do this! Can somebody PLEASE PLEASE PLEASE help me?
Nila Fridley
|
|
|
|
|
Hi there,
IMHO, you can use the setTimeout/setInterval methods to implement the client side timer, then once after a specified period of time, a custom client side function is called and you can use it to update the DB with ClientCallback. You can easily find the exampples of these two functions out there.
|
|
|
|