473,881 Members | 1,545 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Button doesn't Postback-unique problem

107 New Member
Hello friends,,,,,
I don't no what type of problem is it????? But sometime a button doesn't postback in a page.
If i write something under button click......it doesn't respond.....Can anybody help me to solve this unique problem
Jul 5 '07 #1
11 1653
giveDsolution
107 New Member
Plz anybody help me to recognise the error
Jul 5 '07 #2
prabunewindia
199 New Member
hi friend,
plz check the autopostback property if button
if it is false, then change it to true.
and also check the events of the button in the property window for button_click event is added to that or not?
prabu

Hello friends,,,,,
I don't no what type of problem is it????? But sometime a button doesn't postback in a page.
If i write something under button click......it doesn't respond.....Can anybody help me to solve this unique problem
Jul 5 '07 #3
giveDsolution
107 New Member
hi friend,
plz check the autopostback property if button
if it is false, then change it to true.
and also check the events of the button in the property window for button_click event is added to that or not?
prabu
Thnxs for reply but the problem is, it seems to be very easy but it is not. The simple button click doesn't work here......why so????
Jul 5 '07 #4
prabunewindia
199 New Member
button doesn't work?
did u verify it by using break point in button_click event?

Thnxs for reply but the problem is, it seems to be very easy but it is not. The simple button click doesn't work here......why so????
Jul 5 '07 #5
prabunewindia
199 New Member
plz copy and paste the html lines for that button from the source code

try this also,
first delete the event name in the property window of button and erase it from code file also(take a backup)
and now double click the button and code ur fn or copy and paste from ur backup

Thnxs for reply but the problem is, it seems to be very easy but it is not. The simple button click doesn't work here......why so????
Jul 5 '07 #6
giveDsolution
107 New Member
plz copy and paste the html lines for that button from the source code

try this also,
first delete the event name in the property window of button and erase it from code file also(take a backup)
and now double click the button and code ur fn or copy and paste from ur backup

Here is the code
<asp:Button ID="Button1" runat="server" Text="Search"/>
actually it is same as a simple button click but why here doesn't happen i dunt knw.....plz help me
Jul 5 '07 #7
giveDsolution
107 New Member
actually the problem is the button doesn't submit on clicking on it
Jul 5 '07 #8
prabunewindia
199 New Member
hi friend,
as per this html code that button is not having any click event.
u add the event and code ur need in it.

Here is the code
</asp:TextBox>&nb sp;<asp:Button ID="Button1"
runat="server" Text="Search"/>
actually it is same as a simple button click but why here doesn't happen i dunt knw.....plz help me
Jul 5 '07 #9
giveDsolution
107 New Member
Thnxs for ur reply but i got my solution
Jul 5 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

8
5452
by: Lee | last post by:
Hi,I'm trying to have a button that fires a click event only once. What is the best way to do so that after the first button click, any the following clicks will be ignored.
4
10448
by: JJ | last post by:
Hi, I need to have a button cause an autopostback. How can I do this? I have textboxs on webform that supply values for a calc but not all will get filled at any particular time. So I need a button that signals once user is done to do an autopostback. How can I do this? Thanks, JJ
7
1457
by: John Smith | last post by:
As it is now apparently illegal in the UK to produce a website which is inaccessible to the disabled, which includes the JavaScript-disabled and images-disabled, am I right in thinking that the only ASP.NET postback capable control which is now of any use is the Button control? The LinkButton is clearly no good as it uses JavaScript and the ImageButton doesn't work in Mozilla with scripting and images turned off. Am I missing something or...
3
1630
by: MattB | last post by:
I have an asp.net 1.1 eCommerce application that has a product page where the user can select from many different options that affect the price of the main product. I've implemented this with either a RadioButtonList or a CheckBoxList that does a postback so I can display the current price as the user changes options. It works pretty well, but can do some odd things if the user navigates to the page with the back button. I've read up on...
6
4449
by: Kevin Lawrence | last post by:
Hi I need to be able to prevent a Server Button from posting back when clicked, the reason for this is so I can use client-script to disable the button and then when there is a postback to save its state... Kev
1
1271
by: CharlesA | last post by:
Hi folks, first off, I'm using Framwork 1.1 with ASP.net and C# I'm trying to do something quite basic and can't figure out why it won't behave without going into massive details I want a button on an .aspx page have either a 'save' caption and 'save' commandname or a 'close' caption and a 'close' commandname The caption necessity is obvious, but the commandname is important to because the event stub that is tied to that button (just...
3
1810
by: Wayne Sepega | last post by:
I have inherited from System.Web.UI.WebControls and overrode the OnRender of my new button. In the on render I generate some JavaScript and add it as an attribute as follows: this.Attributes.Add("onclick", javascript); I have the following issues: 1) I have to add to the javascript the following: this.Page.ClientScript.GetPostBackEventReference(this, null);
4
13314
by: Chris | last post by:
Hi, i 'm experimenting with postback and i tried that with a button server control and an Html input button but with runat="server". The button server control causes a postback, but not the Html input button with runat="server". Can someone explain me why (because it's running on the server)? Thanks
8
6958
by: Deft.Jab | last post by:
This problem only exists in IE, due to UI restrictions I'm using a href in an error label to bring up a modal popup. I'm using a callback to filter a grid on the popup. The problem: The href has javascript:btn.click() basically, which in Firefox causes a postback after it's clicked. IE works fine without posting back, this is suppose to be an instant popup and the postback defeats the whole purpose. Any ideas?
9
2761
by: Jonathan Wood | last post by:
Does anyone know of any reason a button on a master page would have no effect? I have a complex HTML page that I'm converting to ASP.NET, and acknowledge I could have something odd that is affecting this. But I'm stuck. My handler is in C# code and the code looks right. But absolutely nothing happens when I click the button. protected void Button1_Click(object sender, EventArgs e)
0
9926
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9776
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10812
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9552
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7953
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7108
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5976
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4597
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4194
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.