Showing posts with label basic. Show all posts
Showing posts with label basic. Show all posts

Saturday, March 31, 2012

Themes, Pages, and Master Pages

I am trying to understand some basic things about themes.
Why cannot I attach a theme to a master page?
When I define a CSS within a theme and then attach the theme to a page it
seems that I cannot use the CSS definitions directly on that page. Is this
correct? If so, why?
Thanks
Jayin the web.config in the <pages> tag add a styleSheetTheme attribute with th
e
name of your theme. If that isn't what you want to do, you can always
temporarily drop the CSS link directly into the master page for editing and
then remove it when done (unless of course you want it directly on that page
).
"MS News" wrote:

> I am trying to understand some basic things about themes.
> Why cannot I attach a theme to a master page?
> When I define a CSS within a theme and then attach the theme to a page it
> seems that I cannot use the CSS definitions directly on that page. Is thi
s
> correct? If so, why?
> Thanks
> Jay
>
>
I messed up and see my mistake. Everything works as expected and very
nicely.
Jay
"MS News" <someone@.nowhere.com> wrote in message
news:eJWVBajMGHA.740@.TK2MSFTNGP12.phx.gbl...
>I am trying to understand some basic things about themes.
> Why cannot I attach a theme to a master page?
> When I define a CSS within a theme and then attach the theme to a page it
> seems that I cannot use the CSS definitions directly on that page. Is
> this correct? If so, why?
> Thanks
> Jay
>
>

Themes, Pages, and Master Pages

I am trying to understand some basic things about themes.

Why cannot I attach a theme to a master page?

When I define a CSS within a theme and then attach the theme to a page it
seems that I cannot use the CSS definitions directly on that page. Is this
correct? If so, why?

Thanks

Jayin the web.config in the <pages> tag add a styleSheetTheme attribute with the
name of your theme. If that isn't what you want to do, you can always
temporarily drop the CSS link directly into the master page for editing and
then remove it when done (unless of course you want it directly on that page).

"MS News" wrote:

> I am trying to understand some basic things about themes.
> Why cannot I attach a theme to a master page?
> When I define a CSS within a theme and then attach the theme to a page it
> seems that I cannot use the CSS definitions directly on that page. Is this
> correct? If so, why?
> Thanks
> Jay
>
>
I messed up and see my mistake. Everything works as expected and very
nicely.

Jay

"MS News" <someone@.nowhere.com> wrote in message
news:eJWVBajMGHA.740@.TK2MSFTNGP12.phx.gbl...
>I am trying to understand some basic things about themes.
> Why cannot I attach a theme to a master page?
> When I define a CSS within a theme and then attach the theme to a page it
> seems that I cannot use the CSS definitions directly on that page. Is
> this correct? If so, why?
> Thanks
> Jay

Wednesday, March 28, 2012

Thinking about learning asp

