CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 2/1/2007 8:17:03 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 58 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
ironyuppie
Asp.Net User
ImageButton and webpage expired?2/1/2007 8:17:03 AM

0/0

I have a webpage where i have some core page links in the master page. When I click them, I pass a query string to the default.aspx page to change how the page is rendered.

So as an example, the page looks like this:

<asp:ImageButton ID="foo" NavigateUrl="~/default.aspx" ... />

<asp:ImageButton ID="foo" NavigateUrl="~/default.aspx?2" ... />

<asp:ImageButton ID="foo" NavigateUrl="~/default.aspx?3" ... />

 You get the idea. The problem is that whenever i go to any of these other pages, and hit refresh on them, I get the "web page expired" box. Any ideas how to avoid this?

tfsmag
Asp.Net User
Re: ImageButton and webpage expired?2/1/2007 4:05:00 PM

0/0

This is because it is posting back to the page via a .net control and it posts a form. If you want to avoid this,  and you don't need to submit any form information with these image buttons, I would simply add  the standard html for linking an image.

<a href="default.aspx?3"><img src="http://forums.asp.net/path/to/your/image.jpg" style="border:0px;" /></a> 


------------------------------------------------
Jeff Turner (simpleModus)

Don't forget to mark the correct answer for your
question to help out future visitors!
ironyuppie
Asp.Net User
Re: ImageButton and webpage expired?2/2/2007 3:57:53 AM

0/0

ok, but is it possible to use the dynamic URL capabilities of ASP.NET like this "~/default.aspx" ?
tfsmag
Asp.Net User
Re: ImageButton and webpage expired?2/2/2007 2:31:19 PM

0/0

it should be... shouldn't take long to find out! Give it a try?  

------------------------------------------------
Jeff Turner (simpleModus)

Don't forget to mark the correct answer for your
question to help out future visitors!
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Webmaster in a Nutshell: A Desktop Quick Reference Authors: Stephen Spainhour, Robert Eckstein, Pages: 561, Published: 2003
MySQL and Perl for the Web Authors: Paul DuBois, Pages: 529, Published: 2001

Web:
ImageButton and webpage expired? - ASP.NET Forums Re: ImageButton and webpage expired? 02-01-2007, 11:05 AM. Contact ... Re: ImageButton and webpage expired? 02-01-2007, 10:57 PM. Contact ...
Image button vlink & alink Posted: Sun Sep 07, 2008 1:05 pm Image button vlink & alink ... A viewer's browsers has control over how links will open on any web page. ...
ASP NET Q how i call a iframe by the click of a imagebutton in the gridview in asp.net/ · c# gridview web page has expired · prevent multiple user login + asp.net + ...
Web Page Maker Document To insert an image to a web page:. 1. Click the Image button on the toolbar. Or, click the arrow next to the Image button, then From Library. ...
*Spherical Panorama Web Page Creator - Software Directory ... The Web Page Creator processes unique features such as fast . ... Gif images and photos - Part of image buttons has transparent background color - Choosing ...
Chat11.com: Personal Website Starter Kit Problems Create|Search: Timeout expired. The timeout period elapsed prior to .... find that trying to run the webpage may get timeout errors such as the following. ...
GarageSale Preferences - GarageSaleWiki May 25, 2008 ... You can use the Add Image button uses: pop-up menu to specify what .... a single click instead of waiting for PayPal’s web page to load. ...
Bite The Wax Tadpole It took me a few Googles to hit on a good introductory Regex web-page, ..... I just put ANOTHER submit button immediately prior to the Image Button and ...
AntsSoft software downloads UltraMenu, EbookMaker, SWFMenu Multiple expiration modes: The author may choose Ebook to expire on a specific ... With its help, you can easily complete the creation of image buttons or ...
- Tech Support Guy Forums" target="_" > - Tech Support Guy Forums Everytime that I go to the 'insert image button' (not placeholder), ... is used to link to pictures, so they can be displayed on a webpage. ...




Search This Site:










object expected in menu control

master page

button event vs masterpage page_load event

menu control

please help

working with master pages - what about sitemaps, etc

determine from master if content tags with specific contentplaceholderid exists

treeview node issue

theme-related question

frames / include / masterpage

dynamic master page

some controls doe not render inside the <asp:content></asp:content>

display not refreshing when css in theme is updated

menu control inside user control located inside master page does not work

wrong path when using urlrewrite and theme

site map created is changed upon uploading to free host

making sure a node in a tree is visible

re: permissions

one treeview for different users?

use master-functions/subs in child

hide menu nodes

treeview with shared ssl certificate

frames & master pages

2 contentplaceholders: click on a button from one to change another

performance of using nested master pages.

master page doubt for rendering

scrollbars for contentplace holder

imagea not displayed in master page or any content page

wizard previous step argument question

masterpage conflicts problem!

  Privacy | Contact Us
All Times Are GMT