Click here to Skip to main content
15,890,399 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: a probelm i'm struggling with from last 2 days not getting any clue.. Pin
Ziyad Mohammad18-Mar-07 20:39
Ziyad Mohammad18-Mar-07 20:39 
Questionproblem in getting formatted date Pin
paranth16-Mar-07 3:30
paranth16-Mar-07 3:30 
AnswerRe: problem in getting formatted date [modified] Pin
kubben16-Mar-07 4:09
kubben16-Mar-07 4:09 
AnswerRe: problem in getting formatted date Pin
GaryWoodfine 16-Mar-07 14:30
professionalGaryWoodfine 16-Mar-07 14:30 
GeneralRe: problem in getting formatted date Pin
paranth17-Mar-07 1:04
paranth17-Mar-07 1:04 
GeneralRe: problem in getting formatted date Pin
GaryWoodfine 17-Mar-07 1:18
professionalGaryWoodfine 17-Mar-07 1:18 
AnswerRe: problem in getting formatted date Pin
Ziyad Mohammad18-Mar-07 20:43
Ziyad Mohammad18-Mar-07 20:43 
Questionget control id from the content page Pin
srinandan..16-Mar-07 2:59
srinandan..16-Mar-07 2:59 
hi,
i have need a functionality like as soon we click the button at the moment that button will hide and after that the functionality should fire written in code behind along with that button.i am working as follows;

<script language="javascript" type="text/javascript"><br />
     function check()<br />
    {           <br />
        document.getElementById('Button1').style.visibility= "hidden";           <br />
        return false;<br />
    }<br />
</script><br />


code behind as follows:
      <br />
  protected void Page_Load(object sender, EventArgs e)<br />
    {<br />
        Button1.Attributes.Add("onclick", "javascript:return check()");<br />
    }<br />
<br />
    protected void Button1_Click(object sender, EventArgs e)<br />
    {<br />
      Response.Write("success");<br />
    }<br />


this not working properly.
and i have to do this for a content page having this Button1 so the problem is the the getElementById is not working.

Regards,
Srinandan..
AnswerRe: get control id from the content page Pin
ca8msm16-Mar-07 3:07
ca8msm16-Mar-07 3:07 
AnswerRe: get control id from the content page Pin
Sylvester george16-Mar-07 3:08
Sylvester george16-Mar-07 3:08 
GeneralRe: get control id from the content page Pin
srinandan..16-Mar-07 3:14
srinandan..16-Mar-07 3:14 
GeneralRe: get control id from the content page Pin
Sylvester george16-Mar-07 3:23
Sylvester george16-Mar-07 3:23 
GeneralRe: get control id from the content page Pin
srinandan..16-Mar-07 3:50
srinandan..16-Mar-07 3:50 
GeneralRe: get control id from the content page Pin
Sylvester george16-Mar-07 3:59
Sylvester george16-Mar-07 3:59 
GeneralRe: get control id from the content page Pin
srinandan..16-Mar-07 4:03
srinandan..16-Mar-07 4:03 
AnswerRe: get control id from the content page Pin
Jesse Squire16-Mar-07 3:49
Jesse Squire16-Mar-07 3:49 
GeneralRe: get control id from the content page Pin
srinandan..16-Mar-07 3:58
srinandan..16-Mar-07 3:58 
GeneralRe: get control id from the content page Pin
Jesse Squire16-Mar-07 5:37
Jesse Squire16-Mar-07 5:37 
GeneralRe: get control id from the content page Pin
srinandan..18-Mar-07 21:08
srinandan..18-Mar-07 21:08 
QuestionMysterious Web User Controls Related Problem Pin
powered_by_xanax16-Mar-07 2:54
powered_by_xanax16-Mar-07 2:54 
QuestionHow to transfer data from HTML table to excel or through dataset to excel. Pin
AjayKrSh16-Mar-07 2:53
AjayKrSh16-Mar-07 2:53 
AnswerRe: How to transfer data from HTML table to excel or through dataset to excel. Pin
Jesse Squire16-Mar-07 3:27
Jesse Squire16-Mar-07 3:27 
GeneralRe: How to transfer data from HTML table to excel or through dataset to excel. Pin
AjayKrSh16-Mar-07 3:48
AjayKrSh16-Mar-07 3:48 
GeneralRe: How to transfer data from HTML table to excel or through dataset to excel. Pin
Jesse Squire16-Mar-07 3:54
Jesse Squire16-Mar-07 3:54 
Questionlistbox and arrays Pin
Kunal P16-Mar-07 2:47
Kunal P16-Mar-07 2:47 

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.