Click here to Skip to main content
15,557,928 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Displaying images from another folder.? Pin
Mir_As25-Nov-08 5:48
Mir_As25-Nov-08 5:48 
Questionhow to pass xml file to web service Pin
md_azy25-Nov-08 2:51
md_azy25-Nov-08 2:51 
Questionreg error 40 Pin
madeline_veda25-Nov-08 2:20
madeline_veda25-Nov-08 2:20 
AnswerRe: reg error 40 Pin
Abhijit Jana25-Nov-08 2:47
professionalAbhijit Jana25-Nov-08 2:47 
QuestionI am Confused with this Pin
Krazy Programmer25-Nov-08 1:30
Krazy Programmer25-Nov-08 1:30 
AnswerRe: I am Confused with this Pin
Abhijit Jana25-Nov-08 2:49
professionalAbhijit Jana25-Nov-08 2:49 
QuestionPopulate values from GridView to ModalDialog box using Javascript....? Pin
codingrocks25-Nov-08 1:01
codingrocks25-Nov-08 1:01 
AnswerRe: Populate values from GridView to ModalDialog box using Javascript....? [modified] Pin
Nishant Singh25-Nov-08 2:24
Nishant Singh25-Nov-08 2:24 
Accessing Controls of parent form in JavaScript of PopUp
<br />
var winobj=window.opener;<br />
txt2=winobj.document.getElementById('Textbox2');<br />

For Grid View Objects
Row Data bound add onclick of LinkButton add following attributes
<br />
 LinkButton I1 = (LinkButton)(e.Row.FindControl("LinkButton"));<br />
 I1.Attributes.Add("onClick", "OpenPopUp('" + I1.ClientID+ "');");<br />

Now in JavaScript you will get the ClientId of link button clicked
You can send it as a Query string
<br />
function OpenPopUp(mes)<br />
{ var mest=mes;<br />
  alert(mes);<br />
  window.open("WebTest.aspx?CntrlId="+mes,"WebPopUp",'width=200,height=200,location=yes');<br />
}<br />

Now in PopUp page assign this Id in some Hiddenfield
manipulate this value to retrieve id's of other grid controls
eg : Suppose u got Id of LinkBtn as GridView1_ctl00_ImageX
and in the same row u have a textbox with Id "txtname"
so it's ClientId will be DataList1_ctl00_txtname
u can access the textbox above as (A little string manipulation is required)

<br />
var winobj=window.opener;<br />
txt2=winobj.document.getElementById('DataList1_ctl00_txtname');<br />


modified on Tuesday, November 25, 2008 9:22 AM

QuestionHow about heavily using configuration variables in web.config? Pin
Mohammad A Gdeisat24-Nov-08 23:58
Mohammad A Gdeisat24-Nov-08 23:58 
Questionunable to use .test AJAX controls Pin
AprNgp24-Nov-08 23:30
AprNgp24-Nov-08 23:30 
AnswerRe: unable to use .test AJAX controls Pin
simsen25-Nov-08 1:02
simsen25-Nov-08 1:02 
AnswerRe: unable to use .test AJAX controls Pin
Abhijit Jana25-Nov-08 2:54
professionalAbhijit Jana25-Nov-08 2:54 
GeneralRe: unable to use .test AJAX controls Pin
AprNgp25-Nov-08 6:08
AprNgp25-Nov-08 6:08 
QuestionXML File Search from ASP.NET page Pin
codingrocks24-Nov-08 23:21
codingrocks24-Nov-08 23:21 
AnswerRe: XML File Search from ASP.NET page Pin
Nishant Singh25-Nov-08 0:47
Nishant Singh25-Nov-08 0:47 
GeneralXML File Search from ASP.NET page Pin
codingrocks26-Nov-08 17:42
codingrocks26-Nov-08 17:42 
QuestionClosing child window Pin
Subulakshmi Karthic24-Nov-08 23:15
Subulakshmi Karthic24-Nov-08 23:15 
AnswerRe: Closing child window Pin
Nishant Singh24-Nov-08 23:37
Nishant Singh24-Nov-08 23:37 
QuestionRe: Closing child window Pin
Subulakshmi Karthic24-Nov-08 23:41
Subulakshmi Karthic24-Nov-08 23:41 
AnswerRe: Closing child window Pin
Nishant Singh25-Nov-08 0:28
Nishant Singh25-Nov-08 0:28 
QuestionRe: Closing child window Pin
Subulakshmi Karthic25-Nov-08 0:55
Subulakshmi Karthic25-Nov-08 0:55 
QuestionHitcounter problem...please guide.. Pin
mr_muskurahat24-Nov-08 22:39
mr_muskurahat24-Nov-08 22:39 
AnswerRe: Hitcounter problem...please guide.. Pin
Christian Graus24-Nov-08 23:40
mveChristian Graus24-Nov-08 23:40 
GeneralRe: Hitcounter problem...please guide.. Pin
mr_muskurahat25-Nov-08 0:33
mr_muskurahat25-Nov-08 0:33 
Question[Message Deleted] Pin
shanthi jothi24-Nov-08 22:32
shanthi jothi24-Nov-08 22: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.