programming we consider all important topic for knowledge about controls,web Services, JSON, Ajax, database, and interview related Question. In this and sql server tutorial blog we give many examples of jquery as like How Play YouTube Video in Your Website by URL, How to Play YouTube Videos in by using Jquery , Jquery Change div background on mouseover in , JQuery UI Datepicker (Calendar) etc.

Thursday, February 19, 2015

How To Display Particular Details Product Images In DataList In Asp.Net

  • How To Display Particular Details Product Images In DataList In Asp.Net:

Display Particular Details Product Images In DataList:

try this in viewbutton click
 protected void viewbutton_Click(object sender, EventArgs e)
        StringBuilder st = new StringBuilder();
        st.Append("<script language=javascript>");
        st.Append("var w ='popup.aspx?_id=someuniqueidofyourimageorpathonserver','ChatWindows','height=400px,width=400px top=50, left=50,bottom=50,right=50');");//opens the pop up
        st.Append("w.focus()");//sets the focus on to the pop up
        Page.ClientScript.RegisterStartupScript(this.GetType(), "openpopup", st.ToString());

How to Display items in PopUp from DataList Button Click in

on popup.aspx load read the querystring and display image based on id or path of image like

string _id=Request.QueryString["_id"];


Other Related Post :

No comments:

Post a Comment