`
Questions tagged [aspbutton]
82 questions
0
votes
3 answers
ASP.net button Jquery BlockUI
I'm having trouble getting an ASP button to call a jquery script, in this case BlockUI, but I'm not sure what I'm doing wrong?

Rexxo
- 156
- 3
- 16
0
votes
1 answer
Call OnClick for asp:button depending on jquery dialog result
I have an asp:button with appropriate OnClick. I also have a jQuery UI dialog that opens when said button is clicked. I would like the OnClick function to be called when the user clicks "Yes" in the dialog. Even better would be if one codebehind…

ScottieB
- 3,958
- 6
- 42
- 60
0
votes
5 answers
Css & Asp:Button conflict
I am working on a webpage and at some point I need to disable a asp:button.
This page uses a css file that has the following class:
.pagerLinkDisabled
{
display: none;
}
So every time I set a button to disabled .net renders it with…

Sergio
- 8,125
- 10
- 46
- 77
0
votes
1 answer
asp:button width problem in IE7, adds extra 100px's to the left for some reason?
For some reason the asp:button's in IE7 add an extra 100px's (or so...) to the left of the button. this creates a problem for my css styling. Sure, I could go in and overwrite each individual button by giving it exact pixel dimensions.., but that…

Oneezy
- 4,881
- 7
- 44
- 73
0
votes
2 answers
how to make asp:button a default button on entering text to asp:textbox
How can I set default button after text is entered into a text box. This is what I have so far. But it doesn't work
…
Pass variables (e.g. array) from one

reddevil
- 47
- 1
- 9
0
votes
1 answer
asp:Button disabled false for select on click doesn't work
I've been stuck for a while, and I can't find a way to solve this problem.
I want to make a enable a
0
votes
1 answer
I can only use asp.Net to put 3 side buttons on my project
Left Side is buttons. The buttons won't do anything right now, my instructor wants us to just place them there and we will be writing the code in the next weeks lesson.
Inside the first table is my code for the buttons:
0
votes
1 answer
Pass variables (e.g. array) from one to another one (cf.) after clicking on
Morning All
I have been wondering how to pass variables from one (cf. asp:DropDownList) to another one after clicking on , as the data is cleared owing to the auto-refresh. To illustrate my point:
On…

dark.vador
- 619
- 1
- 6
- 25
0
votes
1 answer
How can I create an asp:button iteratively in code behind aspx file?
So essentially I am making a "cart" for a website I am doing as an extra side project. In each item in cart, I am attempting to put a button to remove the item from the cart. The issue is, it is not possible to create an asp:button from the code…

thesongib
- 47
- 4
0
votes
1 answer
Asp Button doesn't work and doesn't execute function behind
the asp button doesn't fire and doesn't execute c# code behind there is the code what is the cause of this issue
protected void searchhosp(object sender, EventArgs e) {
string cityname = city.Value;
DataBaseConnection db = new…

issam merheb
- 1
- 3
0
votes
2 answers
How to Disable asp.button during loading and enable
I'm looking for a way to disable a button before the call of a method and enable when the method has ending.
Code should be something like that:
Btn.Enabled = false;
MyMethode();
Btn.Enabled = true;
But the Btn still be enable.
NB: All the controls…

Nicolas Roche
- 105
- 1
- 1
- 14
0
votes
4 answers
jquery asp.net button visibility
There is some code like this :
if ( bValid ) {
$( this ).dialog( "close" );
$("#btnExcel").show(); }
and .aspx look like :

Pratik
- 11,534
- 22
- 69
- 99
0
votes
2 answers
Why does .NET render javascript for a button when there's a custom validator on the page?
I've got two questions - first of all, why does .net render a javascript onclick event for asp buttons when there's a custom validator on the same page, and secondly, how can I get rid of the javascript?
It works fine when javascript is turned off,…

annelie
- 2,569
- 6
- 25
- 39
0
votes
1 answer
How to read the modified data from the TextBox where TextBox gets data from QueryString?
I have a TextBox named TextBoxValue and a Button named ButtonGetValue that are located on an ASP WebForm named DestinationPage.aspx. What I am doing is that I am filling the TextBox with a value that I am passing to this page from the previous page…
user8930129
0
votes
1 answer
Why is the Button in this case validating the TextBoxes?
It looks very simple, but becoming increasingly frustrating. I am working with a ASP.NET WebForm where I have the following code for ButtonClear that clears the text that is entered in the TextBoxes:
protected void ButtonClearAll_Click(object…
user8930129