Help on popup window

Posted by Vijayar under C# on 5/31/2011 | Points: 10 | Views : 1674 | Status : [Member] | Replies : 3
Hi
I have a form with fields displayed in a gridview with edit and delete buttons ,on clicking on edit button a popup should appear with the fields

vijaya


Responses

Posted by: Susanthampy on: 5/31/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Hi

Try this for pop up window,


http://stackoverflow.com/questions/1068586/jquery-lightbox-modal-windows-for-a-pop-up-web-screen

Regards,
Susan

Vijayar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Lakn2 on: 5/31/2011 [Member] Starter | Points: 25

Up
0
Down
protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e)
{
GridView1.EditIndex = e.NewEditIndex;
bindgrid();
TextBox tb = (TextBox)(GridView1.Rows[e.NewEditIndex].FindControl("tb1"));
Page.RegisterStartupScript("<script>","<script>alert('"+tb.Text +"')</script>");

}

Thanks&Regards
LakshmiNarayana Nalluri.

Vijayar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ndebata on: 6/1/2011 [Member] Starter | Points: 25

Up
0
Down
Take a look at the attached sample implemented using Ajax Modalpopup extender.
Thanks,
Debata
 Download source file

Vijayar, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response