Click here to Skip to main content
15,884,099 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Displaying images from another folder.? Pin
Mir_As25-Nov-08 4:48
Mir_As25-Nov-08 4:48 
Questionhow to pass xml file to web service Pin
md_azy25-Nov-08 1:51
md_azy25-Nov-08 1:51 
Questionreg error 40 Pin
madeline_veda25-Nov-08 1:20
madeline_veda25-Nov-08 1:20 
AnswerRe: reg error 40 Pin
Abhijit Jana25-Nov-08 1:47
professionalAbhijit Jana25-Nov-08 1:47 
QuestionI am Confused with this Pin
Krazy Programmer25-Nov-08 0:30
Krazy Programmer25-Nov-08 0:30 
AnswerRe: I am Confused with this Pin
Abhijit Jana25-Nov-08 1:49
professionalAbhijit Jana25-Nov-08 1:49 
QuestionPopulate values from GridView to ModalDialog box using Javascript....? Pin
codingrocks25-Nov-08 0:01
codingrocks25-Nov-08 0:01 
AnswerRe: Populate values from GridView to ModalDialog box using Javascript....? [modified] Pin
Nishant Singh25-Nov-08 1:24
Nishant Singh25-Nov-08 1: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 22:58
Mohammad A Gdeisat24-Nov-08 22:58 
Questionunable to use .test AJAX controls Pin
AprNgp24-Nov-08 22:30
AprNgp24-Nov-08 22:30 
AnswerRe: unable to use .test AJAX controls Pin
simsen25-Nov-08 0:02
simsen25-Nov-08 0:02 
AnswerRe: unable to use .test AJAX controls Pin
Abhijit Jana25-Nov-08 1:54
professionalAbhijit Jana25-Nov-08 1:54 
GeneralRe: unable to use .test AJAX controls Pin
AprNgp25-Nov-08 5:08
AprNgp25-Nov-08 5:08 
QuestionXML File Search from ASP.NET page Pin
codingrocks24-Nov-08 22:21
codingrocks24-Nov-08 22:21 
AnswerRe: XML File Search from ASP.NET page Pin
Nishant Singh24-Nov-08 23:47
Nishant Singh24-Nov-08 23:47 
GeneralXML File Search from ASP.NET page Pin
codingrocks26-Nov-08 16:42
codingrocks26-Nov-08 16:42 
QuestionClosing child window Pin
Subulakshmi Karthic24-Nov-08 22:15
Subulakshmi Karthic24-Nov-08 22:15 
AnswerRe: Closing child window Pin
Nishant Singh24-Nov-08 22:37
Nishant Singh24-Nov-08 22:37 
QuestionRe: Closing child window Pin
Subulakshmi Karthic24-Nov-08 22:41
Subulakshmi Karthic24-Nov-08 22:41 
AnswerRe: Closing child window Pin
Nishant Singh24-Nov-08 23:28
Nishant Singh24-Nov-08 23:28 
QuestionRe: Closing child window Pin
Subulakshmi Karthic24-Nov-08 23:55
Subulakshmi Karthic24-Nov-08 23:55 
QuestionHitcounter problem...please guide.. Pin
mr_muskurahat24-Nov-08 21:39
mr_muskurahat24-Nov-08 21:39 
AnswerRe: Hitcounter problem...please guide.. Pin
Christian Graus24-Nov-08 22:40
protectorChristian Graus24-Nov-08 22:40 
GeneralRe: Hitcounter problem...please guide.. Pin
mr_muskurahat24-Nov-08 23:33
mr_muskurahat24-Nov-08 23:33 
Question[Message Deleted] Pin
shanthi jothi24-Nov-08 21:32
shanthi jothi24-Nov-08 21: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.