Click here to Skip to main content
14,696,718 members
Home » Discussions » ASP.NET
   

ASP.NET

 
GeneralRe: How to Find Website Visitor No Pin
Christian Graus17-Sep-09 22:55
mveChristian Graus17-Sep-09 22:55 
AnswerRe: How to Find Website Visitor No Pin
Tamer Oz17-Sep-09 22:21
MemberTamer Oz17-Sep-09 22:21 
AnswerRe: How to Find Website Visitor No Pin
Arun Jacob17-Sep-09 23:23
MemberArun Jacob17-Sep-09 23:23 
AnswerRe: How to Find Website Visitor No Pin
Prabhakar Parihar18-Sep-09 22:40
MemberPrabhakar Parihar18-Sep-09 22:40 
QuestionError while hosting crystal report as web site Pin
Ganesh_06197417-Sep-09 18:21
MemberGanesh_06197417-Sep-09 18:21 
AnswerRe: Error while hosting crystal report as web site Pin
sashidhar17-Sep-09 19:48
Membersashidhar17-Sep-09 19:48 
AnswerRe: Error while hosting crystal report as web site Pin
Abhijit Jana17-Sep-09 20:09
professionalAbhijit Jana17-Sep-09 20:09 
Questionwhy <input id="button1"> not recognising <asp:textbox xmlns:asp="#unknown"> in java script:</asp:textbox></input> Pin
amittinku17-Sep-09 18:15
Memberamittinku17-Sep-09 18:15 
There is Standard test box on webform i.e. &lt;asp:TextBox&gt;
There is one HTML button on screen i.e. &lt;input id="button1"&gt;

on Button1_onclick(), I want to clear the text entered in text box.
When I run it, It is not recognising text box object.

Note:code is in aspx file only, no code in aspx.cs file.
Check the code below, why &lt;input id="button1"&gt; not recognising &lt;asp:TextBox&gt; in java script:
---------------------------------------------

&lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="button_postback.aspx.cs" Inherits="button_postback" %&gt;

&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;

&lt;html xmlns="http://www.w3.org/1999/xhtml" &gt;
&lt;head runat="server"&gt;
      &lt;title&gt;Untitled Page&lt;/title&gt;
&lt;script language="javascript" type="text/javascript"&gt;
// &lt;!CDATA[

function Button1_onclick() {

t1.text="";
}

// ]]&gt;
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
      &lt;form id="form1" runat="server"&gt;
      &lt;div&gt;
            &amp;nbsp;
            &lt;asp:TextBox ID="t1" runat="server"&gt;&lt;/asp:TextBox&gt;
            &lt;input id="Button1" type="button" value="button" onclick="return Button1_onclick()" /&gt;&lt;/div&gt;
      &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
AnswerRe: why not recognising in java script: Pin
Christian Graus17-Sep-09 18:24
mveChristian Graus17-Sep-09 18:24 
GeneralRe: why not recognising in java script: Pin
amittinku17-Sep-09 21:17
Memberamittinku17-Sep-09 21:17 
GeneralRe: why not recognising in java script: Pin
Christian Graus17-Sep-09 21:33
mveChristian Graus17-Sep-09 21:33 
GeneralRe: why not recognising in java script: Pin
amittinku17-Sep-09 22:30
Memberamittinku17-Sep-09 22:30 
GeneralRe: why not recognising in java script: Pin
amittinku17-Sep-09 22:37
Memberamittinku17-Sep-09 22:37 
GeneralRe: why not recognising in java script: Pin
Christian Graus17-Sep-09 23:06
mveChristian Graus17-Sep-09 23:06 
Questionhow to split HUGE pages into smaller components Pin
tagyurit17-Sep-09 16:22
Membertagyurit17-Sep-09 16:22 
AnswerRe: how to split HUGE pages into smaller components Pin
Christian Graus17-Sep-09 16:38
mveChristian Graus17-Sep-09 16:38 
GeneralRe: how to split HUGE pages into smaller components Pin
tagyurit17-Sep-09 17:10
Membertagyurit17-Sep-09 17:10 
GeneralRe: how to split HUGE pages into smaller components Pin
Christian Graus17-Sep-09 17:40
mveChristian Graus17-Sep-09 17:40 
QuestionDynamic music player.... Pin
greendragons17-Sep-09 9:24
Membergreendragons17-Sep-09 9:24 
AnswerRe: Dynamic music player.... Pin
Christian Graus17-Sep-09 11:24
mveChristian Graus17-Sep-09 11:24 
GeneralRe: Dynamic music player.... Pin
greendragons17-Sep-09 11:46
Membergreendragons17-Sep-09 11:46 
GeneralRe: Dynamic music player.... Pin
Christian Graus17-Sep-09 11:56
mveChristian Graus17-Sep-09 11:56 
GeneralRe: Dynamic music player.... Pin
greendragons17-Sep-09 12:00
Membergreendragons17-Sep-09 12:00 
GeneralRe: Dynamic music player.... Pin
Christian Graus17-Sep-09 12:32
mveChristian Graus17-Sep-09 12:32 
AnswerRe: Dynamic music player.... Pin
Abhishek Sur17-Sep-09 12:31
professionalAbhishek Sur17-Sep-09 12:31 

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.