By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,638 Members | 1,983 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,638 IT Pros & Developers. It's quick & easy.

Emailing Page with link button in a gridview

P: n/a
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_RowCommand 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.Redirect). In the load
event of the new page the session variables are used to fill the page

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.

Aug 26 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.