Click here to Skip to main content
15,895,142 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Set label's text clientside and use it to set button's text server side. Pin
JamieRushton_25-Jun-10 4:19
JamieRushton_25-Jun-10 4:19 
GeneralRe: Set label's text clientside and use it to set button's text server side. Pin
Hardus Lombaard25-Jun-10 4:30
Hardus Lombaard25-Jun-10 4:30 
GeneralRe: Set label's text clientside and use it to set button's text server side. Pin
JamieRushton_25-Jun-10 4:39
JamieRushton_25-Jun-10 4:39 
GeneralRe: Set label's text clientside and use it to set button's text server side. Pin
Hardus Lombaard25-Jun-10 4:54
Hardus Lombaard25-Jun-10 4:54 
QuestionEnable button and change label's text clientside Pin
Hardus Lombaard25-Jun-10 2:10
Hardus Lombaard25-Jun-10 2:10 
AnswerRe: Enable button and change label's text clientside Pin
Not Active25-Jun-10 2:18
mentorNot Active25-Jun-10 2:18 
AnswerRe: Enable button and change label's text clientside Pin
Ankur\m/25-Jun-10 3:01
professionalAnkur\m/25-Jun-10 3:01 
GeneralRe: Enable button and change label's text clientside Pin
michaelschmitt25-Jun-10 4:10
michaelschmitt25-Jun-10 4:10 
Only if he includes the "return.." part in the OnClientClick
also. Like:

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Test</title>

    <script type="text/javascript">
        function Hello() {
            document.getElementById('Button2').disabled = false;
            document.getElementById('Label1').innerText = "bye";
            return false;       
        }    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Button ID="Button1" runat="server" Text="Button" OnClientClick="return Hello()" />
        <br />
        <asp:Button ID="Button2" runat="server" Enabled="False" Text="Button" />
        <br />
        <asp:Label runat="server" ID="Label1" Text="hello"></asp:Label>
    </div>
    </form>
</body>
</html> 

GeneralRe: Enable button and change label's text clientside Pin
Hardus Lombaard25-Jun-10 4:21
Hardus Lombaard25-Jun-10 4:21 
GeneralRe: Enable button and change label's text clientside Pin
T M Gray25-Jun-10 9:29
T M Gray25-Jun-10 9:29 
GeneralRe: Enable button and change label's text clientside Pin
raju melveetilpurayil26-Jun-10 0:08
professionalraju melveetilpurayil26-Jun-10 0:08 
GeneralRe: Enable button and change label's text clientside Pin
Ankur\m/25-Jun-10 18:20
professionalAnkur\m/25-Jun-10 18:20 
Questionend session on closing the browser [modified] Pin
Hemant Thaker25-Jun-10 1:01
Hemant Thaker25-Jun-10 1:01 
AnswerRe: end session on closing the browser Pin
R. Giskard Reventlov25-Jun-10 2:31
R. Giskard Reventlov25-Jun-10 2:31 
QuestionConvert generic list into datatable Pin
zeego24-Jun-10 20:11
zeego24-Jun-10 20:11 
AnswerRe: Convert generic list into datatable Pin
PSK_24-Jun-10 21:28
PSK_24-Jun-10 21:28 
QuestionCompare Datatables and get changed rows. Pin
zeego24-Jun-10 20:04
zeego24-Jun-10 20:04 
QuestionError sending email Pin
Dot-Net-Dev24-Jun-10 17:46
Dot-Net-Dev24-Jun-10 17:46 
AnswerRe: Error sending email Pin
Sandeep Mewara24-Jun-10 19:41
mveSandeep Mewara24-Jun-10 19:41 
QuestionIs any problem in Image Uploading in IE7? Pin
raju melveetilpurayil24-Jun-10 10:52
professionalraju melveetilpurayil24-Jun-10 10:52 
AnswerRe: Is any problem in Image Uploading in IE7? Pin
Sandeep Mewara24-Jun-10 19:43
mveSandeep Mewara24-Jun-10 19:43 
GeneralRe: Is any problem in Image Uploading in IE7? Pin
raju melveetilpurayil25-Jun-10 13:28
professionalraju melveetilpurayil25-Jun-10 13:28 
Questionhow to insert digital signature in Word Application from Sql Server database in Windows Application Pin
raghvendrapanda24-Jun-10 9:28
raghvendrapanda24-Jun-10 9:28 
Questionkeep track of folder's activities Pin
ariez8824-Jun-10 8:32
ariez8824-Jun-10 8:32 
AnswerRe: keep track of folder's activities Pin
Paladin200024-Jun-10 11:25
Paladin200024-Jun-10 11:25 

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.