Click here to Skip to main content
15,898,732 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how to pop-up a window in asp.net Pin
nandhububbly13-Aug-07 22:48
nandhububbly13-Aug-07 22:48 
GeneralRe: how to pop-up a window in asp.net Pin
Priya S13-Aug-07 23:33
Priya S13-Aug-07 23:33 
QuestionHow to stop server side event firing based on client side event Pin
here2learn13-Aug-07 21:42
here2learn13-Aug-07 21:42 
AnswerRe: How to stop server side event firing based on client side event Pin
Talal Sultan13-Aug-07 22:10
Talal Sultan13-Aug-07 22:10 
GeneralRe: How to stop server side event firing based on client side event Pin
here2learn13-Aug-07 22:26
here2learn13-Aug-07 22:26 
AnswerRe: How to stop server side event firing based on client side event Pin
N a v a n e e t h13-Aug-07 22:23
N a v a n e e t h13-Aug-07 22:23 
GeneralRe: How to stop server side event firing based on client side event Pin
here2learn13-Aug-07 22:35
here2learn13-Aug-07 22:35 
GeneralRe: How to stop server side event firing based on client side event Pin
N a v a n e e t h13-Aug-07 22:55
N a v a n e e t h13-Aug-07 22:55 
akhilesh@slk wrote:
that onchange event not making problem


I still feel so.. Try the following

1- Add one textbox and set Autopostback=true
2- Page load add TextBox1.Attributes.Add("OnChange","MyFunction();");
3- Run the page and view source.
4- You will find textbox attribute like onchange="MyFunction();__doPostBack('TextBox1','')"

In this case MyFunction() will be called. But it won't stop if MyFunction() is returning false. So it will call __doPostBack() method which posts data.

akhilesh@slk wrote:
bound to use onchange in place of any other as if user use mouse to paste data in textbox directly without using keyboard then my event will not be fired.


I feel it's better to go for KeyDown or KeyUp events. How about checking again on OnClick event ? This event will be fired when user pastes text.


GeneralRe: How to stop server side event firing based on client side event Pin
here2learn13-Aug-07 23:13
here2learn13-Aug-07 23:13 
GeneralRe: How to stop server side event firing based on client side event Pin
N a v a n e e t h14-Aug-07 0:00
N a v a n e e t h14-Aug-07 0:00 
GeneralRe: How to stop server side event firing based on client side event Pin
here2learn14-Aug-07 0:10
here2learn14-Aug-07 0:10 
GeneralRe: How to stop server side event firing based on client side event Pin
here2learn13-Aug-07 23:21
here2learn13-Aug-07 23:21 
AnswerRe: How do you dynamicly asign html atributes in C#? Pin
N a v a n e e t h13-Aug-07 21:32
N a v a n e e t h13-Aug-07 21:32 
GeneralRe: How do you dynamicly asign html atributes in C#? Pin
N a v a n e e t h13-Aug-07 22:16
N a v a n e e t h13-Aug-07 22:16 
QuestionFull Text Searching ASP Parameters Pin
Brendan Vogt13-Aug-07 21:01
Brendan Vogt13-Aug-07 21:01 
QuestionRemember Me Next Time Pin
Chinnis13-Aug-07 20:57
Chinnis13-Aug-07 20:57 
Questionp3p policy for a website Pin
rama charan13-Aug-07 20:41
rama charan13-Aug-07 20:41 
Questionvalidation expression + asp.net2.0 Pin
ritu432113-Aug-07 20:40
ritu432113-Aug-07 20:40 
AnswerRe: validation expression + asp.net2.0 Pin
N a v a n e e t h13-Aug-07 22:27
N a v a n e e t h13-Aug-07 22:27 
GeneralRe: validation expression + asp.net2.0 [modified] Pin
ritu432114-Aug-07 0:12
ritu432114-Aug-07 0:12 
GeneralRe: validation expression + asp.net2.0 Pin
ritu432114-Aug-07 2:29
ritu432114-Aug-07 2:29 
Questionmpr.lib Pin
Azghar Hussain13-Aug-07 20:23
professionalAzghar Hussain13-Aug-07 20:23 
AnswerRe: mpr.lib Pin
Christian Graus13-Aug-07 20:35
protectorChristian Graus13-Aug-07 20:35 
GeneralRe: mpr.lib Pin
Michael Sync13-Aug-07 21:14
Michael Sync13-Aug-07 21:14 
GeneralRe: mpr.lib Pin
Christian Graus13-Aug-07 23:23
protectorChristian Graus13-Aug-07 23:23 

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.