View Complete Post
I have an user requirement to show the Announcement list as a News site (like Channel News) such that whenever user views the announcement the related image should be displayed in the right panel.
Please suggest how to achieve this.
ASP.NET 4, VB.NET 2010
Am having an issue with a 'top' link placement. Code not needed to be posted and no Google links please
Have a master page which has 3 content areas - all ok
On one page I do something similar to this:
Some content here
<a href="#Top"><asp:Image ID="imgTop" runat="server" ImageUrl="../images/top.jpg" GenerateEmptyAlternateText="True" /></a>
SomeClassName = 600px wide
SomeIdName = 490px wide
Top.jpg = 40px wide, 20px high
The TOP image always displays to the left of the 'SomeIdName' DIV when I want it to be underneath it.
If I enclose it in a <p></p> tag it's fine but not good HTML formatting
How can I make this TOP image stay underneath the SimeIdName DIV in CSS or is there a better way of doing this anchor?
Thanks in advance
i need a gallary like following link.
actually,i bound multiple image in a gridview using handler(.ashx).
for example,in one dep_id(1),there are 6 image and i need to slideing one by one.
could some one help me,how i can do like this?
i think is it easy in jquery.
please someone help me.
i am binding images dynamically(back end)for a datalist .iam applying a slideshow for it .I am getting a problem to apply slideshow for dyanmically binded images.If the define in a div statically it working perfectly
for example pls go through my code below:
<div class="slideshow"> <img src="images/30_dummy.jpg" width="200" height="200" /> <img src="images/aquarius.gif" width="200" height="200" /> <img src="images/star.gif" width="200" height="200" /> <img src="images/the-proud-indian-flag-1.jpg" width="200" height="200" /> </div>
I above code works perfectly and the slide show e
My database has a products table that has images stored in a varbinary(MAX) column.
I'm trying to display product information in a repeater and trying to display the images as well by using a GenericHandler class but I can't get the image to show up in my page.
Here is my Handler.ashx class:
Public Class Handler
Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
'== Set up the response settings
context.Response.ContentType = "image/gif"
context.Response.BufferOutput = False
Dim id As Integer = -1
Dim stream As Stream = Nothing
If Not String.IsNullOrEmpty(context.Request.QueryString("id")) Then
id = context.Request.QueryString("id")
stream = GetImage(id)
Const buffersize As Integer = 1024 * 16
Dim buffer(buffersize) As Byte
'byte buffer = new byte[buffersize];
Dim count As Integer = stream.Read(buffer, 0, buffersize)
While count > 0
context.Response.OutputStream.Write(buffer, 0, count)
count = stream.Read(buffer, 0, buffersize)
i am new to technology so go easy on this post
according to what i read from web there are 3 type of custom server controls
i found video tutorial for superclass custom server control but couldnt find video tutials for other 2.
please forward me link for composite and rendered custom server controls video tutorial
I want to use an image inside a Custom Web server control !
Do I need to use Web.resources ? if so , how to do ?
I would like to create a html link button(in aspx page) so that the page could not post back and some controls to display on clicking link button.
Can any one of you help me regarding this issue?
Let me know if you have any queries.