`
Questions tagged [aspbutton]
82 questions
                    
                    51
                    
            votes
                
                5 answers
            
        How do I put a Bootstrap Glyphicon inside an asp:Button in ASP.Net?
I'm using Bootstrap 3 in my project, and I want to use Bootstrap Glyphicons in ASP.net buttons.
Here is the code I used, though it didn't work out (I got a sample which uses Twitter Bootstrap  tags instead of  tags):
        
            
            
                
                    
    
    
         
    
    
                
            
        
     
 
    
    
        allence
        
- 569
- 1
- 5
- 12
                    22
                    
            votes
                
                5 answers
            
        Difference between button and asp:button onclick
I am new to developing in asp.net for making web sites.
What is the difference between an asp:Button and an input button?
Code 1
aspx code
         
    
    
        New Developer
        
- 3,245
- 10
- 41
- 78
                    20
                    
            votes
                
                4 answers
            
        e.CommandArgument for asp button is not working
I am developing a asp.net application using C#.
I created an .aspx page and placed four buttons on different locations on the page.
On server side, I want to use just one click event for all four buttons.
Here is my code:
aspx page
        
            
            
                
                    
    
    
         
    
    
                
            
        
     
 
    
    
        liaqat ali
        
- 241
- 2
- 3
- 7
                    17
                    
            votes
                
                2 answers
            
        pass parameter into a function with asp:Button
I'm trying to pass a parameter into a function onClick of an asp:Button
    
the parameter is <%=product.ProductId %>.
I cant use… 
         
    
    
        Yanay Hollander
        
- 327
- 1
- 5
- 19
                    17
                    
            votes
                
                9 answers
            
        How to set css style to asp.net button?
I have a asp:Button, I used css styles with cssClass property in asp:Button, but those styles are not working. When I use asp:LinkButton those styles are working well.I don't want any themes or skins for styles. 
This is my asp page:
        
            
            
                
                    
    
    
         
    
    
                
            
        
     
 
    
    
        Sujanth
        
- 613
- 1
- 6
- 12
                    7
                    
            votes
                
                2 answers
            
        How to add onclick event of dynamically added buttons
How to add OnClick event of dynamically added buttons in asp.net. I have added buttons dynamically and now I want to create an clickevent for those buttons.
 if (dtTasks.Rows[j]["EmpID"].Equals(dtEmployees.Rows[i]["EmpID"]))
 {
       TableRow r =…
         
    
    
        Sana Khan
        
- 108
- 1
- 1
- 7
                    5
                    
            votes
                
                3 answers
            
        ASP ImageButton vs Button
I am new to asp.net stuff and I am pretty confused on how to fix this problem. I have the back code written for everything and right now I am just making everything "look pretty". Originally I had an ASP button to submit a form for something. Now I…
         
    
    
        yaegerbomb
        
- 1,154
- 4
- 22
- 37
                    4
                    
            votes
                
                2 answers
            
        Changing Text of asp:Button using Jquery
Am trying  to change text of an asp:Button using jQuery Like this
  $("#<%=delButton.ClientID%>").attr('text', 'InActivate');
  .....
  
        
            
            
                
                    
    
    
         
    
    
                
            
        
     
 
    
    
        Suave Nti
        
- 3,721
- 11
- 54
- 78
                    4
                    
            votes
                
                4 answers
            
        asp:Button CssClass property is not setting the CSS class to the one I specify
I am attempting to do something simple.
I have a button.
         
    
    
        Interminable
        
- 1,338
- 3
- 21
- 52
                    4
                    
            votes
                
                1 answer
            
         doesn't fire 'onclick' event with using UseSubmitBhaviour=false 
        The following code working fine for my working environment. But for my client, 'Onclick 'event doesn't fire. If we remove UseSubmitBehavior='false' and OnclientClick event from the page ,it is working fine for them. My Question is what is the cause…
         
    
    
        Suresh
        
- 466
- 2
- 9
- 26
                    3
                    
            votes
                
                4 answers
            
        Stop page reload of an ASP.NET button
NET application, I have inserted a button that call a Javascript function (OnClientClick event) and a VB.NET function (OnClick event)
         
    
    
        user2217039
        
- 131
- 2
- 4
- 11
                    2
                    
            votes
                
                1 answer
            
        .net Button fired only once
Okay, here is my problem:
I have a form that requires to have two fieldsets that are almost identical but that collect different sets of data. These are contained in an UpdatePanel. The user enters the data in a form, and when they hit the "Add"
…
         
    
    
        Hugo Estrada
        
- 607
- 1
- 8
- 18
                    1
                    
            vote
                
                1 answer
            
        Onclick not working under Div tag
I have a Asp:Panel which is displayed as a popup using jquery. following is the code for Asp:panel
enter code here
div id="divPublishSelected" runat="server" visible="true" 
  
… 
         
    
    
        kannappan
        
- 75
- 6
                    1
                    
            vote
                
                2 answers
            
        ASP:Button OnClick event not firing in one specific instance
What I have is a popup defined within a user control, that is opened within a taskbar user control, which is attached to a master page, such that:
MasterPage.TaskBarUC.PopupUC
Within the popup, there are two buttons, one to save what the user is…
         
    
    
        Jordan Foreman
        
- 3,848
- 7
- 40
- 65
                    1
                    
            vote
                
                1 answer
            
        close Jquery Modal popup Datalist button click
i am running into a problem that i have a jquery modal popup in my usercontrol that i show on a click of a button and user selects something from datalist and then i returned some value on the parent user control in a hidden field all is fine till…
         
    
    
        Devjosh
        
- 6,450
- 4
- 39
- 61