Click here to Skip to main content
15,885,998 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: [Urgent](NewBie)How To dynamicaly add three dropdownlists in ASP.NET C#? Pin
bilal haider25-Nov-08 18:24
bilal haider25-Nov-08 18:24 
Questiondisplaying image in gridview from folder Pin
Jai Vikas Singh25-Nov-08 2:56
Jai Vikas Singh25-Nov-08 2:56 
AnswerRe: displaying image in gridview from folder Pin
kenexcelon25-Nov-08 5:17
kenexcelon25-Nov-08 5:17 
GeneralRe: displaying image in gridview from folder Pin
raghvendrapanda25-Nov-08 19:21
raghvendrapanda25-Nov-08 19:21 
QuestionConditional PostBackURL Based in UserName Pin
lisad_tgc25-Nov-08 2:39
lisad_tgc25-Nov-08 2:39 
AnswerRe: Conditional PostBackURL Based in UserName Pin
vrushaliD29-Jan-09 0:23
vrushaliD29-Jan-09 0:23 
QuestionCan we use SOAP UI's mockup web service in an ASP .net project Pin
Rocky#25-Nov-08 2:22
Rocky#25-Nov-08 2:22 
QuestionDisplaying images from another folder.? Pin
Mir_As25-Nov-08 1:55
Mir_As25-Nov-08 1:55 
AnswerRe: Displaying images from another folder.? Pin
Nishant Singh25-Nov-08 2:36
Nishant Singh25-Nov-08 2:36 
GeneralRe: Displaying images from another folder.? Pin
Mir_As25-Nov-08 3:03
Mir_As25-Nov-08 3:03 
GeneralRe: Displaying images from another folder.? Pin
Nishant Singh25-Nov-08 3:47
Nishant Singh25-Nov-08 3:47 
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 

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.