Click here to Skip to main content
15,922,309 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to get radiobutton value inside a button click event. [modified] Pin
chakran24-Apr-08 18:06
chakran24-Apr-08 18:06 
AnswerRe: How to get radiobutton value inside a button click event. Pin
AlexeiXX324-Apr-08 18:26
AlexeiXX324-Apr-08 18:26 
GeneralRe: How to get radiobutton value inside a button click event. Pin
chakran24-Apr-08 18:56
chakran24-Apr-08 18:56 
GeneralRe: How to get radiobutton value inside a button click event. Pin
AlexeiXX324-Apr-08 19:01
AlexeiXX324-Apr-08 19:01 
GeneralRe: How to get radiobutton value inside a button click event. Pin
chakran24-Apr-08 19:08
chakran24-Apr-08 19:08 
GeneralRe: How to get radiobutton value inside a button click event. Pin
chakran24-Apr-08 20:38
chakran24-Apr-08 20:38 
GeneralRe: How to get radiobutton value inside a button click event. Pin
AlexeiXX325-Apr-08 5:23
AlexeiXX325-Apr-08 5:23 
GeneralChallenge - DetailsView and Calendar problem Pin
Ekjon24-Apr-08 11:59
Ekjon24-Apr-08 11:59 
I have a DetailsView where there is a DateTime field in an InsertItemTemplate. Im using a popup type calendar located in another aspx page. When a date is selected, the value populates a TextBox in the Parent window.
It works fine with any TextBox - but not the TextBox in the DetailsView. The error generates from the javascript function that tries to Return the Date to the TextBox in the DetailsView. Here's the code:
<br />
function ReturnDate()<br />
{<br />
   window.opener.document.forms["<%= strFormName %>"].elements["<%= strCtrlName %>"].value = <br />
                                                                  "<%= strSelectedDate %>";<br />
   window.close();<br />
}<br />


The error is: window.opener.document.forms.form1.elements.txtStartDate is null or not an object.

Obviously its not recognizing the TextBox because it is in the DetailsView.

Anybody knows how to access the TextBox in the DetailsView from JavaScript?
GeneralRe: Challenge - DetailsView and Calendar problem [modified] Pin
AlexeiXX324-Apr-08 18:31
AlexeiXX324-Apr-08 18:31 
GeneralRe: Challenge - DetailsView and Calendar problem Pin
AlexeiXX325-Apr-08 6:18
AlexeiXX325-Apr-08 6:18 
GeneralRe: Challenge - DetailsView and Calendar problem Pin
Ekjon25-Apr-08 7:26
Ekjon25-Apr-08 7:26 
GeneralRe: Challenge - DetailsView and Calendar problem Pin
AlexeiXX325-Apr-08 6:22
AlexeiXX325-Apr-08 6:22 
QuestionIs it possible to display a gridview based on a session variable Pin
ahlaj7724-Apr-08 8:19
ahlaj7724-Apr-08 8:19 
GeneralRe: Is it possible to display a gridview based on a session variable Pin
Ekjon24-Apr-08 11:36
Ekjon24-Apr-08 11:36 
GeneralRe: Is it possible to display a gridview based on a session variable Pin
N a v a n e e t h24-Apr-08 17:07
N a v a n e e t h24-Apr-08 17:07 
GeneralRe: Is it possible to display a gridview based on a session variable Pin
AlexeiXX324-Apr-08 18:50
AlexeiXX324-Apr-08 18:50 
QuestionRe: Is it possible to display a gridview based on a session variable Pin
ahlaj7725-Apr-08 2:34
ahlaj7725-Apr-08 2:34 
GeneralRe: Is it possible to display a gridview based on a session variable Pin
leckey25-Apr-08 3:53
leckey25-Apr-08 3:53 
GeneralRe: Is it possible to display a gridview based on a session variable Pin
ahlaj7725-Apr-08 8:44
ahlaj7725-Apr-08 8:44 
GeneralASP.NET is broken on my machine Pin
gantww24-Apr-08 5:45
gantww24-Apr-08 5:45 
GeneralRe: ASP.NET is broken on my machine Pin
Vasudevan Deepak Kumar24-Apr-08 7:13
Vasudevan Deepak Kumar24-Apr-08 7:13 
GeneralRe: ASP.NET is broken on my machine Pin
gantww24-Apr-08 7:26
gantww24-Apr-08 7:26 
QuestionHow to renew the value stored in Cache (Asp.net 1.1) Pin
Bluebamboo24-Apr-08 5:44
Bluebamboo24-Apr-08 5:44 
AnswerRe: How to renew the value stored in Cache (Asp.net 1.1) Pin
AlexeiXX324-Apr-08 18:35
AlexeiXX324-Apr-08 18:35 
GeneralRe: How to renew the value stored in Cache (Asp.net 1.1) Pin
Bluebamboo24-Apr-08 22:38
Bluebamboo24-Apr-08 22:38 

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.