Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
all groups > asp.net building controls > recent posts

RE: Many   characters added to markup
Posted by Neil8Ken at 4/23/2008 3:38:01 PM
This question was replaced by another question since the non-breaking space characters were not posted within the text. "Neil8Ken" wrote: > We are experiencing a serious problem with custom server controls in the web > designer of VS2008. When we perform an action within the designer that ...more >>


Non-breaking Spaces Added to Markup
Posted by Neil8Ken at 4/23/2008 3:35:02 PM
(NOTE: In the first attempt to post this issue the non-breaking space characters were replaced with spaces) We are experiencing a serious problem with custom server controls in the web designer of VS2008. When we perform an action within the designer that causes the markup to be updated, th...more >>

Many   characters added to markup
Posted by Neil8Ken at 4/23/2008 11:32:00 AM
We are experiencing a serious problem with custom server controls in the web designer of VS2008. When we perform an action within the designer that causes the markup to be updated, there are many characters and spaces inserted in between the tags of the server control. For example: <cc1:T...more >>

Re: IPostBackEventHandler
Posted by Brian Hartsock at 4/22/2008 10:35:49 AM
On Mar 21, 1:32 pm, "ggeshev" <gges...@tonegan.bg> wrote: > Hello! > > I am building a Webcontrol. > > public class MyCustomControl : WebControl, IPostBackEventHandler, > IPostBackDataHandler { > ....... > > void IPostBackEventHandler.RaisePostBackEvent(string args) > { > Ra...more >>

passing a gridview selected value
Posted by jonefer at 4/18/2008 2:13:01 PM
I'd like to use the selected value from particular column of a gridview to determine a 'parameter' for another gridview control's dataset. Setting the dataset, is not the problem. getting the descrete value is... I thought it would be as simple as this (below)- just as to confirm the valu...more >>

check validity of a controls property at compile time
Posted by Merrycoder at 4/17/2008 4:51:01 AM
I'm trying to check the validity of a server controls property at compile time. Let's say I have my control embedded in a page like so: <cc1:MyControl ID="MyControl1" TheObject="<%# oPerson %>" PropertyName="FirstName" runat="server" /> The control's property references the page level obje...more >>

Re: Dropdown box stopped working
Posted by Nathan Sokalski at 4/16/2008 2:55:35 PM
Glad you found the problem. I don't believe I ever suggested using just one UpdatePanel (if I did, I apologize for the misunderstanding). What I was suggesting was that you use one UpdatePanel for each area that you may at some point want updated independently, and anything that you want to tr...more >>

Re: Dropdown box stopped working
Posted by Nathan Sokalski at 4/16/2008 1:29:48 AM
What is it that you are expecting to happen when the user makes a new selection from the DropDownList? I noticed that you do not have any Triggers specified for the UpdatePanel, which means that only the child controls of the UpdatePanel will trigger a callback. The DropDownList should still ...more >>



Re: Dropdown box stopped working
Posted by jonefer at 4/15/2008 10:59:00 PM
I found the problem. I accidentally used my Dropdownlist as a trigger for one of those Popup panels. The trigger for those popup panels is just supposed to be the gridview on the panel. This prevents the popup from disappearing during the postback. I had to make 11 of those, and I accident...more >>

Re: Dropdown box stopped working
Posted by jonefer at 4/15/2008 7:25:00 PM
Ok, thank you... I tried to paste all of it, but I got an error saying the post could only take so much. So here are two sections The section that has the dropdown list - "cmbPCP" is as follows <td style="font-weight: bold; font-size: x-small; width: 67px; color: black; font-family: ...more >>

Re: Dropdown box stopped working
Posted by Nathan Sokalski at 4/15/2008 5:50:10 PM
I would post as much of the *.aspx file as you think necessary, and the code inside the Init, Load, and SelectedIndexChanged event handlers, and anything else you think might be significant. This may be a lot of code to post, but you're not the first person to need to post a lot of code to a n...more >>

GC.Collect() not cleaning memory, how to find out what references to lots of memory still exist?
Posted by DR at 4/15/2008 2:03:16 PM
GC.Collect() not cleaning memory, how to find out what references to lots of memory still exist? When all my processign is done i set everything to null and then: GC.Collect(); and then GC.WaitForPendingFinalizers(); but it still shows that my process takes 400 MB of memory. Is there any ea...more >>

Re: Dropdown box stopped working
Posted by jonefer at 4/15/2008 1:11:04 PM
Yes. AutoPostBack is set to True. No. The DropDownlist called (cmbPCP) is not inside an update panel. It used to be. (but I changed it in design)- maybe the 'source' aspx doesn't match for one reason or another... can you look at this code? How can I send it to you... it's too large for t...more >>

Re: Dropdown box stopped working
Posted by Nathan Sokalski at 4/15/2008 12:25:53 PM
Do you have the AutoPostBack property set to True (or is that what you meant by 'enable postback')? Also, is the DropDownList inside an UpdatePanel (and if it is, what values do you have for the UpdatePanel's properties)? These are the only things that come to mind for me to check based on wha...more >>

Dropdown box stopped working
Posted by jonefer at 4/15/2008 7:08:01 AM
Can anyone please suggest things can cause a dropdown box to stop causing a postback? (besides unchecking the 'enable postback' box) One of the last things I was doing was creating modalpopup extender panels which which use update panels that refer to the dropdown box... but I have wracked...more >>

How to suppress Response from within a control?
Posted by Ahmet Gunes at 4/14/2008 2:26:15 AM
Hello, I am developing a custom control. From within this control, maybe during/before rendering, I want to totally clear the response content and only render this control's output. When I use Response.Clear() and/or Response.ClearContent() and/or delete controls from the Controls collectio...more >>

Dart's LiveControls
Posted by Ahmet Gunes at 4/13/2008 12:08:46 PM
Hello, Any idea on how those people at Dart (http://www.dart.com/pwlc.aspx) develop those LiveControls? Thanks, Ahmet ...more >>

Dart's LiveControls
Posted by Ahmet Gunes at 4/13/2008 12:08:01 PM
Hello, Any idea on how those people at Dart (http://www.dart.com/pwlc.aspx) develop those LiveControls? Thanks, Ahmet ...more >>

PerformanceCounterCategory.Create() takes 3 minutes to add a new category!! How come? What can cause this?
Posted by DR at 4/10/2008 12:25:09 PM
PerformanceCounterCategory.Create() takes 3 minutes to add a new category!! How come? What can cause this? ...more >>

TypeConverter for a StringCollection or a Generics list
Posted by Imar Spaanjaars at 4/8/2008 12:20:00 AM
Hello everyone, I am trying to write a TypeConverter for a property of type StringCollection or List<string> that I want to persist as a comma separated value in my own server control. E.g. in markup I want to be able to use this: <isp:SomeControl Value="1,2,3" runat="server" ID=MyControl"...more >>

Details Window (Popup)
Posted by jonefer at 4/3/2008 7:19:00 PM
I know how to populate a gridview, and hopefully a silly question, -- but how do I create that 'unsizeable', 'no url-' Webform to put my gridview in? and open as a separate popup Window? ...more >>

Re: INamingContainer and ClientID for nested Composite Controls - Guidance needed
Posted by Peter Bucher [MVP] at 4/1/2008 1:59:52 PM
Hallo Greg You can use a simple trick to not render ClientIDs. - http://translate.google.com/translate?u=http%3A%2F%2Fwww.aspnetzone.de%2Fblogs%2Fpeterbucher%2Farchive%2F2008%2F02%2F24%2Fein-webcontrol-das-keine-clientid-rendert.aspx&langpair=de%7Cen&hl=de&ie=UTF-8 (Translated -> Englisch)...more >>

Internet - Take Advantage of Multiple Windows When Surfing
Posted by Visitbazaar Info at 4/1/2008 1:37:04 AM
-- Internet - Take Advantage of Multiple Windows When Surfing SUMMARY: Stop jumping back and forth between index pages by using several browser windows. Why use one web browser window when you can have multiple? If you have an adequate amount of memory, open up several web browsers t...more >>

RE: Error when Load control dynamically with LoadControl
Posted by Stephane at 3/30/2008 7:39:01 AM
Solved. I added this to the aspx page where I use the control: <%@ Register Src="ucPubDetails.ascx" TagName="ucPubDetails" TagPrefix="uc" %> <%@ Reference VirtualPath="~/mining/ucPubDetails.ascx" %> Steph "Stephane" wrote: > Hi, > > I have created a user control (ASP.NET 2.0) in...more >>

Error when Load control dynamically with LoadControl
Posted by Stephane at 3/30/2008 5:29:00 AM
Hi, I have created a user control (ASP.NET 2.0) in the folder "mining" of my project. There's no namespace by default, but other aspx pages are in the namespace iMinr.mining. The declaration of this user control goes like this : public partial class mining_ucPubDetails : System.Web.UI....more >>

Re: IPostBackEventHandler
Posted by Tony at 3/27/2008 12:19:26 AM
I think IPostBackEventHandler only work when you implement in Page control. "ggeshev" <ggeshev@tonegan.bg> wrote in message news:%23YiTvm3iIHA.944@TK2MSFTNGP05.phx.gbl... > Hello! > > I am building a Webcontrol. > > public class MyCustomControl : WebControl, IPostBackEventHandler, > IPo...more >>

Re: asp.net question
Posted by Anthony Jones at 3/26/2008 9:39:22 PM
"Chris" <900606900@linetor.net> wrote in message news:%23fzWj20jIHA.5280@TK2MSFTNGP02.phx.gbl... > Hello > Does anybody know how i can open a project done in asp.net 2.0 in asp.net > 2003 version?. Thanks > Create new 2003 asp.net project in the root folder of the asp.net 2.0 app. Tell i...more >>

asp.net question
Posted by Chris at 3/26/2008 3:28:10 PM
Hello Does anybody know how i can open a project done in asp.net 2.0 in asp.net 2003 version?. Thanks ...more >>

Re: HTML CODE
Posted by David R. Longnecker at 3/25/2008 8:51:13 PM
Chris- In your new projects, well, more specifically the server you are publishing to, be sure that SSI (server side includes) are enabled. The HTML syntax should look like <!-- #include file="head.txt" -->. A quick Google of "ssi" landed me here: http://www.georgedillon.com/web/ssi.sh...more >>

Re: Using paths that include ~
Posted by David R. Longnecker at 3/25/2008 8:46:47 PM
Nathan- You can mix and match various properties of HttpContext and Request. Rick S. has a nice list of the various properties on his blog at http://www.west-wind.com/weblog/posts/269.aspx. I've referenced that page a few times just to remember which did what. ;) There's also a part at t...more >>


DevelopmentNow Blog