Click here to Skip to main content
16,018,797 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: web.config Pin
Sylvester george4-Mar-07 18:40
Sylvester george4-Mar-07 18:40 
QuestionImage Rotation in ASP.NET or in Scripting. Pin
Prashant C4-Mar-07 18:31
Prashant C4-Mar-07 18:31 
AnswerRe: Image Rotation in ASP.NET or in Scripting. Pin
Vasudevan Deepak Kumar6-Mar-07 9:39
Vasudevan Deepak Kumar6-Mar-07 9:39 
QuestionAbout server.transfer in asp.net Pin
Vinay Dornala4-Mar-07 18:10
Vinay Dornala4-Mar-07 18:10 
AnswerRe: About server.transfer in asp.net Pin
badgrs5-Mar-07 0:18
badgrs5-Mar-07 0:18 
QuestionImage update problem Pin
dasumohan4-Mar-07 17:23
dasumohan4-Mar-07 17:23 
AnswerRe: Image update problem Pin
Venkatesh Mookkan4-Mar-07 19:21
Venkatesh Mookkan4-Mar-07 19:21 
GeneralRe: Image update problem Pin
dasumohan4-Mar-07 23:21
dasumohan4-Mar-07 23:21 
I have the Image1.ImageURL set to the same jpg filename that I am not changing. So in page load event caused by the button click event the image needs to be loaded. If it is reading from the server then it should show the new uploaded image. However it seems to be not retrieving this data from server. Please see the code below that I used. I even set the Image1.ImageURL in the page load event.. Still does not work. It works great on my local system. Please advice



<br />
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />
        Image1.ImageUrl = "SiteURL here/images/studios/S-arc-0001.jpg"<br />
End Sub<br />
<br />
Protected Sub Button6_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button6.Click<br />
        Response.Cache.SetCacheability(HttpCacheability.NoCache)<br />
        If FileUpload1.HasFile Then<br />
            FileUpload1.SaveAs(MapPath("~/images/studios/S-arc-0001.jpg"))<br />
            Image1.ImageUrl = "Site URL here/images/studios/S-arc-0001.jpg"<br />
        End If<br />
End Sub<br />


Raj D

GeneralRe: Image update problem Pin
Venkatesh Mookkan5-Mar-07 1:14
Venkatesh Mookkan5-Mar-07 1:14 
AnswerRe: Image update problem Pin
qiangtian4-Mar-07 19:53
qiangtian4-Mar-07 19:53 
GeneralRe: Image update problem Pin
badgrs5-Mar-07 0:15
badgrs5-Mar-07 0:15 
AnswerRe: Image update problem Pin
Vasudevan Deepak Kumar6-Mar-07 9:40
Vasudevan Deepak Kumar6-Mar-07 9:40 
QuestionAllow to Check only one checkbox at a time in the datagrid Pin
BORN...again!4-Mar-07 15:28
BORN...again!4-Mar-07 15:28 
AnswerRe: Allow to Check only one checkbox at a time in the datagrid Pin
Sylvester george4-Mar-07 17:59
Sylvester george4-Mar-07 17:59 
AnswerRe: Allow to Check only one checkbox at a time in the datagrid Pin
Vasudevan Deepak Kumar6-Mar-07 9:40
Vasudevan Deepak Kumar6-Mar-07 9:40 
Questionmaximise Pin
hariram284-Mar-07 1:23
hariram284-Mar-07 1:23 
AnswerRe: maximise Pin
Vasudevan Deepak Kumar4-Mar-07 1:58
Vasudevan Deepak Kumar4-Mar-07 1:58 
Questionunique number Pin
hariram284-Mar-07 1:17
hariram284-Mar-07 1:17 
AnswerRe: unique number Pin
MoustafaS4-Mar-07 4:59
MoustafaS4-Mar-07 4:59 
GeneralRe: unique number Pin
hariram284-Mar-07 6:06
hariram284-Mar-07 6:06 
GeneralRe: unique number Pin
Hesham Amin4-Mar-07 6:44
Hesham Amin4-Mar-07 6:44 
AnswerRe: unique number Pin
Guffa4-Mar-07 8:30
Guffa4-Mar-07 8:30 
GeneralRe: unique number Pin
hariram285-Mar-07 6:08
hariram285-Mar-07 6:08 
AnswerRe: unique number Pin
Luka Grabarevic4-Mar-07 23:40
Luka Grabarevic4-Mar-07 23:40 
AnswerRe: unique number Pin
VishalSharmaDev4-Mar-07 23:43
VishalSharmaDev4-Mar-07 23:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.