Click here to Skip to main content
16,005,181 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: newbie help Pin
ozeegers16-Nov-06 11:37
ozeegers16-Nov-06 11:37 
GeneralRe: newbie help Pin
Grapes-R-Fun16-Nov-06 16:05
Grapes-R-Fun16-Nov-06 16:05 
GeneralRe: newbie help Pin
Grapes-R-Fun17-Nov-06 2:23
Grapes-R-Fun17-Nov-06 2:23 
GeneralRe: newbie help Pin
ozeegers18-Nov-06 6:25
ozeegers18-Nov-06 6:25 
GeneralRe: newbie help Pin
Grapes-R-Fun27-Nov-06 4:41
Grapes-R-Fun27-Nov-06 4:41 
GeneralRe: newbie help Pin
ozeegers19-Nov-06 0:47
ozeegers19-Nov-06 0:47 
GeneralRe: newbie help Pin
Grapes-R-Fun27-Nov-06 4:35
Grapes-R-Fun27-Nov-06 4:35 
GeneralRe: newbie help Pin
Grapes-R-Fun28-Nov-06 3:18
Grapes-R-Fun28-Nov-06 3:18 
Ok Olivier, this is how you can open your pop-up from a GridView, and pass data bound parameter to the pop-up. In your .aspx source, paste the following templated column:

<asp:TemplateField HeaderText="Click on Url to open new window" SortExpression="COLUMN_1">
<ItemTemplate>
<asp:HyperLink ID="yourHyperLink" runat="server" NavigateUrl='<%# Eval("EVENT_ID", "~/yourPath/yourPopUp.aspx?yourSessionVariable={0}") %>'Target="_blank" Text='<%# Bind("COLUMN_1") %>'></asp:HyperLink>
</ItemTemplate>
<HeaderStyle Width="180px" />
</asp:TemplateField>

Note that yourSessionVariable={0} will send the value of the FIRST column to your target page. Now, in your pop-up you will have to first get Request.QueryString["yourSessionVariable"], do type casting as you see necessary. But, you are now sending data via GET method which is not exactly safe Frown | :-(

You can play around with all the options that you have, and see what works best!

Nila

"...for that, I will need a large cup of coffee and a brand muffin!" -Samantha Bea
QuestionHow to be a good member of the discussion board Pin
ednrgc14-Nov-06 7:25
ednrgc14-Nov-06 7:25 
GeneralRe: How to be a good member of the discussion board Pin
Guffa14-Nov-06 8:16
Guffa14-Nov-06 8:16 
GeneralRe: How to be a good member of the discussion board Pin
ednrgc14-Nov-06 8:17
ednrgc14-Nov-06 8:17 
GeneralRe: How to be a good member of the discussion board Pin
Grapes-R-Fun14-Nov-06 9:08
Grapes-R-Fun14-Nov-06 9:08 
Questionweb user control Pin
KORCARI14-Nov-06 6:46
KORCARI14-Nov-06 6:46 
AnswerRe: web user control Pin
RichardGrimmer14-Nov-06 7:10
RichardGrimmer14-Nov-06 7:10 
QuestionTable dimensions Pin
KORCARI14-Nov-06 6:17
KORCARI14-Nov-06 6:17 
AnswerRe: Table dimensions Pin
RichardGrimmer14-Nov-06 7:11
RichardGrimmer14-Nov-06 7:11 
QuestionPage Activation Pin
Ramasubramaniam14-Nov-06 4:47
Ramasubramaniam14-Nov-06 4:47 
AnswerRe: Page Activation Pin
indianet14-Nov-06 5:43
indianet14-Nov-06 5:43 
AnswerRe: Page Activation Pin
l0kke15-Nov-06 0:20
l0kke15-Nov-06 0:20 
QuestionHow Is Possible Check Row Affected Pin
marconi Flangepants14-Nov-06 4:38
marconi Flangepants14-Nov-06 4:38 
AnswerRe: How Is Possible Check Row Affected Pin
indianet14-Nov-06 5:47
indianet14-Nov-06 5:47 
GeneralRe: How Is Possible Check Row Affected Pin
marconi Flangepants14-Nov-06 7:29
marconi Flangepants14-Nov-06 7:29 
AnswerRe: How Is Possible Check Row Affected Pin
Not Active14-Nov-06 6:38
mentorNot Active14-Nov-06 6:38 
GeneralRe: How Is Possible Check Row Affected Pin
marconi Flangepants14-Nov-06 7:34
marconi Flangepants14-Nov-06 7:34 
GeneralRe: How Is Possible Check Row Affected Pin
Not Active14-Nov-06 8:31
mentorNot Active14-Nov-06 8:31 

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.