Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I moving my working web from asp to asp.NET, but i can't do it at ones.

 

can i include template files in my .NET project? how do i add the folder? (i just can't find the way to copy exist folder to the solution!).

 

What the regular way to make templates in .NET?

 

with thanks.

  • Moderators
Posted
To add an existing folder you can copy it into the root of your project then in the solution explorer click on "Show All", you will now see your folder (a bit faded), right-click and "Include in Solution".
Visit...Bassic Software
Posted

May be i didn't made my self clear. i do know to create user control, but what I meant is so:

My asp web has upper and right menus (you can see it in http://www.shoresh.org.il, although it is in Hebrew, so I don't think you will understand a lot �º ).

 

I want to move it to .NET piece by piece, begging from the search engine (because I think dataset's will be more powerful tool for it).

I am looking for way to include these upper and right menus in the .aspx pages.

 

Can I do it?

 

Yaniv

  • Moderators
Posted

Believe me Templates is what you need, that's actualy part of what my sample demonstrates. I removed menus from the sample in order to simplify it.

 

All you need to do is create an html table for your layout, I'm sure you already have that in place now.

 

Take that layout and stratigicaly place it in the base class.

Visit...Bassic Software
Posted

When i try to open the sample, i allways gets a lot of error masseges like "can't find "init" class" and so. can it be the sample doesn't have the baseclass? i can't run it and see what it mean.

some thing missing for me.

Posted
yes, when it didn't worked, i opened new project via the visual studio, and then copiyed all the files from the sample to that folder (clicking "yes to all" to the override question.)
  • 2 weeks later...
  • 2 weeks later...
Posted

o.k. now i have it running

 

well, it is running without any error massege. i tryed to add my own webform and to inherite it. it is running with errors (which took me a long time), but i can't see nothing in it!! the text dosen't appear in there.

 

it is a problem!

yaniv

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...