Click here to Skip to main content
15,914,608 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionclose buton Pin
Sonia Gupta27-Aug-07 20:00
Sonia Gupta27-Aug-07 20:00 
AnswerRe: close buton Pin
Amit.Amit.Amit...27-Aug-07 20:10
Amit.Amit.Amit...27-Aug-07 20:10 
GeneralRe: close buton Pin
Sonia Gupta27-Aug-07 20:51
Sonia Gupta27-Aug-07 20:51 
GeneralRe: close buton Pin
Amit.Amit.Amit...27-Aug-07 21:10
Amit.Amit.Amit...27-Aug-07 21:10 
AnswerRe: close buton Pin
Revathij27-Aug-07 21:20
Revathij27-Aug-07 21:20 
AnswerRe: multiple mail send Pin
ChrisFarrugia27-Aug-07 19:59
ChrisFarrugia27-Aug-07 19:59 
QuestionPop up window from gridview Pin
ChrisFarrugia27-Aug-07 19:49
ChrisFarrugia27-Aug-07 19:49 
AnswerRe: Pop up window from gridview [modified] Pin
Deepak the Cool27-Aug-07 19:58
Deepak the Cool27-Aug-07 19:58 
Use the following code for popUp in <asp:TemplateField><ItemTemplate>
and use <a> tag rather than Hyperlink...

<asp:TemplateField>
<ItemTemplate>
<a href="javascript:winOpen('<%# "AssociateContactsPopUp.aspx?Code=" + Eval(Server.UrlEncode("YourKey").ToString()) %>')" style="color:Maroon" >View Profile</a>

</ItemTemplate>
</asp:TemplateField>
now goto your popup window page_load event and get the above "YourKey" from QueryString. and do that what yuo want to your popup window.Fetch records from the DB by above define "YourKey"......


and write the following Jscript function into ur girdview aspx page:
<code><script language="javascript" type="text/javascript">
function winOpen(URL)
{
window.open(URL, 'Default','width=550,height=520,toolbar=no,
location=no,directories=no,status=no,menubar=no,scrollbars=yes,
copyhistory=yes,resizable=no,left=250,top=100,screenX=0,screenY=0');
}
</script></code>



Smile | :)















-- modified at 2:05 Tuesday 28th August, 2007


-- modified at 2:07 Tuesday 28th August, 2007


-- modified at 2:20 Tuesday 28th August, 2007

Deepak

Smile a Lots,Its Costs Nothing


-- modified at 2:21 Tuesday 28th August, 2007
GeneralRe: Pop up window from gridview Pin
ChrisFarrugia27-Aug-07 20:03
ChrisFarrugia27-Aug-07 20:03 
GeneralRe: Pop up window from gridview Pin
Deepak the Cool27-Aug-07 20:05
Deepak the Cool27-Aug-07 20:05 
GeneralRe: Pop up window from gridview Pin
ChrisFarrugia27-Aug-07 20:12
ChrisFarrugia27-Aug-07 20:12 
AnswerRe: Pop up window from gridview Pin
Amit.Amit.Amit...27-Aug-07 20:08
Amit.Amit.Amit...27-Aug-07 20:08 
GeneralRe: Pop up window from gridview Pin
ChrisFarrugia27-Aug-07 20:14
ChrisFarrugia27-Aug-07 20:14 
GeneralRe: Pop up window from gridview Pin
Amit.Amit.Amit...27-Aug-07 20:18
Amit.Amit.Amit...27-Aug-07 20:18 
GeneralRe: Pop up window from gridview Pin
ChrisFarrugia27-Aug-07 20:20
ChrisFarrugia27-Aug-07 20:20 
Questiondetailview & gridview Pin
kaaj2127-Aug-07 19:45
kaaj2127-Aug-07 19:45 
AnswerRe: detailview & gridview Pin
Deepak the Cool27-Aug-07 20:11
Deepak the Cool27-Aug-07 20:11 
GeneralRe: detailview & gridview Pin
kaaj2127-Aug-07 20:37
kaaj2127-Aug-07 20:37 
Questiondisplay a image Pin
jai 12327-Aug-07 19:39
jai 12327-Aug-07 19:39 
AnswerRe: display a image Pin
Christian Graus27-Aug-07 19:43
protectorChristian Graus27-Aug-07 19:43 
AnswerRe: display a image Pin
ChrisFarrugia27-Aug-07 20:19
ChrisFarrugia27-Aug-07 20:19 
QuestionWSE 2.0 and Visual Studio 2005 Pin
Sikk-SikTh27-Aug-07 19:31
Sikk-SikTh27-Aug-07 19:31 
Questionhow to generate html report from asp.net? Pin
sathyan_829427-Aug-07 18:59
sathyan_829427-Aug-07 18:59 
AnswerRe: how to generate html report from asp.net? Pin
Christian Graus27-Aug-07 19:01
protectorChristian Graus27-Aug-07 19:01 
Questionhow to bind a image Pin
jai 12327-Aug-07 18:41
jai 12327-Aug-07 18:41 

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.