Click here to Skip to main content
15,897,334 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Hiding menubar, statusbar and toolbar in javascript Pin
lucjon13-Apr-07 21:09
lucjon13-Apr-07 21:09 
QuestionInput Textbox Colour Pin
Bubbles212-Apr-07 23:15
Bubbles212-Apr-07 23:15 
AnswerRe: Input Textbox Colour Pin
lucjon12-Apr-07 23:23
lucjon12-Apr-07 23:23 
GeneralRe: Input Textbox Colour Pin
Bubbles212-Apr-07 23:44
Bubbles212-Apr-07 23:44 
AnswerRe: Input Textbox Colour Pin
J4amieC12-Apr-07 23:52
J4amieC12-Apr-07 23:52 
AnswerRe: Input Textbox Colour Pin
Vasudevan Deepak Kumar14-Apr-07 3:53
Vasudevan Deepak Kumar14-Apr-07 3:53 
QuestionNeed code for display the text with Image Pin
sridevi1412-Apr-07 23:11
sridevi1412-Apr-07 23:11 
AnswerRe: Need code for display the text with Image Pin
lucjon12-Apr-07 23:38
lucjon12-Apr-07 23:38 
Hi,
I'm going to assume that you are passing the text to the age through the page parameter "showtext" (page.aspx?showtext="what to show").
This first example has a button that shows the text:
Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
     Response.Redirect("ThisPage.aspx?showtext=text")
End Sub

Sub Label1_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label1.PreRender
     If Request.QueryString("showtext") <> Nothing Or Request.QueryString("showtext") <> "" Then
         Label1.Text = request.QueryString("showtext")
     End If
End Sub

To show the Image, I assume that you are passing the image location through the parameter "imageloc". It also has the button:
Sub Button1_Click(ByVal sender As Object, byVal e As System.EventArgs) Handles Button1.Click
     Response.Redirect("ThisPage.aspx?imageloc=image1.png")
End Sub

Sub PictureBox1_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox1.PreRender
     If Request.QueryString("imageloc") <> Nothing Or Request.QueryString("imageloc") Then
          PictureBox1.ImageLocation = Request.QueryString("imageloc")
     End If
End Sub

GeneralRe: Need code for display the text with Image Pin
sridevi1413-Apr-07 0:19
sridevi1413-Apr-07 0:19 
AnswerRe: Need code for display the text with Image Pin
lucjon13-Apr-07 20:57
lucjon13-Apr-07 20:57 
GeneralRe: Need code for display the text with Image Pin
lucjon13-Apr-07 21:07
lucjon13-Apr-07 21:07 
QuestionDebugging SQL Insert Pin
Bubbles212-Apr-07 22:55
Bubbles212-Apr-07 22:55 
AnswerRe: Debugging SQL Insert Pin
Shajeel12-Apr-07 23:44
Shajeel12-Apr-07 23:44 
AnswerRe: Debugging SQL Insert Pin
Bubbles213-Apr-07 2:41
Bubbles213-Apr-07 2:41 
QuestionHow to insert text at cursor position in a TextBox Pin
lucjon12-Apr-07 22:08
lucjon12-Apr-07 22:08 
Questionneed help with stanard provider Pin
neodeaths12-Apr-07 22:05
neodeaths12-Apr-07 22:05 
AnswerRe: need help with stanard provider Pin
Jaiprakash M Bankolli12-Apr-07 22:37
Jaiprakash M Bankolli12-Apr-07 22:37 
GeneralRe: need help with stanard provider Pin
neodeaths12-Apr-07 23:06
neodeaths12-Apr-07 23:06 
GeneralRe: need help with stanard provider Pin
Jaiprakash M Bankolli13-Apr-07 1:59
Jaiprakash M Bankolli13-Apr-07 1:59 
GeneralRe: need help with stanard provider Pin
neodeaths15-Apr-07 18:38
neodeaths15-Apr-07 18:38 
QuestionFile upload Pin
J Liang12-Apr-07 22:04
J Liang12-Apr-07 22:04 
AnswerRe: File upload Pin
Jaiprakash M Bankolli12-Apr-07 22:40
Jaiprakash M Bankolli12-Apr-07 22:40 
GeneralRe: File upload Pin
J Liang15-Apr-07 15:19
J Liang15-Apr-07 15:19 
GeneralRe: File upload Pin
Jaiprakash M Bankolli15-Apr-07 21:17
Jaiprakash M Bankolli15-Apr-07 21:17 
GeneralRe: File upload Pin
J Liang16-Apr-07 14:50
J Liang16-Apr-07 14:50 

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.