Click here to Skip to main content
15,895,799 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: HTTP 404 Pin
ZurdoDev25-May-12 7:18
professionalZurdoDev25-May-12 7:18 
GeneralRe: HTTP 404 Pin
Franco Cipriano25-May-12 7:27
Franco Cipriano25-May-12 7:27 
GeneralRe: HTTP 404 Pin
ZurdoDev25-May-12 7:30
professionalZurdoDev25-May-12 7:30 
GeneralRe: HTTP 404 Pin
Franco Cipriano25-May-12 7:38
Franco Cipriano25-May-12 7:38 
GeneralRe: HTTP 404 Pin
ZurdoDev25-May-12 7:39
professionalZurdoDev25-May-12 7:39 
GeneralRe: HTTP 404 Pin
Franco Cipriano27-May-12 21:03
Franco Cipriano27-May-12 21:03 
AnswerRe: HTTP 404 Pin
frostcox25-May-12 10:29
frostcox25-May-12 10:29 
GeneralRe: HTTP 404 Pin
Franco Cipriano27-May-12 21:13
Franco Cipriano27-May-12 21:13 
Yes, I placed some breakpoints, but when I click on the button where it will pop-up a window it won't stop on the breakpoint..here is the code for the pop-up window and the code for the passing back the value from the gridview to the parent page.

//code for pop-up window
C#
protected void btnAll_Click(object sender, EventArgs e)
       {

           System.Text.StringBuilder sb = new System.Text.StringBuilder();
           sb.Append("<script language='javascript'>");
           sb.Append("window.open('frmList.aspx', 'MPS Account List',");
           sb.Append("'top=0, left=0, width='500', height='700', menubar=no,toolbar=yes,status,resizable=yes,addressbar=yes');<");
           sb.Append("/script>");

           Type t = this.GetType();

           if (!ClientScript.IsClientScriptBlockRegistered(t, "PopupScript"))
               ClientScript.RegisterClientScriptBlock(t, "PopupScript", sb.ToString());

       }



//code for passing value back
C#
public void MPS_Selected(Object sender, GridViewCommandEventArgs e)
        {
            if (e.CommandName == "Select")
            {

                ClientScript.RegisterStartupScript(this.GetType(), "alert", "<script type='text/javascript'>alert('msg!')</script>");

                // Convert the row index stored in the CommandArgument
                // property to an Integer.
                int index = Convert.ToInt32(e.CommandArgument);
                //Populate textbox with selected values

                //String s = Request.QueryString["grdAll.Rows[index].Cells[1].Text.ToString();"];
                string name = grdAll.Rows[index].Cells[1].Text.ToString();
                string Industry = grdAll.Rows[index].Cells[2].Text.ToString();
                string SubInd = grdAll.Rows[index].Cells[3].Text.ToString();
                string geo = grdAll.Rows[index].Cells[4].Text.ToString();
                string location = grdAll.Rows[index].Cells[5].Text.ToString();

                Page.Response.Redirect("~/WebForm1.aspx?name=" + name + "&industry=" + Industry + "&subind=" + SubInd + "&geo=" + geo + "&location=" + location);


                //HttpContext _context = HttpContext.Current;
                //_context.Items.Add("name", name);
                //Server.Transfer("~/WebForm1.aspx");


            }
        }

AnswerRe: HTTP 404 Pin
wikizhao25-May-12 16:14
wikizhao25-May-12 16:14 
GeneralRe: HTTP 404 Pin
Franco Cipriano27-May-12 21:16
Franco Cipriano27-May-12 21:16 
GeneralRe: HTTP 404 Pin
wikizhao28-May-12 17:41
wikizhao28-May-12 17:41 
QuestionRegarding Availability of a username in Asp.net Pin
anu.koshy8524-May-12 23:13
anu.koshy8524-May-12 23:13 
AnswerRe: Regarding Availability of a username in Asp.net Pin
Richard MacCutchan25-May-12 1:14
mveRichard MacCutchan25-May-12 1:14 
GeneralRe: Regarding Availability of a username in Asp.net Pin
anu.koshy8525-May-12 4:19
anu.koshy8525-May-12 4:19 
AnswerRe: Regarding Availability of a username in Asp.net Pin
ZurdoDev25-May-12 4:45
professionalZurdoDev25-May-12 4:45 
AnswerRe: Regarding Availability of a username in Asp.net Pin
vvashishta25-May-12 2:39
vvashishta25-May-12 2:39 
AnswerRe: Regarding Availability of a username in Asp.net Pin
David Mujica25-May-12 6:13
David Mujica25-May-12 6:13 
AnswerRe: Regarding Availability of a username in Asp.net Pin
wikizhao25-May-12 16:17
wikizhao25-May-12 16:17 
QuestionTab Control Pin
niyajahmad24-May-12 18:56
niyajahmad24-May-12 18:56 
AnswerRe: Tab Control Pin
vvashishta25-May-12 2:40
vvashishta25-May-12 2:40 
AnswerRe: Tab Control Pin
ZurdoDev25-May-12 4:45
professionalZurdoDev25-May-12 4:45 
QuestionModal Popup Extender not showing during debug Pin
berba24-May-12 7:41
berba24-May-12 7:41 
AnswerRe: Modal Popup Extender not showing during debug Pin
ZurdoDev25-May-12 4:47
professionalZurdoDev25-May-12 4:47 
GeneralRe: Modal Popup Extender not showing during debug Pin
berba27-May-12 2:30
berba27-May-12 2:30 
Questionweb site development Pin
tuticorinmano7724-May-12 3:32
tuticorinmano7724-May-12 3:32 

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.