Click here to Skip to main content
15,903,175 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Import Excel Sheet To GridView Pin
kubben6-Jun-07 2:52
kubben6-Jun-07 2:52 
GeneralRe: Import Excel Sheet To GridView Pin
varshavmane6-Jun-07 2:57
varshavmane6-Jun-07 2:57 
GeneralRe: Import Excel Sheet To GridView Pin
kubben6-Jun-07 3:01
kubben6-Jun-07 3:01 
GeneralRe: Import Excel Sheet To GridView Pin
varshavmane6-Jun-07 3:26
varshavmane6-Jun-07 3:26 
Questiondeleting files from folders Pin
alok.mailbox4-Jun-07 1:36
alok.mailbox4-Jun-07 1:36 
AnswerRe: deleting files from folders Pin
Christian Graus4-Jun-07 1:48
protectorChristian Graus4-Jun-07 1:48 
AnswerRe: deleting files from folders Pin
kubben4-Jun-07 1:49
kubben4-Jun-07 1:49 
Questionhow to get popup window Pin
harithadotnet4-Jun-07 1:12
harithadotnet4-Jun-07 1:12 
Hi
I have created image controls dynamically. when i click that image control someother page should be displayed as a popup window how to do this??

my code is :


ImageButton imga;
Panel pana;
LiteralControl LL1;


private void Page_Load(object sender, System.EventArgs e)
{
string idvalue;
idvalue= Request.QueryString["id"];
int cnt;
cnt=Convert.ToInt32(Request.QueryString["count"]);
Session["impath"]="audio_release/"+ idvalue +"";

int cnt1;
if (cnt % 3==0)
{
cnt1=cnt/3;
}
else
{
cnt1=((cnt/3)+1);
}
for (int i=1;i<=cnt1;i++)
{
imga = new ImageButton();
pana=new Panel();
imga.ID = "img" +i.ToString();
imga.Width=200;
imga.Height=150;
imga.ImageUrl="audio_release/" + idvalue + "/"+ i +".jpg";
pana.ID="pl1"+i.ToString();
LL1= new LiteralControl("
");

pana.Controls.Add(LL1);
pana.Controls.Add(imga);
mainpan.Controls.Add(pana);

imga.Click +=new ImageClickEventHandler(Imagea_Click);

}
}


protected void Imagea_Click ( object sender, ImageClickEventArgs e )
{
ImageButton imga = ( ImageButton )sender;

string s=imga.ImageUrl;
popup('s');
Response.Redirect("audioimage.aspx");
}

here i want to display audioimage.aspx as popup window.

plz let me know if u know the ans

Thanks in advance.



Haritha

AnswerRe: how to get popup window Pin
Raghvendra Kumar Roy4-Jun-07 19:07
Raghvendra Kumar Roy4-Jun-07 19:07 
QuestionURL Tracker Pin
srinandan..4-Jun-07 0:18
srinandan..4-Jun-07 0:18 
QuestionHow to implement remember me next time feature Pin
deepalititi4-Jun-07 0:06
deepalititi4-Jun-07 0:06 
AnswerRe: How to implement remember me next time feature Pin
Fred_Smith4-Jun-07 0:37
Fred_Smith4-Jun-07 0:37 
QuestionMacintosh Pin
mohantfor.net3-Jun-07 23:53
mohantfor.net3-Jun-07 23:53 
AnswerRe: Macintosh Pin
Sathesh Sakthivel3-Jun-07 23:55
Sathesh Sakthivel3-Jun-07 23:55 
AnswerRe: Macintosh Pin
Christian Graus3-Jun-07 23:55
protectorChristian Graus3-Jun-07 23:55 
AnswerRe: Macintosh Pin
Mark J. Miller4-Jun-07 8:56
Mark J. Miller4-Jun-07 8:56 
AnswerFUNNY! Pin
Expert Coming4-Jun-07 9:53
Expert Coming4-Jun-07 9:53 
QuestionOpen my web application from other computer. Pin
Chetan Ranpariya3-Jun-07 23:25
Chetan Ranpariya3-Jun-07 23:25 
AnswerRe: Open my web application from other computer. Pin
StianSandberg3-Jun-07 23:41
StianSandberg3-Jun-07 23:41 
GeneralRe: Open my web application from other computer. Pin
Chetan Ranpariya3-Jun-07 23:58
Chetan Ranpariya3-Jun-07 23:58 
AnswerRe: Open my web application from other computer. Pin
Christian Graus3-Jun-07 23:54
protectorChristian Graus3-Jun-07 23:54 
GeneralRe: Open my web application from other computer. Pin
Chetan Ranpariya4-Jun-07 0:32
Chetan Ranpariya4-Jun-07 0:32 
AnswerRe: Open my web application from other computer. Pin
koolprasad20034-Jun-07 0:53
professionalkoolprasad20034-Jun-07 0:53 
QuestionMacintosh Pin
mohantfor.net3-Jun-07 23:24
mohantfor.net3-Jun-07 23:24 
AnswerRe: Macintosh Pin
Chetan Ranpariya3-Jun-07 23:27
Chetan Ranpariya3-Jun-07 23:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.