Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET Button Not Working

ASP.NET Button Not Working

Scheduled Pinned Locked Moved Web Development
csharpasp-net
30 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Paul Riley

    Pradhip wrote: Taks and Paul thanks anyows for the help.U folks are great Don't thank us til we get a result. In fact I should thank you... I didn't know those FindBy functions existed for DropDownLists until I read your code; that'll be really useful for me. :) So tell me... what is that DataAccessService? Is that something of yours or something I can download? Paul Life is just a sexually transmitted desease - Matthew Wright (ex-journalist, TV presenter) 10-Oct-02 I finally have a sig! - Paul Riley (part-time deity) 10-Oct-02

    P Offline
    P Offline
    Pradhip
    wrote on last edited by
    #18

    Oh that's just a COM object we got to do our dataaccess. Why Need Parking lots in Bars when Drunken Driving is Prohibited

    1 Reply Last reply
    0
    • P Pradhip

      Okay after laboring for over 3 hrs i just give up.The maximum number of databinds i can do on a page is 4.if its 4 it works fine.Otherwise it goofs up.I tried it in many different ways.And then again which 4 kind of depends.i had some data mismatches with my database and i had to look at that too. But this is one weird problem.So i now have a form that does not allow changing of data for 2 columns in one page but it does in other.Boy my users are going to think im 'a nut.. Thank you Paul and Taks.. Pradhip Why Need Parking lots in Bars when Drunken Driving is Prohibited

      P Offline
      P Offline
      Paul Riley
      wrote on last edited by
      #19

      I refuse to let you give up :-D So what's the pattern? Is there one that always doesn't work or a combination of two that screw things up? Paul Life is just a sexually transmitted desease - Matthew Wright (ex-journalist, TV presenter) 10-Oct-02 I finally have a sig! - Paul Riley (part-time deity) 10-Oct-02

      P L 2 Replies Last reply
      0
      • P Paul Riley

        I refuse to let you give up :-D So what's the pattern? Is there one that always doesn't work or a combination of two that screw things up? Paul Life is just a sexually transmitted desease - Matthew Wright (ex-journalist, TV presenter) 10-Oct-02 I finally have a sig! - Paul Riley (part-time deity) 10-Oct-02

        P Offline
        P Offline
        Pradhip
        wrote on last edited by
        #20

        Okay the pattern. Well first i had 5. what i did was remove all.The page worked. Then i went ahead and added 4 of them except the one that was causing me trouble and had some possible data mismatches on the DB( This is combineSN). THEN it started bombing out.So i removed it.Now we are back to 4 working and the page loads and the next page button also works. Okay then i removed one more thats working just fine(REPAIRTYPE) and instead added this troublesome one the one with the data problems.Then now after that it loaded fine.But the next page button would not fire. Then what i did was remove the trouble some one(COMBINEsn).Add the old guy(Repairtype) and add one more(Failuretype)..so that makes it 5 and the page did not work.Then i removed failure type and it worked. So then i goto the next page and add combineSN AND FAILURETYPE AND THEY ALSO WORK FINE IN THE NEXT PAGE.so i have failure type and combinesn grayed out in page one but can be edited in page 2. So thats that for now. Pradhip.S Why Need Parking lots in Bars when Drunken Driving is Prohibited

        P 1 Reply Last reply
        0
        • P Pradhip

          Okay the pattern. Well first i had 5. what i did was remove all.The page worked. Then i went ahead and added 4 of them except the one that was causing me trouble and had some possible data mismatches on the DB( This is combineSN). THEN it started bombing out.So i removed it.Now we are back to 4 working and the page loads and the next page button also works. Okay then i removed one more thats working just fine(REPAIRTYPE) and instead added this troublesome one the one with the data problems.Then now after that it loaded fine.But the next page button would not fire. Then what i did was remove the trouble some one(COMBINEsn).Add the old guy(Repairtype) and add one more(Failuretype)..so that makes it 5 and the page did not work.Then i removed failure type and it worked. So then i goto the next page and add combineSN AND FAILURETYPE AND THEY ALSO WORK FINE IN THE NEXT PAGE.so i have failure type and combinesn grayed out in page one but can be edited in page 2. So thats that for now. Pradhip.S Why Need Parking lots in Bars when Drunken Driving is Prohibited

          P Offline
          P Offline
          Paul Riley
          wrote on last edited by
          #21

          Sounds to me like there's a problem with the COM object, returning a DataSet that's not quite right. Strange that they work on another page though. Have you tried stepping through the program and examining these datasets in detail? Paul Life is just a sexually transmitted desease - Matthew Wright (ex-journalist, TV presenter) 10-Oct-02 I finally have a sig! - Paul Riley (part-time deity) 10-Oct-02

          P 1 Reply Last reply
          0
          • P Paul Riley

            I refuse to let you give up :-D So what's the pattern? Is there one that always doesn't work or a combination of two that screw things up? Paul Life is just a sexually transmitted desease - Matthew Wright (ex-journalist, TV presenter) 10-Oct-02 I finally have a sig! - Paul Riley (part-time deity) 10-Oct-02

            L Offline
            L Offline
            leppie
            wrote on last edited by
            #22

            Paul Riley wrote: So what's the pattern? Is there one that always doesn't work or a combination of two that screw things up? So Paul , you wanna find a patter? Come try find out why random tables are adding extra padding in my tables, and why some does "weird" shifting things. Even though the code is the same for almost every item. Cheers :) PS: Did you get my email, Paul (damn Intellisense doesnt work in this textbox) ? Before you criticize a man, walk a mile in his shoes. That way, when you do criticize him, you'll be a mile away and have his shoes.

            P 1 Reply Last reply
            0
            • P Paul Riley

              Sounds to me like there's a problem with the COM object, returning a DataSet that's not quite right. Strange that they work on another page though. Have you tried stepping through the program and examining these datasets in detail? Paul Life is just a sexually transmitted desease - Matthew Wright (ex-journalist, TV presenter) 10-Oct-02 I finally have a sig! - Paul Riley (part-time deity) 10-Oct-02

              P Offline
              P Offline
              Pradhip
              wrote on last edited by
              #23

              Paul: The COM OBJECT looks fine.The dataset that its supposed to return is correct.I even verified it with SQL.So it is kind of okay. pradhip.s Why Need Parking lots in Bars when Drunken Driving is Prohibited

              P 1 Reply Last reply
              0
              • L leppie

                Paul Riley wrote: So what's the pattern? Is there one that always doesn't work or a combination of two that screw things up? So Paul , you wanna find a patter? Come try find out why random tables are adding extra padding in my tables, and why some does "weird" shifting things. Even though the code is the same for almost every item. Cheers :) PS: Did you get my email, Paul (damn Intellisense doesnt work in this textbox) ? Before you criticize a man, walk a mile in his shoes. That way, when you do criticize him, you'll be a mile away and have his shoes.

                P Offline
                P Offline
                Paul Riley
                wrote on last edited by
                #24

                leppie wrote: So Paul , you wanna find a patter? Come try find out why random tables are adding extra padding in my tables, and why some does "weird" shifting things. Oh come on! You know the plan. Stick a new thread up with a bit more information and we'll all take a look :) leppie wrote: Did you get my email, Paul ? Yes, I did. However, I didn't notice it til I read this because it came in the middle of a batch of CodeProject mails and I figured I'd answer them all on the site. Sorry :) I will get in touch with my guy but I'm trying to get him to figure out why his site is only sending one of my pages at 100 bytes per sec. Once I get that conversation done with, I'll mention this to him. Paul Life is just a sexually transmitted desease - Matthew Wright (ex-journalist, TV presenter) 10-Oct-02 I finally have a sig! - Paul Riley (part-time deity) 10-Oct-02

                L 1 Reply Last reply
                0
                • P Pradhip

                  Paul: The COM OBJECT looks fine.The dataset that its supposed to return is correct.I even verified it with SQL.So it is kind of okay. pradhip.s Why Need Parking lots in Bars when Drunken Driving is Prohibited

                  P Offline
                  P Offline
                  Paul Riley
                  wrote on last edited by
                  #25

                  If it's not a bug in the COM object, it MUST be a bug in ASP.NET (or possibly in the Interop). You could get really brave and ask Microsoft ;P Paul Life is just a sexually transmitted desease - Matthew Wright (ex-journalist, TV presenter) 10-Oct-02 I finally have a sig! - Paul Riley (part-time deity) 10-Oct-02

                  1 Reply Last reply
                  0
                  • P Paul Riley

                    leppie wrote: So Paul , you wanna find a patter? Come try find out why random tables are adding extra padding in my tables, and why some does "weird" shifting things. Oh come on! You know the plan. Stick a new thread up with a bit more information and we'll all take a look :) leppie wrote: Did you get my email, Paul ? Yes, I did. However, I didn't notice it til I read this because it came in the middle of a batch of CodeProject mails and I figured I'd answer them all on the site. Sorry :) I will get in touch with my guy but I'm trying to get him to figure out why his site is only sending one of my pages at 100 bytes per sec. Once I get that conversation done with, I'll mention this to him. Paul Life is just a sexually transmitted desease - Matthew Wright (ex-journalist, TV presenter) 10-Oct-02 I finally have a sig! - Paul Riley (part-time deity) 10-Oct-02

                    L Offline
                    L Offline
                    leppie
                    wrote on last edited by
                    #26

                    Paul Riley wrote: Oh come on! You know the plan. Stick a new thread up with a bit more information and we'll all take a look This a bit too random.....:wtf:, but try me[^], although I cant gaurentee it will connect (severe bandwidth problems on this side of the world, damn *nix trojans). 2nd last one from the bottom of the page and the first one on the 2nd page, has that problem. Doing a forum suckx bad as you have to make a 1000 posts yourself to see if it works and you dont even get credit for it! OK, admin rights is cool :) Please ignore the content and note the "author uptime" at the bottom :laugh: Paul Riley wrote: I will get in touch with my guy but I'm trying to get him to figure out why his site is only sending one of my pages at 100 bytes per sec. Sounds like the same XP problem I am having, it only allows 2 connections :( Cheers :0 Before you criticize a man, walk a mile in his shoes. That way, when you do criticize him, you'll be a mile away and have his shoes.

                    P 1 Reply Last reply
                    0
                    • L leppie

                      Paul Riley wrote: Oh come on! You know the plan. Stick a new thread up with a bit more information and we'll all take a look This a bit too random.....:wtf:, but try me[^], although I cant gaurentee it will connect (severe bandwidth problems on this side of the world, damn *nix trojans). 2nd last one from the bottom of the page and the first one on the 2nd page, has that problem. Doing a forum suckx bad as you have to make a 1000 posts yourself to see if it works and you dont even get credit for it! OK, admin rights is cool :) Please ignore the content and note the "author uptime" at the bottom :laugh: Paul Riley wrote: I will get in touch with my guy but I'm trying to get him to figure out why his site is only sending one of my pages at 100 bytes per sec. Sounds like the same XP problem I am having, it only allows 2 connections :( Cheers :0 Before you criticize a man, walk a mile in his shoes. That way, when you do criticize him, you'll be a mile away and have his shoes.

                      P Offline
                      P Offline
                      Paul Riley
                      wrote on last edited by
                      #27

                      leppie wrote: This a bit too random....., but try me It took me at least ten minutes to even see the problem, I sure as hell can't see what's causing it. Maybe some temporary table borders would help? leppie wrote: Please ignore the content and note the "author uptime" Corrr! That's a long time :) leppie wrote: Sounds like the same XP problem I am having, it only allows 2 connections Except this is Win 2K Pro accepting 10 connections and there's only about 10 people know it's there (at least 4 of those won't even be looking!) :). Paul Life is just a sexually transmitted desease - Matthew Wright (ex-journalist, TV presenter) 10-Oct-02 I finally have a sig! - Paul Riley (part-time deity) 10-Oct-02

                      L 2 Replies Last reply
                      0
                      • P Paul Riley

                        leppie wrote: This a bit too random....., but try me It took me at least ten minutes to even see the problem, I sure as hell can't see what's causing it. Maybe some temporary table borders would help? leppie wrote: Please ignore the content and note the "author uptime" Corrr! That's a long time :) leppie wrote: Sounds like the same XP problem I am having, it only allows 2 connections Except this is Win 2K Pro accepting 10 connections and there's only about 10 people know it's there (at least 4 of those won't even be looking!) :). Paul Life is just a sexually transmitted desease - Matthew Wright (ex-journalist, TV presenter) 10-Oct-02 I finally have a sig! - Paul Riley (part-time deity) 10-Oct-02

                        L Offline
                        L Offline
                        leppie
                        wrote on last edited by
                        #28

                        Paul Riley wrote: Corrr! That's a long time Maybe you saw it later, but I managed about 33 hours :) Paul Riley wrote: It took me at least ten minutes to even see the problem, I sure as hell can't see what's causing it. Maybe some temporary table borders would help? Hmm, everything is tables. Maybe it will work. It's not so bad anyways :) I havent seen it happen again though :confused: Paul Riley wrote: Except this is Win 2K Pro accepting 10 connections and there's only about 10 people know it's there (at least 4 of those won't even be looking!) . That should be OK. :) you can increase to 40 though, but you didnt hear that from me Anyways 10 is better than 2/3 like I have in XP! Meaning when I develop, I need one connection for VS and one for debugging. Cheers :) Before you criticize a man, walk a mile in his shoes. That way, when you do criticize him, you'll be a mile away and have his shoes.

                        1 Reply Last reply
                        0
                        • P Paul Riley

                          leppie wrote: This a bit too random....., but try me It took me at least ten minutes to even see the problem, I sure as hell can't see what's causing it. Maybe some temporary table borders would help? leppie wrote: Please ignore the content and note the "author uptime" Corrr! That's a long time :) leppie wrote: Sounds like the same XP problem I am having, it only allows 2 connections Except this is Win 2K Pro accepting 10 connections and there's only about 10 people know it's there (at least 4 of those won't even be looking!) :). Paul Life is just a sexually transmitted desease - Matthew Wright (ex-journalist, TV presenter) 10-Oct-02 I finally have a sig! - Paul Riley (part-time deity) 10-Oct-02

                          L Offline
                          L Offline
                          leppie
                          wrote on last edited by
                          #29

                          I forgot to ask... So what do think so far? The numbering schemes took about 3 days to get it perfect. Didnt realize the post placing would be so difficult, especially when you deal with threads that span longer than the search time (ever noticed that on CP how well the posts are positioned? i wouldnt mind comparing mine to theirs :) ) . Luckyly the paging fit into my "well-thought-of" scheme so well, it took a whole 5 minutes to implement :-O Anyway cheers :) Before you criticize a man, walk a mile in his shoes. That way, when you do criticize him, you'll be a mile away and have his shoes.

                          1 Reply Last reply
                          0
                          • P Pradhip

                            Hi folks: I have an asp.net button that's supposed to store some session variables and do a response.redirect.It worked like a doll until i went ahead and changed some code on the page load event that would fire before this event. Now the page load event works fine but the button just stopped working.I checked signature,recreated another button but of no use. Any reasons why it would not work. This is driving me mad. Why Need Parking lots in Bars when Drunken Driving is Prohibited

                            T Offline
                            T Offline
                            Topper Price
                            wrote on last edited by
                            #30

                            I had a similar 'problem' recently. I had inadvertently removed the 'onclick' directive on the control. This needs to point at the function/sub that handles the click. I know how you feel - its like the https://sitename:8081/securepage.aspx problem I had - for some reason this won't work. After 4 hours of debug/code change/network sniffing:mad:, etc...I finally realized that you cannot specify a port when redirecting to https (by default 443). Stupid cockpit error!!!:wtf::wtf: It's one of those things you can looks at all day and not realize what happened. I hope your problem is the 'onclick'!;) Cheers, James

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups