473,587 Members | 2,225 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Emailing Page with link button in a gridview

Ty
I have a page that has three gridviews on it. In each gridview the
first column is a link button representing a Database ID field.

What I'm trying to accomplish is to email that page and click on the
link button to open the page.

The problem.
When I send the page to myself on the same PC that I am creating the
site on and open the email the gridviews are there. When I click on
the link button I get an unspecified error. When I place the mouse
over the linkbutton I can see that is wants to run a java script for
the gridview link button but nothing happens.

My Site Function.
When I open the page in my site and click on the link button it fires
the Gridview_RowCom mand event in the code behind page. There I pull
off the text of the link button then I pull out all the data and place
them into session variables. I then load the new page with a
Server.Transfer (I have also tried Response.Redire ct). In the load
event of the new page the session variables are used to fill the page
controls.

This runs perfect with no problem.

Anyone have any idea why it will not run from the email? Is it because
of the code behind cannot be called from the emailed page? Doesn't the
java script in the page call the Gridview RowCommand?

Any thoughts would be appreciated.

Ty
Aug 26 '08 #1
0 1199

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

Similar topics

2
1651
by: ads | last post by:
hi guys, Here's the scenario: i have a gridview on a parent page. Then i open another (child) page where i can modify the data on the dridview. How do i update the gridview soon as i do modification and close the child window ? I just need a triger event to rebind the gridview but how can i do that from the child page? Thanks in advance,
8
1409
by: William Buchanan | last post by:
Hi folks I have a "Search" text box and LinkButton in my master page. When this is submitted, I do a Server.Transfer to a page which contains a gridview. The gridview is filtered on a hidden field which I set in the page load method (from the search text box text). Now, the grid view appears to filter correctly, however, when I select a...
10
2409
by: Benton | last post by:
Hi there, I have a UserControl with a couple of textboxes and a couple of buttons ("Save" and "Cancel"). The Click event for this buttons is in the UserControl's codebehind of course, so here's my question. Once the UserControl is dropped onto the container page, how can I perform some action on the codebehind of the container page from...
4
2531
by: Rob Meade | last post by:
Hi all, I played with my first bit of AJAX the other week and was pleasantly surprised that I achieved my goal..now I'd like to try something else.. Question... If I have an updatePanel, and lets say I have a button as a trigger which runs a function in my code behind to add a textbox to the updatePanel, when the form is submitted does...
3
3859
by: jobs | last post by:
I have a gridview on another page with a column that will link to this page. I'm flirting with design options, but am considering a template field with hyperlink navigateurl that includes a query string ? search=mydata container. My question/challenge, is that I want to use that query string to set a textbox on the called page, but then...
4
3516
by: bendlam | last post by:
I have a page that contains search criteria and when you click on the search button it causes a post back that populates a dataview on the same page. One of the gridview columns contains a link that navigates to a details page. When I try to go back to the search results page i get "Page cannot be displayed" error. How do i go back to the...
1
2350
by: Ganesh | last post by:
Hi There, I've a GridView contains hyperlink in each row. If user click that link it will open another detail page with all information. After seeing the details user can go back to search result by click back button of the internet. Is there any better way to user can go back to sarch result. details page also there are some postback i...
18
11273
by: Brett | last post by:
I have an ASP.NET page that displays work orders in a GridView. In that GridView is a checkbox column. When the user clicks a "Print" button, I create a report, using the .NET Framework printing classes, for each of the checked rows in the GridView. This works fine in the Visual Studio 2005 development environment on localhost. But, when I...
0
1222
by: King Coffee | last post by:
Hi I created a ASP.NET page with a textbox and button, to perform a search. When I click the button, a gridview pops up. The gridview contains a button link to anther page. When I'm finish with this page, I click the Internet Explorer back button. I get the original state of startup ASP.NET page (without the gridview pop up and the data...
0
7915
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...
0
8205
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8339
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7967
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...
0
8220
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...
0
5392
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...
1
2347
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
1
1452
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1185
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...

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.