473,847 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Embedding aspx page in a webcontrol library.

42 New Member
hI all , i have developed a webcontrol library for a custom data grid. now i want to embed a aspx page for the Searching database .in to this dll. now how should i embed a aspx page with controls in a webcontrol library.

thanx in advance. its urgent.

Apr 6 '09 #1
3 2282
9,735 Recognized Expert Moderator Expert
I'm not sure what you're trying to do.

You can't really embed an "aspx" page into a DLL.

You can precompile your web application so that all your pages are not compiled every time a user visits your website. When you do this, all of your VB or C# code for the website is compiled into a single DLL that the web application accesses in order to process the web page requests. Your actual ASPX pages are not embedded into the DLL, they are required in order for the user to make a request to the web pages in your website.

Could you please explain what you are trying to do in more details?


Apr 6 '09 #2
42 New Member
Dear Frinny,
the dll which i have developed can be used with any web applications. by using a XML file for its configuration. as i have mentioned it is for custom DataGrid. now i want to add more functionality to this dll, by adding search functionality to it. the dll has the searching functionality also. i want that when i will click a button on the grid it will open a page for accepting advamce searching options.. and depending on the Specific web aplications database.it can search. but the advance searching Page will be the part of the dll . notthe part of Web application.

thats. all. if anything is not clear to you. then pls reply me.

than u again.

Apr 7 '09 #3
9,735 Recognized Expert Moderator Expert
Honestly I have no idea how to accomplish what you are trying to do. I'm not even sure it's possible.

You could create a method in your DLL that outputs and saves HTML/ASPX file....
Apr 7 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Victor Fees | last post by:
I have an XML string in a database that I would like to display using XSLT. All of that works like a champ, but I can't figure out how to embed the XML inside an ASPX page. For example, I have an ASPX page with a Header User Control and a Footer User Control. I'd like to put the transformed XML right in the middle. It seems like this is something that should be doable, but I can't quite figure it out. Is anyone out there doing this,...
by: Dan | last post by:
Hi, I have a problem using an aspx page with a Control on it. I get the following error message Compiler Error Message: CS1595: 'Test.Class2' is defined in multiple places; using definition from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\1f575646\ad3a161b\assembly\dl2\57ca505e\044565c0_f84fc401\Test1.DLL' The problem is that the control is defined in two different assemblies
by: Marc Pelletier | last post by:
Hello, I have a class (TideClass) which creates a bitmap image as one of its functions. I want to create a page which has this image embedded amongst some text. I know that I have to stream the image back from a separate aspx page. I have therefore created a page Day1.aspx which gets the instance of tide from the context handler, calls the DrawChart function and streams it back.
by: spmm# | last post by:
Hi! Could someone please help me with the following; I have a WebControl that basically looks like this: public class LeftMenu : System.Web.UI.WebControls.WebControl { private string m_CurrentNodeId = string.Empty; public string CurrentNodeId
by: Skeptical | last post by:
Hello, I am trying to embed html output into my webform but could not figure out how to so far. The form will execute a Perl script with some parameters, and script will output some html code. I need to capture and render this html into my webform. Any ideas?
by: Lloyd Dupont | last post by:
I want to create an image chooser popup window. The popup window/frame is easier to define as an .aspx but I don't know how to compile this .aspx. Create a whole Page by code is quite cumbersome, is there a class to parse an .aspx and transform it into a Page instance? (so I just embed the .aspx in my library, and when my HttpHandler is called, I create a Page instance and forward the HttpRequest to it)
by: Praveen | last post by:
Hi, I have a control that currently embeds it's images and script files as resources (by marking them as 2.0's WebResourceAttribute) and lets the runtime handle the streaming of the files to the client. This control now also uses a html file (which gets used as a "dialog" during runtime) and I would like to embed this html file as an assembly resource (just like the above images and scripts) to help make deploying my control's...
by: Ollie Riches | last post by:
How do I embed a *.flv file (Flash Video) into an aspx page similar to embedding windows media player active x control? Cheers Ollie Riches
by: JJ | last post by:
How do I embed a swf (flash) file as a resource in my custom web control? And, if thats possible, how would I access it when I am (presumably) overriding the RenderContents method? Thanks in advance, JJ
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.