Click here to Skip to main content
15,926,857 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Asp.net(with C#) project into .exe Pin
P Bhasker29-Nov-06 4:20
P Bhasker29-Nov-06 4:20 
GeneralRe: Asp.net(with C#) project into .exe Pin
Eduard Keilholz29-Nov-06 4:22
Eduard Keilholz29-Nov-06 4:22 
GeneralRe: Asp.net(with C#) project into .exe Pin
Paddy Boyd29-Nov-06 4:25
Paddy Boyd29-Nov-06 4:25 
QuestionUser Control in ASP.NET Pin
R.Palanivel29-Nov-06 2:14
R.Palanivel29-Nov-06 2:14 
AnswerRe: User Control in ASP.NET Pin
Not Active29-Nov-06 3:30
mentorNot Active29-Nov-06 3:30 
GeneralRe: User Control in ASP.NET Pin
R.Palanivel29-Nov-06 19:09
R.Palanivel29-Nov-06 19:09 
GeneralRe: User Control in ASP.NET Pin
Not Active29-Nov-06 21:37
mentorNot Active29-Nov-06 21:37 
QuestionPostback - Javasctipt - ASP.NET Pin
nermsk29-Nov-06 2:14
nermsk29-Nov-06 2:14 
Hi everyone,

I have the follwing problem:

The web page/site that I am creating in ASP.NET has a button control or image button control which should display the calendar control. I am trying to avoid the postback from being triggered every time I press the button/image button.

So far I have learned that one of options is to declare the button as the HTML button, not the ASP.NET server executed button.

After creating the button a portion of code was inserted into the HTML code which declares and defines the OnClick() function for the HTML button. The code is marked as javascript code.

Now my problem is how to interact with other ASP.NET controls, i.e. how to populate the textbox control with some value/text? The thing I do not know is how to reference the ASP.NET controls from within the javascript? Is it possible to do so?

The code that was generated for the HTML Button:
<br />
<script language="javascript" type="text/javascript"><br />
<br />
// <!CDATA[<br />
<br />
Function Button1_onclick()<br />
{<br />
	<br />
}<br />
<br />
// ]]><br />
<br />
</script><br />

Once more my question is how, if possible, to interact with other ASP.NET controls on my web page? In particular, I wish to add some text (date) to a TextBox without causing the postback event, using the HTML button.

Thanks a lot!
AnswerRe: Postback - Javasctipt - ASP.NET Pin
Imran Khan Pathan29-Nov-06 2:38
Imran Khan Pathan29-Nov-06 2:38 
GeneralRe: Postback - Javasctipt - ASP.NET Pin
nermsk29-Nov-06 2:51
nermsk29-Nov-06 2:51 
GeneralRe: Postback - Javasctipt - ASP.NET Pin
Not Active29-Nov-06 3:38
mentorNot Active29-Nov-06 3:38 
AnswerRe: Postback - Javasctipt - ASP.NET Pin
just3ala229-Nov-06 3:08
just3ala229-Nov-06 3:08 
Questionerror (404)Not Found Pin
OlaMohammed29-Nov-06 1:29
OlaMohammed29-Nov-06 1:29 
AnswerRe: error (404)Not Found Pin
Paddy Boyd29-Nov-06 1:40
Paddy Boyd29-Nov-06 1:40 
GeneralRe: error (404)Not Found Pin
OlaMohammed29-Nov-06 1:57
OlaMohammed29-Nov-06 1:57 
GeneralRe: error (404)Not Found Pin
Sandeep Akhare29-Nov-06 2:14
Sandeep Akhare29-Nov-06 2:14 
QuestionHow to reduce displaying time for treeview in ASP.Net Pin
Senthil_M29-Nov-06 1:28
Senthil_M29-Nov-06 1:28 
AnswerRe: How to reduce displaying time for treeview in ASP.Net Pin
deardiary29-Dec-09 1:39
deardiary29-Dec-09 1:39 
AnswerRe: How to reduce displaying time for treeview in ASP.Net Pin
Ravi Sant13-May-11 10:26
Ravi Sant13-May-11 10:26 
QuestionPopup Problem Pin
sri_con329-Nov-06 0:53
sri_con329-Nov-06 0:53 
AnswerRe: Popup Problem Pin
Guffa29-Nov-06 1:34
Guffa29-Nov-06 1:34 
GeneralRe: Popup Problem Pin
sri_con329-Nov-06 1:43
sri_con329-Nov-06 1:43 
AnswerRe: Popup Problem Pin
Guffa29-Nov-06 21:11
Guffa29-Nov-06 21:11 
GeneralRe: Popup Problem Pin
sri_con329-Nov-06 23:00
sri_con329-Nov-06 23:00 
AnswerRe: Popup Problem Pin
Guffa30-Nov-06 4:33
Guffa30-Nov-06 4:33 

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.