ASPFriends.com 'aspngcontrolscs' list Archive - May 2002
Messages
Page: 1
Unable to generate code for a value of type 'System.Data.DataSet' exception (2 replies)
ASPFriends.com 'aspngcontrolscs' list
Well... I've posted a couple of pretty simple (dare I say dumb) questions recently, thanks Vandana for answering the last one. Hopefully this one is a little less of a flop !! I've created a control with a property of type DataSet. It compiles fine. It works fine in the designer. ie when added to a web page, after creating a dataset, I can select the dataset for my DataSource property. However whe...
Order is important in CreateChildControls (2 replies)
ASPFriends.com 'aspngcontrolscs' list
I had struggled with the following issue for a while and have received an answer from Microsoft (very quickly too!) I though you might appreciate the knowledge. A ListBox control restores its Items list automatically on Post Back when that control is declared directly in the ASP.NET code. So you can write: script protected void Page Load() { if (!IsPostBack) { MyList.Items.Add("Item1"); MyList.Ite...
Capturing postback events in a custom control rendering <Input type=image> (2 replies)
ASPFriends.com 'aspngcontrolscs' list
Hi all.... The code below doesn't work, RaisePostBackEvent never gets called. If I change the type from image to submit it works fine, there's only a problem when the type is set to image. I've also tried implementing the IPostBackDataHandler interface instead, also with no luck. I'm just not understanding whats going on here as the Webcontrols.Imagebutton renders almost identical html and it seem...
Can I stop this behavior (3 replies)
ASPFriends.com 'aspngcontrolscs' list
I have a custom control that inherits from the datagrid. As part of my control, I add an EditCommandColumn in my controls Init event (I also set a bunch of default properties in my controls constructor). If I just leave all of the default properties alone, everything works fine. Here is what the code looks like: TAN:TABLEEDITOR id &quot;myte&quot; PageSize &quot;7&quot; MaxStringLength &quot;100&quot; runat &quot;server&quot;/ However, ...
Error in Design View (4 replies)
ASPFriends.com 'aspngcontrolscs' list
I have built a composite control with one of its properties as an ArrayList. It works well except in Design View. Sample: public class MyControl : Control, INamingContainer { private ArrayList ArrayList new ArrayList() public ArrayList myArrayList { get {return ArrayList; } } } myArrayList is a container for this class: public class ColorHolder { private Color color Color.Empty; public Color myCol...
Implementing a control with child controls (2 replies)
ASPFriends.com 'aspngcontrolscs' list
Hello, people: I'd like to implement a control called, for instance, &quot;ParentControl&quot;, which in turn has a property called &quot;ChildControls&quot; that represents a collection (called &quot;ChildControlCollection&quot;) of a control called &quot;ChildControl&quot;, so that, when I add ChildControls to the ParentControl's ChildControls property through the VS.NET dialog box, those ChildControls appear as nested tags between th...
C# component and ASP 3.0 (2 replies)
ASPFriends.com 'aspngcontrolscs' list
Moved from [aspngfreeforall] to [aspngcontrolscs] by Clint Barton hawkeye@aspelite.com I need information and tips about create a C# component and use it from ASP 3.0 aplication. Thanks, Lucas
Child Controls Processing (3 replies, VIP)
ASPFriends.com 'aspngcontrolscs' list
I have a control that wraps around other controls: CN:ParentControl runat &quot;Server&quot; SUB:ChildControl runat &quot;Server&quot; / SUB:ChildControl runat &quot;Server&quot; / SUB:ChildControl runat &quot;Server&quot; / /CN:ParentControl Under certain conditions in ParentControl I set its visibility to false, which of course hides the other three controls. This is the desired effect. When I look at the control tree using Trace, I c...
hi guys (2 replies)
ASPFriends.com 'aspngcontrolscs' list
where I can obtain examples of customized server controls? sorry by grammatical syntaxis i'm peruvian with bad english, sorry Atte. Daniel Chavez B RoyalSystems SAC
control question (3 replies)
ASPFriends.com 'aspngcontrolscs' list
Copied from [aspngfreeforall] to [aspngcontrolscs] by Tim Musschoot Tim.musschoot@rug.ac.be Hi, I have created a few of my own user and custom controls and have discovered through msdn how to created databound templated controls. What I would like to know is how to create a control/class similar to ListItem where free text can go in between the open and close tag. ie blah:CustomListItem value 3D&quot;1...
DataList - Embedded Controls (2 replies)
ASPFriends.com 'aspngcontrolscs' list
Hi, I am interested to know how I can manipulate the properties of web form controls embedded in the header template of the datalist. I have a datalist that has label controls in the header template that i would like to change the text of according to the querystring. I am able to access all the web from controls on the page but not in the datalist control. I really have no idea where i should beg...
@Page (8 replies)
ASPFriends.com 'aspngcontrolscs' list
Can I add my own properties to the @Page directive? I have some custom per page configuration I want to be able to specify in the aspx file and this would be a great place to do it. Ollie http://www.RichTextBox.com The easy way to add formatted text editing to your ASP.NET web site
Search as you type combo box? (7 replies)
ASPFriends.com 'aspngcontrolscs' list
This ? is for Andy Smith, chief code monkey. (or anyone else that knows) I saw your post asking how your cs combobox control @ http://12.255.177.172/ComboBox.html looked. I will attempt to describe it as OK, a bit skinny and the drop down arrow was a bit larger than the height of the text. However, the functionality is excellent and it is time someone created a combo box that has the Access like s...
error en aspnet control (2 replies)
ASPFriends.com 'aspngcontrolscs' list
hi guys: i'm problem in aspnet control: tengo un problemilla al hacer un aspnet control, mi control es: MiPrimerControl.cs using System; using System.Web; using System.Web.UI; namespace pruebas { public class MiPrimercontrol : Control { protected override void Render(HtmlTextWriter writer) { writer.Write(&quot; h1 Control ASP.NET Desarrollado en C# /h1 &quot;); } } } mi pagina es: %@ Register TagPrefix &quot;cc&quot;...
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification