Hi rakibxl,
Check this example. Insert break point and check your code.
HTML
<asp:TextBox ID="txtBlob" runat="server" />
<asp:Button ID="btnDetails" Text="Details" runat="server" OnClick="Details" />
Code
C#
protected void Details(object sender, EventArgs e)
{
Response.Redirect(string.Format("~/Handler.ashx?BlobItem={0}", txtBlob.Text));
}
VB.Net
Protected Sub Details(sender As Object, e As System.EventArgs)
Response.Redirect(String.Format("~/Handler.ashx?BlobItem={0}", txtBlob.Text))
End Sub
Handler.ashx
C#
<%@ WebHandler Language="C#" Class="Handler" %>
using System;
using System.Web;
public class Handler : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
string UrlPageParameter = "?IDBlobItem=" + context.Request.QueryString["BlobItem"];
context.Response.Redirect("iFrameProcessTransition.aspx" + UrlPageParameter, false);
}
public bool IsReusable
{
get
{
return false;
}
}
}
VB.Net
<%@ WebHandler Language="VB" Class="Handler" %>
Imports System
Imports System.Web
Public Class Handler : Implements IHttpHandler
Public Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
Dim UrlPageParameter As String = ""
UrlPageParameter += "?IDBlobItem=" & context.Request.QueryString("BlobItem")
context.Response.Redirect("iFrameProcessTransition.aspx" + UrlPageParameter, False)
End Sub
Public ReadOnly Property IsReusable() As Boolean Implements IHttpHandler.IsReusable
Get
Return False
End Get
End Property
End Class
iFrameProcessTransition
C#
Response.Write("Blob Item : " + Request.QueryString["IDBlobItem"]);
VB.Net
Response.Write("Blob Item : " + Request.QueryString("IDBlobItem"))
Screenshot