ASPFriends.com 'aspngcontrolscs' list Archive - March 2002
Messages
Page: 1
The designer attribute is ? (5 replies)
ASPFriends.com 'aspngcontrolscs' list
I have a string property on a control. When the user edits the property in the properties tab in the designer I'd like to have a drop down list of possible values... An example of this can be found in the "Target" property of the System.Web.UI.WebControls.HyperLink control. I'm assuming this is done with one of the designer attributes ? Does anyone know which one ? Michael Lang MS.NET Developer ht...
Access Variables from a parent (3 replies)
ASPFriends.com 'aspngcontrolscs' list
Moved from [aspngvb] to [aspngcontrolscs] by Charles Carroll charlesmarkcarroll@yahoo.com I have several custom controls on my ASP.NET page. How can I either: access a variable that is on the page that calls the control? or pass a parameter to the control without having to create a Public Set property in the control Any help would be appreciated. Walter K. Zydhek
System.Web.UI.Design namespace (3 replies)
ASPFriends.com 'aspngcontrolscs' list
I am trying to create a builder for a control I am making, and I am having a problem that this namespace is not recognized in VS. It will not compile, saying that there is no Design namespace in System.Web.UI. The documentation clearly says it is there. Can anyone tell me what I am doing wrong? 20 Thanks, 20 Ingram Barclay
Creating a Bound DropDown (2 replies)
ASPFriends.com 'aspngcontrolscs' list
Moved from [aspngfreeforall] to [aspngcontrolscs] by Mitch Denny mitch.denny@warbyte.com Due to included copywritten material, I need to segment my customer population according to counties. I have a states table and a related counties table that contains the county names of all states. I want to "multi form" the registration process as follows: (1) present a dropdown of states. (1.1) If user choo...
Stop User Control Caching while testing (2 replies)
ASPFriends.com 'aspngcontrolscs' list
Is there any easy way to stop user controls from caching during development? I'm making changes to controls and then running debug in VS only to find that the UC is using the old version of the code. Cheers, Julian Voelcker The Virtual World (UK) Limited Cirencester, United Kingdom
Web Control and Querystring (4 replies)
ASPFriends.com 'aspngcontrolscs' list
If I have a web control on a page, how can I read data passed to that page as a querystring? Cheers, Julian Voelcker The Virtual World (UK) Limited Cirencester, United Kingdom
Execute client-side code before postback (2 replies)
ASPFriends.com 'aspngcontrolscs' list
I think this was answered in a post several months ago but I was unable to track it down. I am interested in beginning able to execute some client side code to modify data before it is posted to the server. Specifically I am looking to create a login user web control that will encrypt the password before posting back to the server. Is this possible and how? Thanks, Sean ************************* S...
Looking for a user control that... (4 replies)
ASPFriends.com 'aspngcontrolscs' list
Moved from [aspngstart] to [aspngcontrolscs] by Mitch Denny mitch.denny@warbyte.com I want to be able to do something like... foo:bar runat server image "foo.jpg" The image /foo:bar And get a link that will pop up a window the exact size of the image specified. I know ti will generate javascript, that's fine. Someone muse have written one by now :) Soulhuntre my site: www.soulhuntre.com my mission...
Control Events (2 replies, VIP)
ASPFriends.com 'aspngcontrolscs' list
Does anyone in here understand how event bubbling works. Are there anythings you should be careful about when writing controls that would be placed inside a DataList or a DataGrid. Has anyone written controls that are placed inside a DataList or a DataGrid and handle events properly? Do You Yahoo!? Yahoo! Sports live college hoops coverage http://sports.yahoo.com/
What am i doing wrong? (2 replies, VIP)
ASPFriends.com 'aspngcontrolscs' list
i have a problem that is driving me insane I'm not sure that I'm doing wrong I know that the error message suggests that the assembly reference is missing but the reference is not missing and its inside the private store I have a custom composite control that I've written called DataList, when I try to use the control inside a page that Is using the CodeBehind @Page directive I get the following e...
Beta testers requested (3 replies)
ASPFriends.com 'aspngcontrolscs' list
I have a new control that I'd like to open up to beta testing. It provides a Windows wizard style UI for webforms. It requires the installation of the Microsoft IE Webcontrols ( for the MultiPage and PageView controls ) Anybody who wants to help test it, please email me offlist. I will send you the dll and a help file, containing an example page. once the control is ready, I plan on releasing it (...
Putting Quickstart tutorial's C# Pagelet2.aspx in CodeBehind (2 replies)
ASPFriends.com 'aspngcontrolscs' list
Hi, I have a very simple question. I want to convert the code of the "C# Pagelet2.aspx" from Inline with ASP to Code Behind. The problem is that I don't know how. How do you tell the CodeBehind that there's a Web User Control called "MyMessage" on the page? By knowing how to do this, I'll be able to create myself a "Menu" Web User Control. This Menu Control would then accept methods like "Add(Text...
ParseChildren Attribute (2 replies, VIP)
ASPFriends.com 'aspngcontrolscs' list
Take the following control structure: mainobject subobject subsubobject /subsubobject subobject mainobject The mainobject has the ParseChildren attribute set to true. The subobject uses a ControlBuilder and has the ParseChildren attribute set to false. The subsubobject also has the ParseChildren attribute set to false. However, both of the subobjects are being parsed as if the ParseChildren attrib...
HowTo make Dropdown COMBO (2 replies)
ASPFriends.com 'aspngcontrolscs' list
The .NET dropdown list server side control allows positioning within the list by typing the first character. I suspect that this does not require a trip to the server. Is there any way to write a dropdown COMBO that gives you a text area to type as many characters as you want to match in the list? It's like the Index in Help. Obviously, you wouldn't want a round trip to the server every time you t...
Designer for collection property (4 replies)
ASPFriends.com 'aspngcontrolscs' list
Sorry for the previous post...I clicked a bit too fast... Hi, I want to make a designer in the vs.net ide to let me design my custom collection visually... I have a component (a sample from the vs.net help the source of the sample is at the end...) that has a collection that gives a list of employees. for the moment, I can add employees in the aspx file by hand like the following: custom:Collectio...
Event wireup (2 replies)
ASPFriends.com 'aspngcontrolscs' list
I have a control that functions differently when it is implemented in a page with codebehind, and when it is implemented in a single ASPX file. All the events are wired up correctly (auto in the codebehind scenario, manually in the other scenario), but what is different between these two scenarios is some state information in the ViewState. The ViewState data is accessed successfully by the codebe...
User Vs. Server Controls (2 replies)
ASPFriends.com 'aspngcontrolscs' list
Hello, I've currently created a user control to prototype some ideas that I've had. Over the next week or so I will be adding significant functionality to the control. The questions I have are: 1. What are the key differences/benefits of user or server controls. 2. Server controls are more difficult program, is it worth taking that extra time to code the control as server control. This control wil...
Control Code Review required (5 replies)
ASPFriends.com 'aspngcontrolscs' list
I am part way through developing my first major composite control and whilst it works reasonably well, I suspect that it may not be structured correctly. The reason for thinking this is that if I manually add it to a page, it works OK, but if I add it to my toolbox and then add it to a page I get a 'Error Creating Control' message. Would any of you here be willing to take a look at the code to see...
Control Name (3 replies)
ASPFriends.com 'aspngcontrolscs' list
Hello, I have a user control implemented like this: %@ Register TagPrefix 3D"MyCompany" TagName 3D"Content" Src 3D"control v1.ascx" % MyCompany:Content runat 3D"server" / Inside the ASCX how do I get the Tagprefix and Tagname of the control? TIA Seth Berger sberger@estco.net
Designer for collection property on IExtenderProvider: even harder :) (2 replies)
ASPFriends.com 'aspngcontrolscs' list
Hi, me again... sorry to bother you with my design time support... for now Vandala helped me out perfectly to make my collection appear at design time in the propeties window. Great. What I want to do now is provide an additional collection property to the components on a page in the form of an IExtenderProvider... such a property is not working exactly like a normal property. So I don't know how ...
Probs with Server Control dynamically building table (8 replies)
ASPFriends.com 'aspngcontrolscs' list
I have a Server control that displays a table containing several server form controls. So far it is working fine, except it seems to render the table within span tags, whereas other controls that I have done that render html aren't within span tags. Is there any reason why this is happening? Is there any way to avoid it? Cheers, Julian Voelcker The Virtual World (UK) Limited Cirencester, United Ki...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com