CodeVerge.Net Beta


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

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 6/22/2007 6:30:13 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 19 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
storm721984
Asp.Net User
IT work on regular webpage but not webpage with MasterPage...6/22/2007 6:30:13 PM

0/0

I seriously don't understand this at all.. MasterPage been helping me to reduce the number of repeatition work on interface design and now its bringing me really a lot of problem here...

Basically i have the code below which work on regular page that does not have masterpage but once i try it on webpage that has MasterPage in it... it just doesn't work at all...

Can anybody please help me with this issue or else i have to work on my webpage without the MasterPage benefit..... Crying

 For your information the problem is not at "WeddingGown.jpg"..... which it has nothing to do with the image path problem...

For num As Integer = 1 To 5

Dim btn As ImageButton = CType(FindControl("ImageButton" & num), ImageButton)

btn.ImageUrl = "WeddingGown.jpg"

Next

MorningZ
Asp.Net User
Re: IT work on regular webpage but not webpage with MasterPage...6/23/2007 4:59:32 PM

0/0

Your problem is "FindControl" and the fact that the MasterPage is a naming container and changes the IDs of child controls to guarentee them to be unique

this excellent article will totally explain, and consequently has a "Naming Container and FindControl" section:

http://www.odetocode.com/Articles/450.aspx


"If you make it idiot proof, they'll build a better idiot"
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Software Essentials for Graphic Designers: Photoshop, Illustrator, InDesign, QuarkXPress, Dreamweaver, Flash and Acrobat Authors: Mark Gatter, Pages: 240, Published: 2006
Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages Authors: Jacob J. Sanford, Pages: 474, Published: 2007
FrameMaker 7: The Complete Reference Authors: Sarah O'Keefe, Sheila A. Loring, Pages: 888, Published: 2002
Visual Web Developer 2005 Express Edition For Dummies Authors: Alan Simpson, Pages: 358, Published: 2005
Creative Suite 3 Integration: Photoshop, Illustrator, InDesign, Dreamweaver, Flash Pro, Acrobat, Bridge and Version Cue Authors: Keith Martin, Pages: 352, Published: 2007
Creating Killer Web Sites: The Art of Third-generation Site Design Authors: David Siegel, Pages: 305, Published: 1997
Web Application Architecture: Principles, Protocols, and Practices Authors: Leon Shklar, Richard Rosen, Pages: 357, Published: 2003

Web:
Re: Issue with an hourglass when a web page use master page - MSDN ... I have a requirement where my web page processes something at server side; ... But when I use a master page I am not able to see the hourglass on the page ...
Victor’s Programming Aid » How to Apply a Master Page to an ... Mar 10, 2008 ... A regular webpage has now been converted to work with your defined masterpage! You can follow this as a basis to larger more complexed pages ...
Use ZedGraph with a MasterPage - ZedGraphWiki This is not really much different from a regular page with RenderMode=ImageTag. ... A web page called 'MasterPage.master' which implements the MasterPage ...
[SOLVED] webpage does not show properly in IE7 but works fine with ... [SOLVED] webpage does not show properly in IE7 but works fine with IE6 ... font- family: Rockwell, Verdana, Arial, SunSans-Regular, ...
How to get the value of a field in a master page with Javascript ... The first works for me in a regular web page, but the same code in a master page does not (no alert appears). The second doesn't work for me in either type ...
Master Webpage Mailer Master Webpage Mailer even lets you send content in the email which is not visible on the browser version of the web page. All without maintaining an extra ...
MasterPages Not to mention if a change to the standard Web page layout is required. ... regular Web Panel (it can even have webcomponents), but needs to comply with the ...
TheMSsForum.com >> Publisher >> webpage to upload excel files ... Can't seem to make it work. Any suggestions? Tag: webpage to upload excel files .... It is shown in the regular window but not on print preview or when the ...
FreeTextBox - Doesn't work with Master Pages Both of which use master pages, but I have not had a problem. .... My aspx webpage does not use any MasterPages. ...
Knowledge with Neil » Blog Archive » Dataview web parts in your ... May 15, 2008 ... To troubleshoot the problem, open this Web page in a Windows SharePoint ... directly to a page in a subsite, it works fine, but master page? ...




Search This Site:










help with content on masterpage

master pages and menu causes problem with styles

wizard and javascript

sqlsitemapprovider works! - eventually

form names and master pages

master pages

error in content page on changing master page label text

css problem with treeview

treeview find selected node

button in content placeholder is not triggering

page loads multiple times

errors after including master pages

master page class type error

menu selected item

how to display certain levels in a treeview menu?

can this be done ?

menu/treview & multilevel xml

menu control disable hover

error on master page

accessing pictures in themes

web.sitemap and url query parameters

how do i 'override' images using themes

detecting fragment identifier / anchor in url ?

how to apply a css file in a particular content page?

asp.net 2.0 menu hides behind dorpdown list

menu control asp.net 2.0

asp 2.0 beta - masterpages and javascript

has anyone solved the font color bug with the menu control?

masterpage and postback

treeview, ondemand and server side check-boxes

  Privacy | Contact Us
All Times Are GMT