ASPFriends.com 'aspngcontrolscs' list Archive - April 2002
Messages
Page: 1
Reading web.config at design time (3 replies)
ASPFriends.com 'aspngcontrolscs' list
With no the context information available I'm thinking it's probably not possible to read a section of the web.config file at design time (from within a custom designer) ? Is this correct ? If not how is it done ? Michael Lang MS .NET Developer Ph: 0417 498 620 www.michaellang.com.au
Announcing the C# Stringbuilder Utility (4 replies)
ASPFriends.com 'aspngcontrolscs' list
If you need to output raw HTML or Javascript blocks from inside your C# code its often useful to use the stringbuilder class. Unfortunately escaping all the characters in Javascript and HTML can be quite time consuming and error prone process, especially if you are constantly updating the javascript code. The C# StringBuilder utility should help with that. Paste in your raw HTML or Javascript and ...
HtmlGenericControl (2 replies)
ASPFriends.com 'aspngcontrolscs' list
Is there any way to persuade an HtmlGenericControl to render itself like this: tagname attribute "value" / instead of like this: tagname attribute "value" /tagname ? Ollie
Changing properties from codebehind during postback (3 replies)
ASPFriends.com 'aspngcontrolscs' list
I have a control in which I want to be able to set properties both in the ASPX and from codebehind, both on the initial page load and ALSO during postbacks from codebehind. The standard behaviour is that during postbacks changes to properties in codebehind are not reflected. My understanding is that this is because the event sequence means the property set method is hit too late in the cycle (the ...
Hiding class from "Customize toolbox" (4 replies, VIP)
ASPFriends.com 'aspngcontrolscs' list
Hi, Is it possible to mark a class as "non appropriate for Toolbox" ?. Normally all controls in an assembly go to Toolbox when you customize Toolbox. It is inconvenient to "uncheck" them one by one, especially if you are not the author. TIA, Kuba Artur Jakub Jerzak Instytut Maszyn Matematycznych Krzywickiego 34 02 078 Warszawa tel. 621 84 41 w 465
Controls and Framesets (3 replies, VIP)
ASPFriends.com 'aspngcontrolscs' list
I'm creating a messaging/bulletin board system that primarily consists of two frames a listing of messages at the top and a message viewer/editor at the bottom. I have already created a working model using code behind and now want to convert it over to being a control and would be interested to know the views of the panel here. 1. Firstly, can a single control being used on both the pages pass var...
Building a databound Control with rows (8 replies)
ASPFriends.com 'aspngcontrolscs' list
Hi, I've created an editable grid which allows the users to add new rows (using a Postback) on the the fly and save this information back to the database. I pretty much have my control like the one in the Docs for Creating a DataBound Templated control. Here is how I would like things to work: 1. The user adds new rows (this works) 2. They hit save and the information is stored to the database (wo...
Best practices for minimising ViewState (3 replies)
ASPFriends.com 'aspngcontrolscs' list
Does anyone out there have any tips for how control developers can generically keep control state whilst keeping the use of ViewState to an absolute minimum ? Using ViewState to record a control's settings seems to quickly become very costly in terms of the page load times/HTML byte sizes. The documentation seems to suggest that if you have properties or other state data that can be altered at run...
A Strange Problem with ParseControl Method (4 replies, VIP)
ASPFriends.com 'aspngcontrolscs' list
Hi all, I have a problem with ParseControl method. When I use it to parse a string to control it throws an exception: A NULL value was referenced I tried the MSDN example and I got the same result. My code is very simple. In a PageLoad of a webform I have written: private void Page Load(object sender, System.EventArgs e){ Button b1 (Button) ParseControl(" asp:button runat \"server\"/ "); b1.Text "...
Custom control ViewState problem within a DataList (3 replies)
ASPFriends.com 'aspngcontrolscs' list
I have a simple control, which inherits the Button Webcontrol and sets it text to the number of times it's been clicked. When added directly to a webform it seems to function perfectly. However if it is included within a DataList there are problems. Firstly the text on the button is not being set. Secondly from inspecting the ViewState in the debugger after each round trip it seems the entry that ...
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