473,396 Members | 1,898 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

have to click linkbutton twice for placeholder to refresh

I have a placeholder in an aspx page that loads a control (.ascx). The
aspx page's page_load event loads the placeholder and sets its
visibility to false. There is a datagridcommandevent that removes the
placeholder and reloads it.

After the datagridcommandevent is fired, there is a linkbutton that
shows within the placeholder that when clicked, sends info to the ascx's
codebehind via postback. I have to click this linkbutton twice in order
to get the latest info.

I should only have to click once.

Any help is appreciated.
Nov 18 '05 #1
1 3040
I have a placeholder in an aspx page that loads a control (.ascx). The
aspx page's page_load event loads the placeholder and sets its
visibility to false. There is a datagridcommandevent that removes the
placeholder and reloads it.

After the datagridcommandevent is fired, there is a linkbutton that
shows within the placeholder that when clicked, sends info to the ascx's
codebehind via postback. I have to click this linkbutton twice in order
to get the latest info.

I should only have to click once.

Any help is appreciated.
I had the same problem. I had to click on a linkbutton twice to go to a Crystal Report after it calculated inventories in VS 2005. I had to specify the PostBack Url as the Crystal Report aspx page before it would go to it the first time. If you haven't already tried that you might want to give it a shot ;)
Jul 18 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: xenophon | last post by:
I am trying to add "click once" functionality to my ASP.NET page. I have this attribute in my form tag: onsubmit="return SubmitCheck()" And I have the below in my <head> tag, but for some...
1
by: geronimi | last post by:
I want to create a linkbutton in a cell because not every row needs one (so I can't setup a linkbuttoncolumn instead of a boundcolumn.) First, i create a linkbutton in the datagrid_ItemDataBound...
2
by: egholm | last post by:
Hi The code below is adding a dynamicly created LinkButton to a placeholder control. When I click the LinkButton it should call attLink_Click(), but it dosen't happen. What is wrong? Please...
1
by: hiuentsang | last post by:
Hi, How can I access the event generated by the click on a linkbutton in a datagrid? My requirement is like this... I've placed a linkbutton in a datagrid. The user clicks on it, and some...
7
by: tshad | last post by:
I thought I understood how the SaveViewState is working and was trying to use this (as per some code I found) to detect refreshes. It seemed to be working but I found that the SaveViewState was...
2
by: Hardy Wang | last post by:
Hi all, We have DataGrid control in Web Form, our client requires to be able to click anywhere of a row to fire the event same as LinkBotton column is clicked. We we did in ASP.NET 1.1 is in...
1
by: Zamael | last post by:
Okay... I've got a web app built in .NET 2.0 and for some reason I have to click a LinkButton twice in order for it to work. What's interesting is that the first URL reads as follows:...
3
by: =?Utf-8?B?SmFrb2IgTGl0aG5lcg==?= | last post by:
I have two sets of search criteria on my page. They are placed inside two DIV tags made visible/hidden by a client script. In each DIV tag I have a LinkButton that performs the search from each...
1
by: Jack | last post by:
Hi, I am new to .NET and need help with adding click event on LinkButton programatically. Please see the code below. I would like to add a click event on LinkButton returned from "Function...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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,...

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.