Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 27th, 2006, 12:28 AM
Authorized User
 
Join Date: Jul 2006
Location: Mumbai, , India.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Link Button

Hi,
I have developed a website which is on ASP.NET 1.1

On my Development machine Everything Works Fine But When I reg. Domain Name n Took Webspace from WebHost AND uploaded my pages to Webserver. LINK Button DoesNot work. The full detail is as under:

Normal Button, ImageButton,Hyperlink All are working Fine

BUT LINKBUTTON is not working
if I use Link button to link some page like
Response.Redirect("Contactus.aspx") or LinkButton for Logout Like
FormsAuthentication.SignOut
I write all above code on LinkButton_Click Event But EVENT DOESNOT FIRE for Link Button.
If I use Link Button in Datagrid its not working in Datagrid also.

I need ur advice to solve this problem. Also advise what may be the reason for not working LinkButton n other Buttons working.

Pls Help me.


 
Old October 27th, 2006, 02:37 AM
Friend of Wrox
Points: 1,935, Level: 17
Points: 1,935, Level: 17 Points: 1,935, Level: 17 Points: 1,935, Level: 17
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2004
Location: United Kingdom
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi

One reason could be that the event handler for your link button might be disturbed, just to test this, click on any of your link buttons, and check whether the click event is proper where you have written the code.

Regards
Mike
 
Old October 27th, 2006, 04:27 AM
Authorized User
 
Join Date: Jul 2006
Location: Mumbai, , India.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dear Mike,
on my development machine LinkButton Event works fine BUT When I upload page to WEBSERVER then LinkButton Event does not Fire.
WEBSERVER is in USA n I'm in India I have taken webspace.
Pls see if u could give some advise to solve this problem.
Thanks.

 
Old October 27th, 2006, 07:08 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

The location of the webserver has nothing to do it with. What is different between your development environment and production environment?

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature




Similar Threads
Thread Thread Starter Forum Replies Last Post
How to link my button to a URL? larry Flash (all versions) 1 June 26th, 2007 01:00 AM
Link Button deontae45 ASP.NET 1.0 and 1.1 Basics 2 June 23rd, 2007 04:46 PM
Link Button sohrabus ASP.NET 2.0 Professional 1 November 14th, 2006 08:33 AM
Help with link to other page by button in C# richie86 ASP.NET 1.0 and 1.1 Basics 6 October 29th, 2005 11:59 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.