HighTechTalks DotNet Forums  

asp:linkbutton

Dotnet Scripting microsoft.public.dotnet.scripting


Discuss asp:linkbutton in the Dotnet Scripting forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Shabam
 
Posts: n/a

Default asp:linkbutton - 08-05-2004 , 04:13 PM






There's an issue regarding the "asp:linkbutton" control. It does everything
via javascript if I'm not mistaken. The problem with this is that the
resulting page is not copy-able to, say another user, or via email for
others to click on.

In situations where you need it to be copy-able, what are the alternatives?
Will it require much work to re-code?






Reply With Quote
  #2  
Old   
bruce barker
 
Posts: n/a

Default Re: asp:linkbutton - 08-06-2004 , 12:17 PM






if you want a postback, only the <asp:button> works without a javascript
postback. if you want a link without postback, then use <a runat=server>.

-- bruce (sqlwork.com)

"Shabam" <blislecp (AT) hotmail (DOT) com> wrote

Quote:
There's an issue regarding the "asp:linkbutton" control. It does
everything
via javascript if I'm not mistaken. The problem with this is that the
resulting page is not copy-able to, say another user, or via email for
others to click on.

In situations where you need it to be copy-able, what are the
alternatives?
Will it require much work to re-code?








Reply With Quote
  #3  
Old   
duraobarroso
 
Posts: n/a

Default Re: asp:linkbutton - 09-09-2004 , 08:26 AM




its not a solution. why i can not use a link button without the postbac
javascript. if client dont have javascript enabled...... microsof
programmers dont have brain


-
duraobarros
-----------------------------------------------------------------------
Posted via http://www.mcse.m
-----------------------------------------------------------------------
View this thread: http://www.mcse.ms/message930745.htm


Reply With Quote
  #4  
Old   
bruce barker
 
Posts: n/a

Default Re: asp:linkbutton - 09-09-2004 , 08:01 PM



the point of a link button is to postback on a user click. the only way a
browser will support this is with javascript, there is no choice.

if you don't want to require javascript on your site, you should not set
autopostback, or use any postback control other then the <asp:button>.


-- bruce (sqlwork.com)



"duraobarroso" <duraobarroso.1cbn0h (AT) mail (DOT) mcse.ms> wrote

Quote:
its not a solution. why i can not use a link button without the postback
javascript. if client dont have javascript enabled...... microsoft
programmers dont have brain?



--
duraobarroso
------------------------------------------------------------------------
Posted via http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message930745.html




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.