Click here to Skip to main content
15,906,463 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Current Password field(text box ) to be checked against the value stored in database Pin
koolprasad200317-Jun-07 23:50
professionalkoolprasad200317-Jun-07 23:50 
QuestionHow to prevent running javascript code from address bar Pin
Ahmad Safwat17-Jun-07 22:23
Ahmad Safwat17-Jun-07 22:23 
AnswerRe: How to prevent running javascript code from address bar Pin
Christian Graus17-Jun-07 22:50
protectorChristian Graus17-Jun-07 22:50 
GeneralRe: How to prevent running javascript code from address bar Pin
N a v a n e e t h17-Jun-07 23:30
N a v a n e e t h17-Jun-07 23:30 
GeneralRe: How to prevent running javascript code from address bar Pin
badgrs18-Jun-07 0:11
badgrs18-Jun-07 0:11 
GeneralRe: How to prevent running javascript code from address bar Pin
Russell Jones18-Jun-07 0:31
Russell Jones18-Jun-07 0:31 
AnswerRe: How to prevent running javascript code from address bar Pin
Ahmad Safwat18-Jun-07 1:36
Ahmad Safwat18-Jun-07 1:36 
GeneralRe: How to prevent running javascript code from address bar Pin
badgrs18-Jun-07 2:03
badgrs18-Jun-07 2:03 
We understood you perfectly.

Ahmad Safwat wrote:
Can any user openning this page execute javascript code from browser's address bar to enable that button??

Yes.

Ahmad Safwat wrote:
And if yes, how can I prevent user from doing that??

You can't, which is the point we were trying to make.

Go ahead and disable the button, but don't make that the only means to stop users doing whatever function is attached to it in the code-behind. You could always set its Visible property instead so it won't even be rendered to the client.
GeneralRe: How to prevent running javascript code from address bar [modified] Pin
Ahmad Safwat18-Jun-07 2:42
Ahmad Safwat18-Jun-07 2:42 
GeneralRe: How to prevent running javascript code from address bar Pin
badgrs18-Jun-07 3:16
badgrs18-Jun-07 3:16 
GeneralRe: How to prevent running javascript code from address bar Pin
Ahmad Safwat18-Jun-07 3:31
Ahmad Safwat18-Jun-07 3:31 
GeneralRe: How to prevent running javascript code from address bar Pin
badgrs18-Jun-07 3:44
badgrs18-Jun-07 3:44 
GeneralRe: How to prevent running javascript code from address bar Pin
Ahmad Safwat18-Jun-07 4:36
Ahmad Safwat18-Jun-07 4:36 
Questionweb part creation error Pin
Viral Upadhyay17-Jun-07 21:52
Viral Upadhyay17-Jun-07 21:52 
Question[Message Deleted] Pin
Prakash_Mishra17-Jun-07 21:22
Prakash_Mishra17-Jun-07 21:22 
AnswerRe: how to display the database table values in the form Pin
Sathesh Sakthivel17-Jun-07 21:47
Sathesh Sakthivel17-Jun-07 21:47 
AnswerRe: how to display the database table values in the form Pin
N a v a n e e t h17-Jun-07 23:12
N a v a n e e t h17-Jun-07 23:12 
QuestionTo insert values from a gridview to textboxes in web page Pin
codingrocks17-Jun-07 21:20
codingrocks17-Jun-07 21:20 
AnswerRe: To insert values from a gridview to textboxes in web page Pin
Sreekumar P P17-Jun-07 23:37
Sreekumar P P17-Jun-07 23:37 
GeneralRe: To insert values from a gridview to textboxes in web page Pin
codingrocks18-Jun-07 0:25
codingrocks18-Jun-07 0:25 
Questionhow to add textbox to a table at runtime and send textbox's value to database Pin
sanchet17-Jun-07 21:13
sanchet17-Jun-07 21:13 
AnswerRe: how to add textbox to a table at runtime and send textbox's value to database Pin
Sandeep Akhare17-Jun-07 21:18
Sandeep Akhare17-Jun-07 21:18 
AnswerRe: how to add textbox to a table at runtime and send textbox's value to database Pin
Sreekumar P P18-Jun-07 0:14
Sreekumar P P18-Jun-07 0:14 
GeneralRe: how to add textbox to a table at runtime and send textbox's value to database Pin
sanchet18-Jun-07 20:18
sanchet18-Jun-07 20:18 
QuestionWeb 1.0 and Web 2.0 Pin
N a v a n e e t h17-Jun-07 21:03
N a v a n e e t h17-Jun-07 21:03 

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.