Hi everyone, Im thinking about learning asp.
Ive got some really basic questions which Im quite embarrased to ask
1. I work on a mac does that matter
2. Ive got a linux server is that ok? It does have the option to support asp so im guessin its ok
3. I was having a skim through but thought Id get a quickerresponse from just asking. What software do I need? and canI get a mac version
Thanks guys Id appreciate a response
:)
1. You can't run ASP.Net on a Mac - however, you can use any text editor to create the ASP.Net files
2. I've heard of something called the 'Mono' project that allows AsP.Net to run on (I believe) a linux server (don't quote me on this)
3. VS.Net does not have a Mac version, however, this is just for development (see #1)
I believe DreamWeaver has a Mac version, though I haven't used it and don't know how it works on a Mac for ASP.Net development
Have you done any kind of programming before?
(and I assume, though you said 'asp', that you mean ASP.Net, since this is an ASP.Net forum)

Hi Aura,
If you are on a Mac and you wish to use ASP.NET the best advice I can give you is to switch to a PC.
I do believe there is a SOFTWARE package on the MAC that is called VIRTUAL PC which should allow you
to run WINDOWS on your Mac. Check out the Mac self help site to see if the VIRTUAL PC will support
the .NET architecture.
I you have never programmed before perhaps using LINUX/UNIX centric technology Such as TOMCAT/APACHE
using either PHP or JSP as your web pages and MYSQL as the back end database.
If you are referring to flat out ASP or classic ASP as some here refer to it, you can use Chilisoft to run ASP pages
on your MAC web server.

I don't see why you wouldn't be able to load MONO onto OSX and run it.you may want to talk to one of the people on the board that work on themono project. you should be able to, i don't see why you wouldn't

Monday, March 26, 2012

This is a basic overall question. Please note I am new

This is a basic overall question. Please note I am new
to ASP!
I am currently running IIS 5/Access 2000/Windows 2000 and
have developed a web application.

>From what I have been told, to really emulate a
master/detail form, the best way would be to use ASP.net
to do so.
1. is that true?
2. if so, does ASP.net run against Access or SQLServer?
3. what would I need to purchase to emulate this?
Thank you for your help.
Chow Wai<hkhellhkhell@.hotmail.com> wrote in message
news:1159516927.801834.168640@.i3g2000cwc.googlegroups.com...
> This is a basic overall question. Please note I am new
> to ASP!
> I am currently running IIS 5/Access 2000/Windows 2000 and
> have developed a web application.
>
> master/detail form, the best way would be to use ASP.net
> to do so.
> 1. is that true?
It is easy with a GridView and DetailsView, so if easy is your criteria for
best, then I would say yes.

> 2. if so, does ASP.net run against Access or SQLServer?
Both.

> 3. what would I need to purchase to emulate this?
Visual Studio, but you can download the free versions to get started:
http://msdn.microsoft.com/vstudio/express/default.aspx
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
****************************************
*********
Think outside of the box!
****************************************
*********
If you have .NET 2.0 (Visual Studio 2005) master forms are supported by
default on it and are basically effortless to implement... ASP.NET can run
against any OLEDB or ODBC database provider or SQL Server Client, as long as
you have the provider installed on the host system (OLEDB Drivers, or ODBC
drivers)
<hkhellhkhell@.hotmail.com> wrote in message
news:1159516927.801834.168640@.i3g2000cwc.googlegroups.com...
> This is a basic overall question. Please note I am new
> to ASP!
> I am currently running IIS 5/Access 2000/Windows 2000 and
> have developed a web application.
>
> master/detail form, the best way would be to use ASP.net
> to do so.
> 1. is that true?
> 2. if so, does ASP.net run against Access or SQLServer?
> 3. what would I need to purchase to emulate this?
> Thank you for your help.
> Chow Wai
>

This is a basic overall question. Please note I am new

This is a basic overall question. Please note I am new
to ASP!

I am currently running IIS 5/Access 2000/Windows 2000 and
have developed a web application.

Quote:

Originally Posted by

>From what I have been told, to really emulate a


master/detail form, the best way would be to use ASP.net
to do so.

1. is that true?
2. if so, does ASP.net run against Access or SQLServer?
3. what would I need to purchase to emulate this?

Thank you for your help.

Chow Waihkhellhkhell@.hotmail.com wrote:

Quote:

Originally Posted by

This is a basic overall question. Please note I am new
to ASP!
>


Hi, Chow.

Quote:

Originally Posted by

I am currently running IIS 5/Access 2000/Windows 2000 and
have developed a web application.
>

Quote:

Originally Posted by

From what I have been told, to really emulate a


master/detail form, the best way would be to use ASP.net
to do so.
>


ASP.Net has some really nice features for beginners. If you have a copy
of Visual Web Developer Express
[http://msdn.microsoft.com/vstudio/express/vwd/] you can very quickly
put together a web app without any real need for custom programming.

Have a look at the samples here
[http://msdn2.microsoft.com/en-us/library/stc0szde.asp]

Quote:

Originally Posted by

1. is that true?


It's definitely a pretty good way, and if you're happy with the
defaults provided by Microsoft, you can do it really REALLY easily.

Quote:

Originally Posted by

2. if so, does ASP.net run against Access or SQLServer?


Yes. And Oracle, and MySql, and flat text files if you're so inclined.

Quote:

Originally Posted by

3. what would I need to purchase to emulate this?
>


Nothing! If you've already got Access, that will do nicely as a
database for playing around with. ASP.Net has classes for communicating
with Access out of the box, so you shouldn't have any problems.

Quote:

Originally Posted by

Thank you for your help.
>


One thing, you mention that you've already developed a web
application... waht have you developed, what have you written it in,
and why are you considering ASP.Net to run just a small part of it? Or
have I misunderstood?

Quote:

Originally Posted by

Chow Wai


Scott Mitchell has written some excellent ASP.NET tutorials that
demonstrate how to build master/detail pages:

http://www.asp.net/learn/dataaccess...tabid=63#master
hkhellhkhell@.hotmail.com wrote:

Quote:

Originally Posted by

This is a basic overall question. Please note I am new
to ASP!
>
I am currently running IIS 5/Access 2000/Windows 2000 and
have developed a web application.
>

Quote:

Originally Posted by

From what I have been told, to really emulate a


master/detail form, the best way would be to use ASP.net
to do so.
>
1. is that true?
2. if so, does ASP.net run against Access or SQLServer?
3. what would I need to purchase to emulate this?
>
Thank you for your help.
>
Chow Wai


<hkhellhkhell@.hotmail.comwrote in message
news:1159516927.801834.168640@.i3g2000cwc.googlegro ups.com...

Quote:

Originally Posted by

This is a basic overall question. Please note I am new
to ASP!
>
I am currently running IIS 5/Access 2000/Windows 2000 and
have developed a web application.
>

Quote:

Originally Posted by

>>From what I have been told, to really emulate a


master/detail form, the best way would be to use ASP.net
to do so.
>
1. is that true?


It is easy with a GridView and DetailsView, so if easy is your criteria for
best, then I would say yes.

Quote:

Originally Posted by

2. if so, does ASP.net run against Access or SQLServer?


Both.

Quote:

Originally Posted by

3. what would I need to purchase to emulate this?


Visual Studio, but you can download the free versions to get started:
http://msdn.microsoft.com/vstudio/express/default.aspx
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
*************************************************
Think outside of the box!
*************************************************
If you have .NET 2.0 (Visual Studio 2005) master forms are supported by
default on it and are basically effortless to implement... ASP.NET can run
against any OLEDB or ODBC database provider or SQL Server Client, as long as
you have the provider installed on the host system (OLEDB Drivers, or ODBC
drivers)

<hkhellhkhell@.hotmail.comwrote in message
news:1159516927.801834.168640@.i3g2000cwc.googlegro ups.com...

Quote:

Originally Posted by

This is a basic overall question. Please note I am new
to ASP!
>
I am currently running IIS 5/Access 2000/Windows 2000 and
have developed a web application.
>

Quote:

Originally Posted by

>>From what I have been told, to really emulate a


master/detail form, the best way would be to use ASP.net
to do so.
>
1. is that true?
2. if so, does ASP.net run against Access or SQLServer?
3. what would I need to purchase to emulate this?
>
Thank you for your help.
>
Chow Wai
>

Saturday, March 24, 2012

This must be so basic nobodys posting on it....

In my classic asp apps i use a left nav page which more or less controls the content shown in the right frame. 2 frame html frameset. In .net i can't quite figure out the best way to do that. Should i still use frames or is panel an option. It seems like people are not hopping page to page like I do in classic. Can anyone point me int he right direction? I've now collected several books and scoured the web with no answer to this really basic question...

Thanks,

ScottWhether you're using legacy ASP or ASP.NET, the "target" attribute of a hyperlink will still work. You can use frames in .NET if you want, of course, but it all boils down to what your requirements and taste are.

In the example you gave, my first thought would be to not use frames but rather a simple table and make your navigation area a user control (ascx). But there are also numerous other options to consider.