Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,151,849 members, 7,813,884 topics. Date: Tuesday, 30 April 2024 at 08:40 PM |
Nairaland Forum / Science/Technology / Programming / Asp/asp.net Problem - (urgent) (969 Views)
Asp.net Mvc4 Help!! / C# - Capturing File Name From A FileUpload Control In Asp.net / Tutorial: How To Return Html In Json Response Using Asp.net And Jquery (2) (3) (4)
(1) (Reply)
Asp/asp.net Problem - (urgent) by labiyemmy(m): 3:17pm On Oct 07, 2010 |
I have this subroutine in ASP.NET: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim pimage As String pimage = Request.QueryString("mapimgurl" Image11.ImageUrl = ("/Temp/" + Request.QueryString("mapimgurl") End Sub what it does is to put a png image in an image control whose id = Image11 on a page which is called from the mother page. This works fine, no problem. In converting this back to classic ASP- I have the sub called from a body onload event - with the subroutine itself as below. Sub PLoad() Dim pimage pimage = Request.QueryString("mapimgurl" Image11.ImageUrl = ("/cm/maps/abuja/TEMP/" + Request.QueryString("mapimgurl") End Sub This doesnt however work. The qestion is - does the image control work in classic asp? Will it rather work with an image.src rather than an image.imageurl? I tried both but ping- nothing works. =============================================================================== 1 Like |
(1) (Reply)
How To Make Your Own Chromebook / How Do I Search Multiple Tables In A Database For A Query? / Accounting Software
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 7 |