473,783 Members | 2,287 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problems with the Accordion-Control+LinkBut ton

Hello!

I have a MasterPage with a Accordion-Control and in the seperate Panes, I
add some LinkButtons. I would like to have, that when I click on the
LinkButton, that I jump to a new page.

I add the "onclick" - Event on the masterpage, but when I click the
LinkButton nothing happens.

Here is a snippet of my code:

<ajaxToolkit:Ac cordionPane ID="AccordionPa ne2" runat="server">
<Header>
<a href = "" onclick = "return false;" class =
"accordionLink" Test</a>
</Header>
<Content>
<asp:LinkButt on ID="lkbOverview " runat="server"
CssClass="conte ntLink"
OnClick="lkbOve rview_Click">Ov erview</asp:LinkButton>
</Content>
</ajaxToolkit:Acc ordionPane>
And here is the code for the "Click"-Event in the cs-File of my Masterpage:

protected void lkbOverview_Cli ck(object sender, EventArgs e)
{
Response.Redire ct("Overview.as px");
}

I hope, that someone could help me!

Regards
Sebastian

Oct 1 '07 #1
0 1380

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

Similar topics

0
1052
by: THM5101 | last post by:
Hello I have two problems with my dataGrid. I created dataGrid with 4 columns. The first and the last one are LinkButton type, the second and third are Bound Column type. My problems are: 1. When I click on one of the LinkButton column(first or last column), I activate the ItemCommand event of the dataGrid. My problem is how can I know on which column I click? The first or the last one? I need to make a different in my code when the...
3
2611
by: Musravus | last post by:
Hi all, I have a piece of XML that looks like this, which I want to DataBind to a Repeater (the Repeater is inside a UserControl): <SECTION id="MAIN" > <SUBSECTION id="SUB1" /> <SUBSECTION id="SUB2" /> <SUBSECTION id="SUB3" /> </SECTION>
2
3403
by: Goethals Frederik | last post by:
hi, I have a little problem with the function "Page.GetPostBackClientHyperlink". First some description of my page: It is a simple testpage for testing "selecting a row af the datagrid by clicking on the whole row". After some googling I thought I found a solution (see code below) I have a datagrid with 1 Select-column (via the property-building in VS.NET) and some auto-generated colums with data. The "Select-column" is the first column...
5
3298
by: George Durzi | last post by:
I currently have an href inside of an asp:repeater <a href='<%# String.Concat("PDFReader.aspx?id=", DataBinder.Eval(Container.DataItem, "ProductUniqueId")) %>' target="_blank">View</a> Clicking View will open a new browser and load PDFReader.aspx My client would like me to hide the address bar and toolbar on this new
0
1116
by: Adam Knight | last post by:
Hi all, I have to link buttons in a datagrid. 1) <asp:TemplateColumn HeaderText="Name:"> <ItemTemplate> <asp:LinkButton ID="lnkBtnArea" CommandName="dg_DisplaySubs" Runat="server">Test</asp:LinkButton> </ItemTemplate> </asp:TemplateColumn>
2
1171
by: tshad | last post by:
I have a page that has been displaying some weird behavior. I have 2 radio buttons that work fine until I press the link button with an item selected in my link box (if an item is not selected, there is no problem). This makes no sense. I am not doing anything with the item in the listbox. It just has to be selected. What happens is that once this starts happening, the radio buttons WILL NOT
3
4915
by: dpomt | last post by:
I am facing some issues with the webforms DefaultButton functionality: #1 One text box ==> hitting enter works in IE but not in Firefox (1.5) #2 One text box and req. field validator ==> problem in IE #3 two text boxes ==> not even a postbak in Firefox. The three problems I have could be simply reproduced creating a new webform and pasting the code below in the codebehind file. TextBox bx1;
4
1268
by: TheDude5B | last post by:
Hi, I am trying to create a simple popup window which will display details about a product. So far i have been trying the javascript idea: <script language="jscript"> function popup()
2
2714
by: WolfyUK | last post by:
Hello, I have a standard asp:DataGrid called CasesGrid that I wish to write my own paging controls for. The aim is to get something like the following rendered to screen: << First < Previous 1 2 3 4 5 ... Next Last >> I have achieved the first/previous/next/last buttons quite easily as follows in the ASPX (1.1) page:
23
1962
by: tanya2001 | last post by:
hi all.. I am trying to update my datagrid in my webform...but its not getting updated..though in the database it removing the <null> and inserting a blank field....its not taking the input which m typing...can sombody plz help me out in this..i need help urgently I am posting the code in vb.net for the webform as well as html Protected Sub DataGrid1_UpdateCommand(ByVal source As Object, ByVal e As...
0
9643
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10081
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9946
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6735
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5378
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4044
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2875
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.