Click here to Skip to main content
15,895,142 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Listbox selecteditem not eqal to true Pin
michaelschmitt27-Apr-10 7:16
michaelschmitt27-Apr-10 7:16 
AnswerRe: Listbox selecteditem not eqal to true Pin
nagendrathecoder27-Apr-10 20:01
nagendrathecoder27-Apr-10 20:01 
QuestionConverting String to pdf ASP.net Pin
Deb_2627-Apr-10 4:55
Deb_2627-Apr-10 4:55 
AnswerRe: Converting String to pdf ASP.net Pin
Eddy Vluggen27-Apr-10 7:24
professionalEddy Vluggen27-Apr-10 7:24 
QuestionPopUp __dopostback Pin
garfield18527-Apr-10 4:54
garfield18527-Apr-10 4:54 
AnswerRe: PopUp __dopostback Pin
Not Active27-Apr-10 7:05
mentorNot Active27-Apr-10 7:05 
AnswerRe: PopUp __dopostback Pin
daveyerwin27-Apr-10 7:05
daveyerwin27-Apr-10 7:05 
Questionbrowsing the image and displaying in the image control but next time not displayig Pin
developerit27-Apr-10 3:25
developerit27-Apr-10 3:25 
hi , iam using asp.net with c#,

in my page iam displaying old image and new image . then iam uploading and updating the images .the new image will be the newlly uploaded and display in new image control and previous image was displaying in new image control will display in
old image control .
the problem is when i am redirecting to other pages and came back to same page then modified images are not displayed
old images are displaying.... how to solve this problem can you give me example which helps me

<body>
    <form id="form1" runat="server">
    <div>
        <asp:ImageButton ID="New" runat="server" Height="256px" ImageUrl="~/Nectarbig.JPG"
            OnClick="ImageButton1_Click" Style="z-index: 100; left: 0px; position: absolute;
            top: 0px" Width="336px" />
        <asp:ImageButton ID="Old" runat="server" Height="192px" Style="z-index: 101;
            left: 424px; position: absolute; top: 56px" Width="288px" />
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Style="z-index: 102;
            left: 120px; position: absolute; top: 432px" Text="Button" />
        <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click" Style="z-index: 105;
            left: 880px; position: absolute; top: 24px">next</asp:LinkButton>
        <asp:FileUpload ID="FileUpload1" runat="server" Style="z-index: 104; left: 96px;
            position: absolute; top: 392px" />
        &nbsp;
    
    </div>
    </form>
</body><code>protected void Button1_Click(object sender, EventArgs e)
    {
        //Label1.Text = "Hello Click Here";

        string fn=FileUpload1.PostedFile.FileName;
        string[]fi=fn.Split('\\');
        string name=fi[fi.Length-1];
        FileUpload1.PostedFile.SaveAs(Server.MapPath("images/"+name));
 Old.ImageUrl = New.ImageUrl;
        New.ImageUrl = "~/images/" + FileUpload1.FileName;
        
    }
    protected void LinkButton1_Click(object sender, EventArgs e)
    {
        Response.Redirect("resizableextender.aspx");
    }

</code>

AnswerRe: browsing the image and displaying in the image control but next time not displayig Pin
Brij27-Apr-10 3:39
mentorBrij27-Apr-10 3:39 
QuestionHow to display message in baloons above system tray (vb dotnet) Pin
Ratnadeep_Raul27-Apr-10 1:22
Ratnadeep_Raul27-Apr-10 1:22 
AnswerRe: How to display message in baloons above system tray (vb dotnet) Pin
Michel Godfroid27-Apr-10 2:14
Michel Godfroid27-Apr-10 2:14 
AnswerRe: How to display message in baloons above system tray (vb dotnet) Pin
Tej Aj27-Apr-10 3:40
Tej Aj27-Apr-10 3:40 
QuestionHow to open a drop down using java script Pin
raghvendrapanda27-Apr-10 0:00
raghvendrapanda27-Apr-10 0:00 
AnswerRe: How to open a drop down using java script Pin
Brij27-Apr-10 0:40
mentorBrij27-Apr-10 0:40 
Questionscan tool in webform Pin
ptvce26-Apr-10 23:54
ptvce26-Apr-10 23:54 
QuestionAccessing Textbox Control in Gridview from Javascript. Pin
cheguri26-Apr-10 23:36
cheguri26-Apr-10 23:36 
AnswerRe: Accessing Textbox Control in Gridview from Javascript. Pin
Brij26-Apr-10 23:44
mentorBrij26-Apr-10 23:44 
AnswerRe: Accessing Textbox Control in Gridview from Javascript. Pin
Jamil Hallal26-Apr-10 23:45
professionalJamil Hallal26-Apr-10 23:45 
GeneralRe: Accessing Textbox Control in Gridview from Javascript. Pin
cheguri27-Apr-10 0:17
cheguri27-Apr-10 0:17 
AnswerRe: Accessing Textbox Control in Gridview from Javascript. Pin
Arun Jacob27-Apr-10 2:15
Arun Jacob27-Apr-10 2:15 
QuestionProblems with Button Click Event Pin
BadKarma26-Apr-10 22:43
BadKarma26-Apr-10 22:43 
AnswerRe: Problems with Button Click Event Pin
Jamil Hallal26-Apr-10 22:45
professionalJamil Hallal26-Apr-10 22:45 
GeneralRe: Problems with Button Click Event Pin
BadKarma26-Apr-10 23:04
BadKarma26-Apr-10 23:04 
GeneralRe: Problems with Button Click Event Pin
Jamil Hallal26-Apr-10 23:10
professionalJamil Hallal26-Apr-10 23:10 
GeneralRe: Problems with Button Click Event Pin
BadKarma26-Apr-10 23:34
BadKarma26-Apr-10 23:34 

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.