Click here to Skip to main content
15,171,303 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: asp.net communicate with test web server Pin
R. Giskard Reventlov30-Apr-12 13:08
MemberR. Giskard Reventlov30-Apr-12 13:08 
GeneralRe: asp.net communicate with test web server Pin
ZurdoDev30-Apr-12 15:47
professionalZurdoDev30-Apr-12 15:47 
GeneralRe: asp.net communicate with test web server Pin
rachel_m30-Apr-12 18:51
Memberrachel_m30-Apr-12 18:51 
Questionasp.net test setup Pin
rachel_m30-Apr-12 7:58
Memberrachel_m30-Apr-12 7:58 
AnswerRe: asp.net test setup Pin
ZurdoDev30-Apr-12 11:40
professionalZurdoDev30-Apr-12 11:40 
GeneralRe: asp.net test setup Pin
rachel_m30-Apr-12 18:54
Memberrachel_m30-Apr-12 18:54 
GeneralRe: asp.net test setup Pin
ZurdoDev1-May-12 2:55
professionalZurdoDev1-May-12 2:55 
QuestionHelp with dynamic buttons Pin
Ubbi2330-Apr-12 3:54
MemberUbbi2330-Apr-12 3:54 
Hello,

I'm new with ASP.NET and I need to create dynamic buttons.
VB
<script  runat="server">
    Sub submit(Source As Object, e As EventArgs)
        button2.Visible = True
        lbl1.Visible = True
        button3.Visible = True
    End Sub
</script>
<script  runat="server">
    Sub submit1(Source As Object, e As EventArgs)
        lbl1.Text += 1
    End Sub
</script>
<script  runat="server">
    Sub submit2(Source As Object, e As EventArgs)
        button2.Visible = False
        lbl1.Visible = False
        button3.Visible = False
    End Sub
</script>


<html>
<body style="height: 184px">

<form id="Form1" runat="server">
<asp:Button id="button1" Text="ADD" runat="server"  OnClick="submit" />
<p>
<asp:Button id="button2" Text="COUNT" runat="server"  visible="false" OnClick="submit1" />
</p>
<p>
<asp:Label id="lbl1" Text=0 runat="server" Visible=false />
    
<asp:Button id="button3" Text="REMOVE" runat="server"  visible="false" OnClick="submit2" />
</p>
</form>

</body>
</html>

I made this code but it's not really a dynamic, because it uses visible true/false commands.
Can any one help me to make them dynamic.
Thank you.
AnswerRe: Help with dynamic buttons Pin
Sandeep Mewara30-Apr-12 10:35
mveSandeep Mewara30-Apr-12 10:35 
AnswerRe: Help with dynamic buttons Pin
jkirkerx1-May-12 20:08
professionaljkirkerx1-May-12 20:08 
Questionredirect to the page that was previously visited Pin
hardik mer29-Apr-12 22:46
Memberhardik mer29-Apr-12 22:46 
AnswerRe: redirect to the page that was previously visited Pin
Rahul Rajat Singh29-Apr-12 23:40
professionalRahul Rajat Singh29-Apr-12 23:40 
GeneralRe: redirect to the page that was previously visited Pin
hardik mer30-Apr-12 8:13
Memberhardik mer30-Apr-12 8:13 
GeneralRe: redirect to the page that was previously visited Pin
hardik mer30-Apr-12 8:22
Memberhardik mer30-Apr-12 8:22 
GeneralRe: redirect to the page that was previously visited Pin
jkirkerx30-Apr-12 12:58
professionaljkirkerx30-Apr-12 12:58 
AnswerRe: redirect to the page that was previously visited Pin
rakesh@bbspl.com1-May-12 22:21
Memberrakesh@bbspl.com1-May-12 22:21 
Questiondownload tweets using user ID Pin
hosseinDolat29-Apr-12 7:59
MemberhosseinDolat29-Apr-12 7:59 
AnswerRe: download tweets using user ID Pin
Richard MacCutchan30-Apr-12 0:05
mveRichard MacCutchan30-Apr-12 0:05 
QuestionShowing images from DB Pin
candogu29-Apr-12 6:42
Membercandogu29-Apr-12 6:42 
AnswerRe: Showing images from DB Pin
Ali Al Omairi(Abu AlHassan)29-Apr-12 21:24
professionalAli Al Omairi(Abu AlHassan)29-Apr-12 21:24 
Questionasp.net Pin
gunjan adhikari29-Apr-12 4:16
Membergunjan adhikari29-Apr-12 4:16 
AnswerRe: asp.net Pin
Wes Aday29-Apr-12 4:32
professionalWes Aday29-Apr-12 4:32 
AnswerRe: asp.net Pin
Sandeep Mewara29-Apr-12 8:41
mveSandeep Mewara29-Apr-12 8:41 
Questionasp.net Pin
gunjan adhikari29-Apr-12 4:12
Membergunjan adhikari29-Apr-12 4:12 
AnswerRe: asp.net Pin
Wes Aday29-Apr-12 4:32
professionalWes Aday29-Apr-12 4:32 

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.