473,322 Members | 1,409 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,322 software developers and data experts.

Hyperlink issue

aspamit
38
Hi all,
Let me tell u abt the page first.The page detal.aspx takes id through querystring from master.aspx.
With the help of this id I m displayng data in datagrid.So the query to fill grid contains this id.

Normal search don't have any problem.It works fine.

Now the problem......
I am showing "Show all" Hyperlink after a specific search to display all records.
I mean if I search on particular name say "John" it displays records for John.Now I again want to display records of John.

But when I Navigate the Url th id is missing.

So I try this


string MST = Request.QueryString["MstId"];

this.HyperLink1.Attributes.Add("onload", "top.location='EPCMasterDetail2.aspx?MstId='" + MST );

but after the page loads back I am getting null value which I was getting nicely in first page load.

Any help is appreciated
Feb 13 '07 #1
1 843
kenobewan
4,871 Expert 4TB
I believe that you need to finish the JS in the attributes.add, try:
Expand|Select|Wrap|Line Numbers
  1. this.HyperLink1.Attributes.Add("onload", "top.location='EPCMasterDetail2.aspx?MstId='" + MST + "'");
Hope that this helps.
Feb 14 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: deko | last post by:
Is there a special syntax for hyperlinks in queries? I have a table of hyperlinked documents displayed in a subform datasheet. Clicking the hyperlink opens the document from the hard drive. I...
3
by: Ray | last post by:
I recently upgraded from Access 97 to Access 2003 and just enter some new data into table via an input form. The form has one hyperlink field to contain a file path. In Access 2003, it appears...
9
by: Leigh Kendall | last post by:
I can't find any issue in the MS KB, but I'm experiencing the following problem which seems to be specific to IE5, and NOT any other version of IE 5.5+ or NN 6+. Issue: I'm using an asp.net...
0
by: Ryan Harvey | last post by:
Hi all, I have written a web user control that contains a repeater control. the ItemTemplate for this control is basically 6 Hyperlinks in a row, that are dynamically allocated one of 7 gif...
3
by: Tim::.. | last post by:
I currently have the following datagrid but want to turn the name and email column into a hyperlink in the codebehind! Can someone please tell me how I achieve this! Thanks Private Sub...
3
by: Bren | last post by:
Hi All VS2005 Gridview control with vb I am populating a gridview of company staff. One of the columns is a hyperlink to a SMS texting facility I have so secrataries can text the managers...
10
by: David Thielen | last post by:
Hi; I have help html pages for each page of my ASP.NET webapp. So for the page datasource.aspx, I have help\datasource.htm. Bu what I want when the hyperlink is clicked, for it to look for the...
0
by: Scott | last post by:
I have a search form built with Access 97 and now I upgraded to Access 2003. On one field of the resulting form, I have a field of hyperlink data type containing the path of the file, i.e., Disk...
0
by: Brian via AccessMonster.com | last post by:
I am trying to create a hyperlink to a report. I have used the "Select an object in this database" to add the hyperlink. The issue I have is that I am using a hyperlink-base to point the hundreds...
1
ammoos
by: ammoos | last post by:
Hi Friends I have placed hyperlink in data grid, in the Page named "List" .The process of work is that when the user click on the Hyper link in the page "List" then a new page, named "View", will...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.