Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 3rd, 2008, 10:07 AM
Authorized User
 
Join Date: Jan 2008
Location: london, , United Kingdom.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to pepperoni00
Default few questions for newbie please

hi everybody,
m a newbie in asp.net.m using vs2005.Please could anyone help me?
1)the browser doesnot render the images while executing thou i can see em' in design mode
2)how to program interactive button but without using "Navigation controls" provided by ASP .NET..i used javascript but no response at all yet,no error either....i guess its because of the problem 1
3)how to download the images from sql server that are uploaded earlier using insert cmd?i uploaded it to the server but when i simply try to download using simple select command,it just prints long alphanumerics..
4)how to upload files in the filesystem then?

And the real tedious problem is....i used VS 2003 before and while workin with web development,design grid used to be flexible that i could move the control easily..
But in 2005,controls are so reluctant even though i check all those align propeties

ill be thankful guys
  #2 (permalink)  
Old January 7th, 2008, 10:43 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Questions 3 and 4 can be answer by some simple web searching. There are numerous tutorials and forum threads about both of these topics.

Question 1) Generally, if you aren't seeing images it's due to relative path mistakes. Take a look at the URL in the image tags and compare that against the real directory structure of your site. Often path problems can be fixed by using application root relative syntax with the "~" application placeholder. The runtime will fill it in as needed. Example: image url of "~/images/header.gif". This will resolve out to the appropriate path based on the application virtual directory. This is a very good practice to eliminate this kind of headache.

Question 2) Please explain further. What do you mean by "interactive". Generally speaking, all buttons are interactive. What are you trying to do with it?

Visual Studio .NET 2002/2003 web forms (under the default IDE settings configuration) used fixed positioning layout using div positioning. This caused lots of back lash from developers. 2005 doesn't behave that way by default. Generally, if you want to make dimensionally flexible sites (i.e. different window sizes) then you should stay away from fixed layout. You can use CSS properties to make flowing layouts that don't rely on tables but are still more flexible than fixed positioning.

-Peter
  #3 (permalink)  
Old January 7th, 2008, 05:58 PM
Authorized User
 
Join Date: Jan 2008
Location: london, , United Kingdom.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to pepperoni00
Default

thanks peter..
1) I also tot it's due to the relative path mistake...but the problem persists..
My LOGO's real path is:\inetpub\wwwroot\myproject\App_data\mylogo.gif
Relative path mentioned in property: ~/App_data/mylogo.gif
   Is there any problem..
2) I meant "interactive" as button which changes its color or size when user hovers or clicked etc...
3)Thanks for the third help...
i appreciate..
ciao.peace.

  #4 (permalink)  
Old January 7th, 2008, 06:03 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

You can't serve files from App_Data; it's a protected folder by default. Move them to say, Images and your problems will vanish:

~/Images/mylogo.gif

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
  #5 (permalink)  
Old January 7th, 2008, 07:54 PM
Authorized User
 
Join Date: Jan 2008
Location: london, , United Kingdom.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to pepperoni00
Default

Phew....thats it?I misinterpreted "App_data" folder
thaks olot..
  #6 (permalink)  
Old January 8th, 2008, 02:01 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

App_Data is for data that needs to be processed at the server, like database files, XML files etc.

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
JDK, newbie questions =D Ixidor Java Basics 5 March 12th, 2006 04:53 AM
Newbie Questions chimp Crystal Reports 0 November 7th, 2005 10:54 AM
CR10 newbie questions drunken Crystal Reports 0 January 19th, 2005 03:14 PM
Newbie stored procedure questions harpua SQL Server ASP 3 October 19th, 2004 04:57 PM



All times are GMT -4. The time now is 05:39 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.