Click here to Skip to main content
15,889,876 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Send mail with attachment Pin
Christian Graus23-Jul-07 21:07
protectorChristian Graus23-Jul-07 21:07 
QuestionInvoke Records from third party database using Webservice Pin
RajaSrirangan23-Jul-07 16:52
RajaSrirangan23-Jul-07 16:52 
QuestionDisplay Different Data Types [modified] Pin
ASPnoob23-Jul-07 16:08
ASPnoob23-Jul-07 16:08 
AnswerRe: Display Different Data Types Pin
Christian Graus23-Jul-07 19:04
protectorChristian Graus23-Jul-07 19:04 
GeneralRe: Display Different Data Types Pin
ASPnoob23-Jul-07 20:40
ASPnoob23-Jul-07 20:40 
GeneralRe: Display Different Data Types Pin
Christian Graus23-Jul-07 20:54
protectorChristian Graus23-Jul-07 20:54 
QuestionButton click Pin
kjosh23-Jul-07 11:44
kjosh23-Jul-07 11:44 
AnswerRe: Button click Pin
Psycho-*Coder*-Extreme23-Jul-07 14:43
Psycho-*Coder*-Extreme23-Jul-07 14:43 
Heres an easy solution:

When the user clicks the "Save" button disable the button (this will prevent double clicks"
Keep the button disabled until something on the form changes, ie; some text changes.

To do the second part, he is some pseudo-code to help you get started
Dim HasChanged as Boolean = False

Then in the TextChanged Event of your textboxes (you can have one that controls all the textboxes so you dont have multiple functions doing the same thing) change HasChanged to True
Protected Sub TextBox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged,TextBox2.TextChanged, etc...
  HasChanged = True
  If HasChanged Then
     Button1.Enabled = True
  Else
     Button1.Enabled = False
  End If
End Sub

Keep in mind this is just a "general" starting point, you'll have to do the rest, then if you run into problems post your code here (and the problem/error you're having) and someone will help


"It's only that urgent if you have to pee."
Dave Kreskowiak


GeneralRe: Button click Pin
Paul Conrad23-Jul-07 14:51
professionalPaul Conrad23-Jul-07 14:51 
QuestionDouble quote variables Pin
VK-Cadec23-Jul-07 9:43
VK-Cadec23-Jul-07 9:43 
AnswerRe: Double quote variables Pin
Christian Graus23-Jul-07 10:43
protectorChristian Graus23-Jul-07 10:43 
AnswerRe: Double quote variables Pin
Dave Kreskowiak23-Jul-07 10:58
mveDave Kreskowiak23-Jul-07 10:58 
GeneralRe: Double quote variables [modified] Pin
doWhileSomething23-Jul-07 15:08
doWhileSomething23-Jul-07 15:08 
GeneralRe: Double quote variables Pin
Paul Conrad23-Jul-07 15:16
professionalPaul Conrad23-Jul-07 15:16 
GeneralRe: Double quote variables Pin
VK-Cadec24-Jul-07 3:16
VK-Cadec24-Jul-07 3:16 
GeneralRe: Double quote variables Pin
Paul Conrad24-Jul-07 5:07
professionalPaul Conrad24-Jul-07 5:07 
QuestionNeed help with Single Sign On (SSO) Pin
Ridge Howison23-Jul-07 9:38
Ridge Howison23-Jul-07 9:38 
AnswerRe: Need help with Single Sign On (SSO) Pin
Christian Graus23-Jul-07 10:44
protectorChristian Graus23-Jul-07 10:44 
QuestionButton Click Event Pin
Civic0623-Jul-07 9:13
Civic0623-Jul-07 9:13 
AnswerRe: Button Click Event Pin
Amit Kumar G23-Jul-07 9:15
Amit Kumar G23-Jul-07 9:15 
GeneralRe: Button Click Event Pin
Civic0623-Jul-07 9:21
Civic0623-Jul-07 9:21 
GeneralRe: Button Click Event Pin
Amit Kumar G23-Jul-07 9:31
Amit Kumar G23-Jul-07 9:31 
GeneralRe: Button Click Event Pin
Civic0623-Jul-07 10:17
Civic0623-Jul-07 10:17 
GeneralRe: Button Click Event Pin
Amit Kumar G23-Jul-07 10:19
Amit Kumar G23-Jul-07 10:19 
QuestionF5 Refersh/Button Click [modified] Pin
Amit Kumar G23-Jul-07 7:50
Amit Kumar G23-Jul-07 7:50 

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.