Web User Control to Web User Control...
Hi, I have 2 User controls on a page and want Control1 to call a method of Control2. Is this Possible?
Con1 = Datalist showing products, each with a Quantity Box and a Button.
Con2 = Repeater showing Cart Preview (name, Price)
When I click on the button on the DataList in Con1 it adds the item into the Session based Cart. However it does not update the Cart Preview. I need to call BindPreview() in Con2 in order to update the Cart Preview...
Does that make sense? argh! any help much appreciated!
PeteWeb Design Nottingham, UK
Well I can call BindPreview() from m...access controls on web user control x from web user control Y
I have 2 web users controls in a page and I would like to get or set the selected values of a few dropdown boxes on web user control X from web user control Y and I also would like to know how to access functions that are on a web user control X from a web user control Y, is this possible? How can I do it?
Using PropertiesIf the Sample.ascx control has two textboxes and submit button.You can access the valu...web user control drag and drop problem
Hi Everybody,I am using web user controls in ASP.NET 1.1 and when I drag and drop a web user control, it gives a hyperlink to that control instead of creating an instance of the control, I have already registered the control in the container page and the control also has a classname. Now I am going to chek if I can manually type in the control tag to create an instance. But the drag and drop is not working. Any help would be appriciated.
Hi Try the link below, it might help uhttp://www.cmswire.com/cms/tips-tricks/aspnet-reusing-web-user-controls-and-forms-000915.php Nital SoniDon'...Persisting data in a web user control, which contains a list of other web user controls.
Hi All, I have a control I've created, which can have a number of child controls - also user controls - stored as an ArrayList, which can be added wither a design time or programmatically.My problem is when I add to the list programmatically, it doesn't persist them. So if I add 3 child controls in step 1 of a wizard, with the aim that those three will be visible inside the parent in step 3, what happens is that the parent has no child controls and the item count is 0.Can anyone help? Thanks in advance.Code:Parent Control Markup: <%@ Control Language="C#" Auto...web controls and web user control
i have a problem in a web form ,
I have a webform that contains a web user control which in turn contains a html input form ,the web control events don't fire up ,When I click button ,no effect ,I don't know what is the effect of the html form which is in the web user control on the web controls in the web form ??
can any one help me
the web control event should be handle in the code behind page, is the event handler for the button you are clicking registered? You can try double clicking the button, should give you the default btn_click event handler in code behind.
Also, make ...Drag & Drop other web controls to a composite control
Hi allI´m working on a GroupBox control and wonder if anyone know how I should do to make it possible to drag other web controls on it (just as if it was a System.Windows.Forms.GroupBox).
Best RegardsMikael Håkansson
I think it will suffice if you set the ParseChildren attribute to False.
Jos...how to allow users to drag drop controls (textbox, drop down)
We have a situation where the user needs to choose the layout of the page. They want to drag drop text boxes and other controls onto the page. We need to provide a toolbox similar to visual studio, from where they can drag drop controls. Also when they have created a page and saved it, the whole set of controls + page should also be available on the left side drag/drop menu for them to use thereafter. Anyone can help Thanks,Balaji Balaji
Look for AjaxControlToolkit from http://www.asp.net/ajax
...Web user control inside update panel replace with another web user control
I have a page with a menu. an and then the content. My thing is. That i have the update panel, and inside that i have a regual panel in which i add the Web User Controls i need. Which all works fine. My problem is. That i i have a submit funcion on almoast all the Web User controls. What i would like is that i inside that update panel, can dispose the original Web user Control and then add a response Web User Control.
In normal language. Is there a way that i can load one web user control into antoher and then disposose the original?
Thanks in advance
well, what ...Is it possible to drag and drop controls freely on Panel web control?
I want to drag and drop control freely on Panel just like put windows control on groupbox and drag&drop freely, but after i put a control on panel, it is always on the left top corner, i can't drag it to other positioin. Does anybody help me out?
The Web Forms Panel's contents are in FlowLayout. In order to get what you are expecting, you need to go to the HTML tab in the toolbox, and use a "Gird Layout Panel."
j a s o n b u n t i n g
after you drag and drop the 2nd control onto your form, switch to HTML view and just copy/paste that control in your pane...Mulitple instances of a web user control not working on same web page
<%@ Control Language="VB" AutoEventWireup="false" CodeFile="CalendarControl.ascx.vb" Inherits="CalendarControl" %>
function pickDate(...User Control VB.Net x Web Custom Control
I was thinking in create a user control in VB.Net, and use it in a Asp.Net as possible?
So I thought about it is gonna be better than make a Web Custom Control, so i thought again, nope... But i need to know better because a don't have a progress bar in asp.net for example....
Could Somebody tell me about???
in a reallity i know the asnwer but i would like to explain by myself...
Antonio...Cant drag-and-drop Web Custom Control to Web Form!
Hi,I'm going insane here, I've read countless articles how to create a Web Custom Control and add it to the Toolbox and then just Drag-and-Drop it to a Web Form.And I have done exactly that except for the last step, any Web Custom Control I create refuses to be Drag-and-Dopped to the Web Form. What happens is the following, after I have added the Web Custom Control to the ToolBox I click it and drag it to the Web Form designer area. First I can see the icon of the Web Custom Control and I see a Referance being created but just after that the icon changes to one of those "you cant park here s...In repeater, share web user control data between control instances
I have a user control which is repeated for each item in the repeater. The control uses some table data in order to populate a dropdownlist and an image. Because the control is repeated, I only want to fetch the data once and then reuse it. Ideally, I'd like the control to handle this data sharing rather than making the page responsible. Please note that this is in ASP.NET 1.1.
Is it possible to save the data to the page's viewstate from the user control? From the user control, me.page doesn't seem to expose a ViewState property.
I appreciate any suggestions. Thanks in advance....How to validate controls on a .NET 2.0 Web user Control
(ASP.NET 2.0 / C#)
I've looked thorugh every post on validating web user controls (and know about Pter Blum's Professional Validation and More package) - but can't seem to get my head around whre to start.
I have a web user control, called wucICL.ascx on a we page called AddEditInvestment.aspx. I would like to validate a couple of DropDownLists (ddlAccounts and ddlContacts) when the Insert and Update buttons are clicked on the AddEdit Investment page.
The other controls on the AddEditInvestments page belong to a validation group called All Validators and the DropDownL...