Where's applicationbasepage and how do I set up a web project?


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Hehe Yeah...I've actually been a member of that "club" for quite a while now....I just keep learning what a big club that it is Smile .  Anyway, I am glad to help Wink
Pertti Karjalainen
Pertti Karjalainen
StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)
Group: Forum Members
Posts: 54, Visits: 4K
Gracias, Amigo!

Burning some midnight oil, I see...  But, hey, might as well be part of the biggest club in the world Crazy.  Gives a whole new meaning to "clubbing", too... Blink

Thanks again -- this will take me much further on my journey into the new StrataSpeheres...


Pertti

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Pertti,

Below is a link to the CSharp web sample that has been converted from the VB.Net web sample.  This should give you more than enough to see how to layout a StrataFrame web site.  I hope this gets you going Wink

http://forum.strataframe.net/FindPost5109.aspx 

Pertti Karjalainen
Pertti Karjalainen
StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)
Group: Forum Members
Posts: 54, Visits: 4K
Well, maybe it's just me, but I can't get the C# clone of the VB app going.  Doesn't populate the controls on my web page, although it doesn't throw any errors, either.  Nor does the debugger seem to step through the code where population is supposed to happen.  Dunno.

Pertt

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
The C# sample is the same as the VB, but just in C# code.  So this should give you plenty to look at to get you going.
Pertti Karjalainen
Pertti Karjalainen
StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)
Group: Forum Members
Posts: 54, Visits: 4K
Thanks!  This will be most helpful.  As soon as possible, if there was even a quick and simple example on creating a C# web project from the beginning to the end with setup, databinding and up the the finished application that we could actually run on our computers and study the code & settings, that would be great.

Can't wait...  Pinch

 

Pertti

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
We are in the process of converting all of our VB samples to C#.  These will all be included in the next update, but we will post them on the forum as they come available.  We will move the website sample up on the list and we will let you know when it is available on the forum.  This should get you going.  Thanks.
Pertti Karjalainen
Pertti Karjalainen
StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)
Group: Forum Members
Posts: 54, Visits: 4K
Ben:

Since this is an ASP app I don't have access to events from the property sheet...  I tried all kinds of things with the base page and my default page, but the debugger just won't cooperate, which means the page load code doesn't run for some god-awful reason...

Would it be possible to see a complete C# web app all the way through databinding etc. and to a ready-to-run project.  The step-by-step instructions above stopped short of that kind of completion, and I suppose I am not the only one struggling with the C# web apps using StrataFrame, since there is no walk-throughs for that.  The VB web sample walkthrough is great, but given the differences between the two languages it isn't all that much help when trying to get a sample app up and running in C#.  I feel like I'm spinning my wheels unnecessarily here because of the lack of C# tutorials/walkthroughs.

Thank you!

Pertti

Ben Chase (12/07/2006)
With VB, there is a little "Handles" keyword at the end of an event handler that tells the compiler to add the handler to the event.  However, within C#, there is no such thing... it must be done within the designer file.  Your best be would be to open the page and go to the Design view where you can visually build the page.  View the property sheet for the page and you will see a button at the top of the property sheet that will show you the events.  In the Load event, you need to type the name of your method that is handling the load event.

I think you can also add the code within the page directive within the markup file... but I'm not sure.


StrataFrame Team
S
StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
With VB, there is a little "Handles" keyword at the end of an event handler that tells the compiler to add the handler to the event.  However, within C#, there is no such thing... it must be done within the designer file.  Your best be would be to open the page and go to the Design view where you can visually build the page.  View the property sheet for the page and you will see a button at the top of the property sheet that will show you the events.  In the Load event, you need to type the name of your method that is handling the load event.

I think you can also add the code within the page directive within the markup file... but I'm not sure.

Pertti Karjalainen
Pertti Karjalainen
StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)
Group: Forum Members
Posts: 54, Visits: 4K
Well, I managed to brake something on my dinky website, and it is probably something very simple and my mistake.  But I can't figure it out.  I followed the step by step above, but when I tried to set a breakpoint at my default page on_load event where I load data.  However, the debugger it never stops there, it acts as if the page load code never even executes.  As a result the data field on the browser window doesn't get populated.  I can set a breakpoint at page_load in your VB Web sample app just fine, of course...

Below are pictures of my dev. environment at the breakpoint as well as the browser window.  Any help would be appreciated.  By me...

Code:

Solution Explorer:

web page:


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search