Hi all,
I am developing an offer site. In results page i am displaying offername,description, and small image in a repeater control.
per page i am displaying 10 results. My Question is when i click on offername, i have to create another page with that offername like offername.aspx. And that offer specific page contains offer big image, contact details, sms option,email option.
Can anybody knows how to do that please let me know.
NOTE: I am using .net 2.0, c#
Thanks in advance.
Loading
madhu sudhanPosted Jul 17, 2010, 11:37 AM
Thanks for your reply.
Actual situation is:
i have 2 offers in repeater control like
1. 15% discount on shoes.
2. Rs.1500 discount on plasma tv.
If i click on first offer i have to redirect to 15% discount on show.aspx page which is created dynamically.
if i click on second offer i have to redirect to Rs.1500 discount on plasma tv.aspx which is also created dynamically.
like that i have to redirect every offer to different pages.
I think now you can understand my situation clearly.
For reference you can see the BlogEngine.net web site. i.e http://beckelman.net/category/BlogEngineNet.aspx.
if you click any main link i will redirect to another page like http://beckelman.net/post/2008/10/21/DZone-Badge-Extension-for-BlogEngineNET.aspx
Thanks in advance
Deepak SinghPosted Jul 17, 2010, 9:28 AM
//-----------------------OfferName.aspx page
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="OfferName.aspx.cs" Inherits="OfferName" %>
protected void Page_Load(object sender, EventArgs e)
{
Offer offer= new Offer();
int offerID = Convert.ToInt32(Request.QueryString["offerid"]);
GridView1.DataSource = offer.GetOffer(offerID);
GridView1.DataBind();
}