This is a migrated thread and some comments may be shown as answers.

HyperLink to POPUP

1 Answer 86 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Gino Suarez
Top achievements
Rank 1
Gino Suarez asked on 06 Nov 2009, 08:58 PM
(Q2 2009)
Hi, my new issue is, how can i show a popup window from my hyperlinks of my radgrid, i'm triying to call another aspx but in a popup window. thanks

protected void tk_Grid_ItemDataBound(object sender, GridItemEventArgs e) 
    { 
 if (e.Item is GridDataItem) 
        { 
            GridDataItem dataItem = (GridDataItem)e.Item; 
 
            HyperLink h1 = new HyperLink(); 
            h1.NavigateUrl = "frmAnexoBalance.aspx?Periodo=APERTURA&MesID=0&TCID=0&GGPPID=" + dataItem["FormatoGananciaPerdidaID"].Text.Trim() + "&FBID=0";             
            //h1.Target"blank"
            h1.Text = dataItem.GetDataKeyValue("Apertura").ToString(); 
            h1.CssClass = "gridtext";             
            dataItem["Apertura"].Controls.Add(h1); 

Regards Gino.


1 Answer, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 06 Nov 2009, 10:55 PM
I believe this demo could help you achieve what you are looking for.The basic logic of how to pop up a hyperlink  target in a RadWindow is there and should be applicable to your implementation.
Tags
Grid
Asked by
Gino Suarez
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Share this question
or