Click here to Skip to main content
16,005,037 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionNeed help on bring up a java script pop up box when clicked on LinkButton. Pin
Slow Learner30-Jun-06 4:16
Slow Learner30-Jun-06 4:16 
AnswerRe: Need help on bring up a java script pop up box when clicked on LinkButton. Pin
Paddy Boyd30-Jun-06 4:21
Paddy Boyd30-Jun-06 4:21 
GeneralRe: Need help on bring up a java script pop up box when clicked on LinkButton. Pin
Slow Learner30-Jun-06 4:45
Slow Learner30-Jun-06 4:45 
GeneralRe: Need help on bring up a java script pop up box when clicked on LinkButton. Pin
Paddy Boyd30-Jun-06 4:50
Paddy Boyd30-Jun-06 4:50 
AnswerRe: Need help on bring up a java script pop up box when clicked on LinkButton. [modified] Pin
l0kke30-Jun-06 4:50
l0kke30-Jun-06 4:50 
GeneralRe: Need help on bring up a java script pop up box when clicked on LinkButton. Pin
Slow Learner30-Jun-06 5:10
Slow Learner30-Jun-06 5:10 
GeneralRe: Need help on bring up a java script pop up box when clicked on LinkButton. Pin
Slow Learner30-Jun-06 5:15
Slow Learner30-Jun-06 5:15 
AnswerRe: Need help on bring up a java script pop up box when clicked on LinkButton. Pin
minhpc_bk30-Jun-06 17:29
minhpc_bk30-Jun-06 17:29 
There are a couple of things come to mind after seeing your code:

+ In the ASP.NET 2.0, you simply use the OnClientClick to add the handler for the client side event onclick of the LinkButton instead of adding to the Attributes collection in code.

+ If you do nothing in the LinkButton click event handler other than calling the Redirect method, you might consider using the hyperlink control instead of the LinkButton to reduce the round trip. Also you can use javascript to collect the input textboxes to build the url for the href attribute of the hyperlink.

+ If you put a lot of things including the text values (from what I have seen in your code) in the query, I think it does not looks good for example when the text length is significant. In this case, you might consider cross-page posting to post a new page which is determined by the result of the confirmation.

QuestionHow to disable dates in Calender Control. Pin
Muhammad Chitrali30-Jun-06 4:09
Muhammad Chitrali30-Jun-06 4:09 
AnswerRe: How to disable dates in Calender Control. Pin
minhpc_bk30-Jun-06 17:11
minhpc_bk30-Jun-06 17:11 
Questiongood day Pin
bluewavestrider30-Jun-06 4:02
bluewavestrider30-Jun-06 4:02 
AnswerRe: good day Pin
RichardGrimmer30-Jun-06 4:39
RichardGrimmer30-Jun-06 4:39 
GeneralRe: good day Pin
bluewavestrider12-Jul-06 1:50
bluewavestrider12-Jul-06 1:50 
QuestionWhy my site is loading very slow? Pin
Sheel Gohe30-Jun-06 3:41
Sheel Gohe30-Jun-06 3:41 
AnswerRe: Why my site is loading very slow? Pin
Mike Puddephat30-Jun-06 4:01
Mike Puddephat30-Jun-06 4:01 
AnswerRe: Why my site is loading very slow? Pin
RichardGrimmer30-Jun-06 4:40
RichardGrimmer30-Jun-06 4:40 
Questionproblem inside [modified] Pin
sandeep_thakur30-Jun-06 3:10
sandeep_thakur30-Jun-06 3:10 
AnswerRe: problem inside Pin
wEb GuRu...30-Jun-06 6:40
wEb GuRu...30-Jun-06 6:40 
Questiondropdownlist Pin
Ballita30-Jun-06 2:26
Ballita30-Jun-06 2:26 
AnswerRe: dropdownlist Pin
Sushant Duggal30-Jun-06 2:35
Sushant Duggal30-Jun-06 2:35 
AnswerRe: dropdownlist Pin
l0kke30-Jun-06 5:07
l0kke30-Jun-06 5:07 
QuestionCustomPaging in datagrid [modified] Pin
Nagraj Naik30-Jun-06 2:19
Nagraj Naik30-Jun-06 2:19 
AnswerRe: CustomPaging in datagrid Pin
Frank Kerrigan30-Jun-06 6:30
Frank Kerrigan30-Jun-06 6:30 
QuestionAsp.net Scheduler Pin
aaraaayen30-Jun-06 1:28
aaraaayen30-Jun-06 1:28 
AnswerRe: Asp.net Scheduler Pin
psamy30-Jun-06 1:49
psamy30-Jun-06 1:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.