i have two controls on asp.net page , textbox and button and i want to write new page into textbox then when i hit the button i want to create new asp.net web page with textbox text. what do you want me to prefer to do this? is there any step by step tutorial or any code you have done before? thanks for asnwers.ok more detail about what i want.textbox control text is "contact" and i click my button control. button take textbox text "contact" and create new web form page which name is "contact.aspx and its code page contact.cs" . thats it. just create new web form page under root directory with button click.
I have 1 UserControl and 3 aspx pages.3 aspx pages are using this same UserControl.UserControl have button hen i clicked the button of usercontrol i want to save individual aspx form data. that should be dynamic
I'm currently in the process of creating a webshop. This webshop supports theming, but I also want customers to choose a lay-out. I can create multiple masterpages and create a handler to dynamically set the correct master page. But some components, like the shopping cart, are controls which have to be present in the master page and are also used in the aspx pages. The shopping cart control for instance, has an Update method which is called whenever the user adds a product to their cart. So the question is: can I somehow create a default masterpage which has all the components on it, but still be able to create multiple lay-outs. And how should I reference that master page from the aspx pages? I also thought of creating an Interface class which defines the masterpage and it's public components, but I don't know if I can reference an interface from aspx pages.
I would like to set the page heading according to the querystring value. So, it is something like this: From Page1.aspx I am redirecting to Page2.aspx.
In Page1, I have list of image buttons depicting different Departments coming from database. On clicking the particular Image button I will be redirected to Page2.aspx which shows info regarding to that department.
I want to display a aspx page dynamically by reading the function from class1.cs file.
In need to implement the code in .cs file i.e in Bussiness logic layer.In a class file i need create the instance for each webcontrol but i struck up at a point that where the instance of the webcontrol to be added and also how to use the function of BLL in aspx.cs file.
Am crating instance like this,
Textbox txt=new Textbox(); panel.add(txt);
But i want to implement thesame in BLL instead of adding object to panel in aspx.cs i want to call it from BLL.Appreciate your response.
what I am currently doing is creating an aspx form dynamically and saving its data by using Server.Transfer("PrssPage.aspx").
On ProcessPage.aspx I am using the Previous Page property to save the data entered by the user using the dynamically created form.
Each Dynamic Form is provided an ID for example 123.aspx
Now what I want to achieve is to repopulate the dynamically created aspx page with the user input values from database, plz note here that I do not have an aspx.cs page getting dynamically generated. I am only generating aspx page.
Every time I create a new aspx page and add some new photos and text, after I finish, I have to update page title, Web.sitemap, Sitemap.xml to feed search engines, static sitemap.aspx page, add photos to proper folders, update database to display feeds etc, and I have to remember to upload all new files including links to any new pdfs....This routine eats my time and drives me crazy.
I was wondering if there is such interface, where you need to create only 1 aspx page, for example "Articles" which can populate Texts, photos etc into pre-defined sections, but at the same time it displays with different URL's, so there is a permanent link to it. After you finish it creates a title automatically, based on article title, populates Web.sitemap - does all the dirty work. Similar to how blog engines, Joomla and Drupal work.
I've always depended on putting a control on an aspx page and double-clicking in design view to create my VB page. But this isn't happening in my current project. It creates an inline script in my aspx page instead. Where is the option or preference or XML file or.... that controls this?
need to open an aspx page (called editItem.aspx in code below) loaded dynamically inside a jQuery UI dialog from a parent aspx page. the child page has a button server control and should go back to parent page after postback. with the following code I get the error"The state information is invalid for this page and might be corrupted"
the page is not showing in the main page just shows pdf reader loading then nothing happens. Even when i try to load another page which of type aspx same case its not being showed in the main page only windows authenticating box appears then page sleeps
however when i create the iframe using the page markup its being correct for both cases.
I want to create aspx or html page dynamicallly. what should i do.
I have a New Page Button on the page i want when user will click this button i want to open a popup window where user will enter the title and content of the page, i want to use Ajax Html Editor for enter the content in the page. and also he can upload any image.
I've a page main.aspx. This page has a button 'Settings'. When it is clicked, I load another aspx page settigns.aspx in a popup. Now in the settings.aspx i allow the users to add controls dynamically. For example the user can create 5 textboxes. When he saves it there, I need to get that controls to main.aspx.
So i need to move all the controls from one page to another page. I'm not able to think of a solution with user controls.