CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > migration_to_asp.net.migrating_from_asp_to_asp.net Tags:
Item Type: NewsGroup Date Entered: 6/15/2007 6:24:42 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 25 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
vijayb76
Asp.Net User
how to use .net web user control in classin asp6/15/2007 6:24:42 PM

0/0

could any body help me in calling .net web user control in classic ASP.

thanks in advance.

MassMano

mbanavige
Asp.Net User
Re: how to use .net web user control in classin asp6/15/2007 7:39:37 PM

0/0

you cannot use a .net usercontrol in a classic asp app.  the .net usercontrol must run in the context of a .net web.

 


Mike Banavige
~~~~~~~~~~~~
Dont forget to click "Mark as Answer" on the post that helped you.
This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
vijayb76
Asp.Net User
Re: how to use .net web user control in classin asp6/28/2007 9:10:16 PM

0/0

 we can do that if both the files are in the same server.

step1:  create 1 aspx.file 

step2 : place the control in the above aspx file

step3 : add the below code in your asp file

        strURL  is the aspx file url which contains the ctrl

 <iframe id="MyCtrl" name="MyCtrl" src=<%=strURL%>  height="50" width="100%" style="background-color: Silver" scrolling="no" frameborder="0">
                                        [Your browser does not support frames or is currently configured not to display frames.  Frames are required to use this upload page.]
    </iframe>

 

your job done. 

mbanavige
Asp.Net User
Re: how to use .net web user control in classin asp6/28/2007 11:34:56 PM

0/0

vijayb76:

 we can do that if both the files are in the same server.

step1:  create 1 aspx.file 

step2 : place the control in the above aspx file

step3 : add the below code in your asp file

        strURL  is the aspx file url which contains the ctrl

 <iframe id="MyCtrl" name="MyCtrl" src=<%=strURL%>  height="50" width="100%" style="background-color: Silver" scrolling="no" frameborder="0">
                                        [Your browser does not support frames or is currently configured not to display frames.  Frames are required to use this upload page.]
    </iframe>

 

your job done. 

This code sample calls an aspx web page through an IFrame.

This is quite a different thing from using a UserControl in a classic ASP app though.

 


Mike Banavige
~~~~~~~~~~~~
Dont forget to click "Mark as Answer" on the post that helped you.
This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
vijayb76
Asp.Net User
Re: how to use .net web user control in classin asp6/29/2007 3:16:53 PM

0/0

 this is one workaround, i placed my control(what ever is the work around) we can do it. we can use dotnet control in asp like i said above.

 

5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
ASP.NET: Tips, Tutorials, and Code Authors: Scott Mitchell, Pages: 878, Published: 2002
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
Professional ASP.NET 3.5: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1673, Published: 2008
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Pro ASP.NET 3.5 in C# 2008 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1498, Published: 2007
ASP.NET for Developers Authors: Michael Amundsen, Paul Litwin, Pages: 458, Published: 2001
Beginning ASP.NET 3.5 in VB 9.0: From Novice to Professional Authors: Matthew MacDonald, Pages: 1149, Published: 2007
Pro ASP.NET 2.0 in VB 2005: From Professional to Expert Authors: Laurence Moroney, Matthew MacDonald, Pages: 1253, Published: 2006
Pro ASP.NET 2.0 in C# 2005: Create Next-generation Web Applications with the Latest Version of Microsoft's Revolutionary Technology Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1426, Published: 2006
Core Internet Application Development with ASP.NET 2.0 Authors: Randy Connolly, Pages: 1049, Published: 2007

Web:
Smart headers and footers using ASP.NET User Controls | xefteri.com We can still use include files in ASP.NET in pretty much the same way as classic ASP if we want to. However, User Controls offer greater flexibility, ...
SOFTWARE: Asp.net Web User Control Asp.net Web User Control. I am going to explain web user control in this post. If you use classic asp, we create include file in asp. Web user control is a ...
ASP.NET Web Forms NET than they were in "classic" ASP due to PostBack and CodeBehind, they still can be ... Shows how to then use the new control in your ASP.NET Web Pages. ...
How to write UserControls In ASP.Net Unlike classic ASP includes, the UserControls are not interpreted for every ... Net editor. Note that we did not use "Add Web User Control" wizard for this. ...
Build Web user controls in ASP.NET In ASP.NET, Web user controls are typically created by adding a new Web user ... In fact, the class in the codebehind file is inherited from the same class ...
CodeProject: Correlated Caching for ASP.NET User Controls. Free ... ASP.NET 1.x provided excellent support for caching user controls using directive @outputcach and ... The answer lies in CacheDependency class. In fact, ASP. ...
Using ASP.NET with FrontPage 2003 You can use Visual Studio .NET to create custom control assemblies, .... Working with Web Forms and User Controls. Unlike classic ASP, ASP.NET pages are ...
Event Bubbling From Web User Controls in ASP.NET (C#) Event Bubbling From Web User Controls in ASP.NET (C#) Posted by scott on Saturday, February 14, 2004 This C# code example demonstrates event bubbling from a ...
Videos : The Official Microsoft ASP.NET Site Create a Custom User Control in ASP.NET?27 minutes, 41 seconds ... Use Roles to Segment Functionality in an ASP.NET Web Site32 minutes, 16 seconds ...
Mikhail Arkhipov (MSFT)'s WebLog : Weather Forecast ASP.NET user ... It looks like this: It fetches weather forecast data from a free XML Web ... re: Weather Forecast ASP.NET user control. I wanted to use this on a VB ASP. ...

Videos:
RickRoll'D RickRoll'd OMG OMG OMG OVER 10 MILLION RICKROLL'd! http://tinyurl.com/642wu3 Click for information on the origin of the rickroll, and other facts!




Search This Site:










activedirectorymembershipprovider changepassword problems 'must change password at next login'

formsauthentication.redirectfromloginpage does not redirect

ngallery integration

dynamic membershipprovider

how do you use paypal button since it has form tag?

master pages are duplicating controls - help!

duplicate solution file

first level menu hover issue

force replication

masterpage, table, iframe issues....

what happened to my formatting

really broken forums

.net 1.1 windowsidentity object question

how to deploy new assemblies in an asp.net 2.0 application?

controls with skinids vs controls without skinids - what's the hierarchy ?

story categories with lots of articles

wilson o/r mapper

how to generate........................

admin tab security

installing modules...getting erro...

how do i get who is currently logged in to a variable?

dnn 3.1.1 - sql 2005

question in data access component

problem with repeater and sitemap

storing userid when logged in

unknown error 0x80005000

nested master page and css

issue using control created in vs.net 2003 in vs.net 2002

visaul studio 2005 work screen...all messed up...?

unable to show the passwordquestion field

 
All Times Are GMT