passing value in the same page
-
HTML coding part: I have a button (asp:button), after click, i wan to show the data in the textbox. I'm quite confusing with server site and client site. Below are several ways I have tried but fail: 1. use Me.txtid.text = "abcdef" under Private Sub button_Click in page1.aspx.vb, but it fail to show "abcdef" in the textbox. 2. at Private Sub Page_Load, put in coding below: if me.ispostback then me.txtid.text = request("id") end if at Private Sub button_click, put in coding below: response.redirect ("page1.aspx?id=abcdef") What should I do? Somebody please help me... :sigh: Thank you...
-
HTML coding part: I have a button (asp:button), after click, i wan to show the data in the textbox. I'm quite confusing with server site and client site. Below are several ways I have tried but fail: 1. use Me.txtid.text = "abcdef" under Private Sub button_Click in page1.aspx.vb, but it fail to show "abcdef" in the textbox. 2. at Private Sub Page_Load, put in coding below: if me.ispostback then me.txtid.text = request("id") end if at Private Sub button_click, put in coding below: response.redirect ("page1.aspx?id=abcdef") What should I do? Somebody please help me... :sigh: Thank you...
-
HTML coding part: I have a button (asp:button), after click, i wan to show the data in the textbox. I'm quite confusing with server site and client site. Below are several ways I have tried but fail: 1. use Me.txtid.text = "abcdef" under Private Sub button_Click in page1.aspx.vb, but it fail to show "abcdef" in the textbox. 2. at Private Sub Page_Load, put in coding below: if me.ispostback then me.txtid.text = request("id") end if at Private Sub button_click, put in coding below: response.redirect ("page1.aspx?id=abcdef") What should I do? Somebody please help me... :sigh: Thank you...
-
HTML coding part: I have a button (asp:button), after click, i wan to show the data in the textbox. I'm quite confusing with server site and client site. Below are several ways I have tried but fail: 1. use Me.txtid.text = "abcdef" under Private Sub button_Click in page1.aspx.vb, but it fail to show "abcdef" in the textbox. 2. at Private Sub Page_Load, put in coding below: if me.ispostback then me.txtid.text = request("id") end if at Private Sub button_click, put in coding below: response.redirect ("page1.aspx?id=abcdef") What should I do? Somebody please help me... :sigh: Thank you...
Thanks for the reply from both of you...:-D I have the idea d.