| | |
communication HTML and ASP.NET
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Sep 2006
Posts: 15
Reputation:
Solved Threads: 0
HI,
I am new to web development as well as ASP.Net....I am trying to design and a develope a web UI....in which I have two HTML <a href tags> If I click one of the item I should get one ASPX page and if I click another tag it should display same ASPX page but different controls.
for example :
I have 1 aspx page with two buttons Button1 and Button2 (Web Server controls)
And two html hyper links
<a Href = "abc.aspx"> Item 1 <a>
<a Href = "abc.aspx"> Item 2 <a>
when I click on Item 1 aspx page should display only button1 and when click on Item 2 aspx page should display only Button2
Pease help how can I do this.
Thanks in advance
Raju
I am new to web development as well as ASP.Net....I am trying to design and a develope a web UI....in which I have two HTML <a href tags> If I click one of the item I should get one ASPX page and if I click another tag it should display same ASPX page but different controls.
for example :
I have 1 aspx page with two buttons Button1 and Button2 (Web Server controls)
And two html hyper links
<a Href = "abc.aspx"> Item 1 <a>
<a Href = "abc.aspx"> Item 2 <a>
when I click on Item 1 aspx page should display only button1 and when click on Item 2 aspx page should display only Button2
Pease help how can I do this.
Thanks in advance
Raju
ASP.NET Syntax (Toggle Plain Text)
<a Href = "abc.aspx?item=1"> Item 1 <a> <a Href = "abc.aspx?item=2"> Item 2 <a>
ASP.NET Syntax (Toggle Plain Text)
private void Page_Load(object sender, System.EventArgs e) { Button1.Visible = false; Button2.Visible = false; string item = Request.QueryString["item"]; if(item == "1") Button1.Visible = true; if(item == "2") Button2.Visible = true; ]
Last edited by hollystyles; Dec 4th, 2006 at 7:41 am.
![]() |
Similar Threads
- Updated : Simple ASP.Net Login Page (ASP.NET)
- ASP.Net timer control (ASP.NET)
- ASP.NET Registration Page (ASP.NET)
- ASP.Net & Macromedia Flash MX (ASP.NET)
- How To Hyperlink Normal HTML page with ASP.NET Page? (ASP.NET)
- PHP vs. ASP.NET for development platforms (ASP.NET)
- ASP in ASP.NET application (ASP.NET)
Other Threads in the ASP.NET Forum
- Previous Thread: URL Masking in asp.net
- Next Thread: Ajax
| Thread Tools | Search this Thread |
.net activexcontrol advice ajax alltypeofvideos appliances asp asp.net bc30451 beginner bottomasp.net box browser button c# cac checkbox click commonfunctions control css dataaccesslayer database datagridview datagridviewcheckbox datalist deadlock deployment development dgv dialog dropdownlist dynamic dynamically edit embeddingactivexcontrol expose fileuploader fill findcontrol flash formatdecimal formview gridview gudi iframe iis javascript listbox login microsoft mono mouse mssql multistepregistration news novell numerical objects opera panelmasterpagebuttoncontrols radio redirect registration relationaldatabases reportemail rotatepage save schoolproject search security sessionvariables silverlight smartcard smoobjects software sql-server sqlserver2005 ssl suse textbox tracking treeview unauthorized validatedate validation vb.net video videos virtualdirectory vista visualstudio web webapplications webdevelopemnt webdevelopment webprogramming webservice xsl youareanotmemberofthedebuggerusers






