Groups | Blog | Home


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
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
May 2008
June 2008
all groups > asp.net > november 2007 > threads for tuesday november 6

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

Webresource script not embedded? not working.
Posted by zb at 11/6/2007 11:21:49 PM
I have my code directory structured this way App App\Pages <- contains ASPX files App\Pages\Common App\Pages\Common\Controls <- has user controls App\Pages\Common\Controls\SupportingJS <- has .js script files located here THe .js file is marked as embedded resource in VS. Rootname space ...more >>


Link in BulletedList from Code
Posted by Jonathan Wood at 11/6/2007 10:59:40 PM
I have a master page that contains a BulletedList. <asp:BulletedList runat="server" id="mainmenu" CssClass="nav"> </asp:BulletedList> In my page's Load event, I'm populating the bulleted list based on the role of the current user. Right now, my test code looks like this: for (int ...more >>

javascript to call on MasterPage onload
Posted by faraz at 11/6/2007 9:14:08 PM
I have a javascript function that i want to call masterpage load method called. I cant add onLoad event of body or table in master page. I have put the call to script function in <form>, it works on every pageLoad. seems my problem is solved. But when the pages uses UpdatePanel and it gets as...more >>

Generated JavaScript vs. Manually Created JavaScript: Which one comes first?
Posted by Nathan Sokalski at 11/6/2007 7:57:55 PM
There are many cases in which I want to use the same event for manually added JavaScript as one that is used for generated JavaScript. For example, when I set the AutoPostBack property of a TextBox to True, the JavaScript onchange event is used. However, I may want to execute a piece of JavaSc...more >>

popup window: Return value to correct text box?
Posted by Mel at 11/6/2007 6:28:56 PM
Hi! I have two text boxes and two image buttons. When I click image button 1 or 2 the same popup window is displayed (using 'window.open' method). When I click image button 1 the returning data from the popup window is placed in text box 1 on the parent form. When I click image button 2 the...more >>

Is possible to be done?
Posted by Paulo at 11/6/2007 4:43:21 PM
Hi, Im converting a asp classic system to asp.net, but how can I do a table wich lists 3 columns having inside a picture coming from a db access ole field... ? if the sql instruction returns for example 4 records, the first 3 will stay on 1st line filling the 3 columns, and the fourth recor...more >>

EnsureChildControls
Posted by shapper at 11/6/2007 4:42:57 PM
Hello, I am creating a custom control and I have the following: Protected Overrides Sub CreateChildControls() With MyBase.Controls .Add(Panel1) .... End With MyBase.CreateChildControls() MyBase.EnsureChildControls() Me.ChildControlsC...more >>

Clear a GridView's innerHTML from the server?
Posted by pbd22 at 11/6/2007 4:14:06 PM
I have a gridview with only <column> </column> inside it. Everything gets filled dynamically. When the user logs out, I want everything inside the Gridview's <column> tags cleared out. How do I clear the column tags inside the gridview tags on logout? I am using ASP.NET 2.0/C# Th...more >>



register VB6 DLL...
Posted by Billingsley at 11/6/2007 2:23:46 PM
I have a folder in a website that contains a lot of VB6 DLLs that I want registered. What are some ways to go about this so I can CreateObjects from these DLLs? Registering them with regsvr32 is a pain. TIA. ...more >>

session variable getting lost
Posted by SAL at 11/6/2007 2:15:07 PM
Okay, don't bash me to hard for my design on this app, it's my first web app and it's in production. My basic design is using Datatables created via the designer with a business logic class in between the datatable and ObjectDataSources. In one page I had a Gridview with select enabled. When a...more >>

FileUpload control
Posted by David C at 11/6/2007 2:05:55 PM
Is it possible to upload multiple files using the FileUpload control? It appears to only handle 1 at a time. Thanks. David ...more >>

ASPNET does not have write access ... tried everything?
Posted by SandpointGuy at 11/6/2007 1:16:03 PM
Yesterday I was working with an asp.net 2.0 app. Today is a nightmare - I can only get a "The current identity (LLCA1-ITE51218\ASPNET) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'" message. Ive reinstalled the mappings (aspnet_regiis),...more >>

Example for dynamically added controls
Posted by Konrad Hammerer at 11/6/2007 12:08:46 PM
Hi! Can somebody tell me or show me an example how to add a textbox and a button dynamically by code to an apsx page and how to read the filled in value from the textbox after the user has clicked the button? I have tried this without success because after the user has clicked the button...more >>

download ODBC question
Posted by Jason Huang at 11/6/2007 11:54:35 AM
Hi, One of my client's PC (Win XP SP2) is using ODBC 3.52, and I need to install the newer version ODBC for that client. I searched the web and execute the mdac 2.8 sp1, but it won't allow to install on that PC. Where can I get an ODBC for installing on my Windows XP SP2? Thanks for help. ...more >>

Where do the Oval buttons come from?
Posted by John Kotuby at 11/6/2007 11:30:34 AM
Cleveland? Hi all, I am writing an ASP.NET 2.0 application in VB.NET. My boss doesn't like the fact that I still use either rectangular or the default browser buttons on my pages. He says it doesn't look like web 2.0. He is correct (he's the boss). Are the now-common oval (some in 3D) ...more >>

user control performance
Posted by rodchar at 11/6/2007 11:16:00 AM
hey all, i abstracted some code from my code-behind into a user control and it seems to run a bit slower ( i notice the flicker of the postback is a tad longer). is this to be expected? what can i use to measure the time to see for sure one way is slower than the other? Note: There are d...more >>

clearing the input of a form when page is in an invalid state
Posted by Sunfire at 11/6/2007 10:33:32 AM
Hi... I have a form that i use validation controls on. I need to be able to clear the form when it is in an invalid state. How do you do this? Response.Redirect doesn't work, Control.Text="" or null doesn't work... any ideas? ...more >>

GridView - Formatting a Field
Posted by JimHeavey at 11/6/2007 9:37:10 AM
I have bound a Gridview to a DataTable. On a couple of the fields I want to not display all the characters of the field....I want to display "*" for 5 characters and then what ever are the last for characters of this particular field. The HTML code looks like the following for the field in...more >>

get element, how???
Posted by Jeff at 11/6/2007 9:30:25 AM
ASP.NET 2.0 I have a checkbox inside a table (both are asp.net 2.0 server controls) on a page. From the code I need to get access to this checkbox, so I can do some processing based on it's status. I think I first need to obtain a reference to the table and then reference to the check...more >>

Property ... what am I doing wrong?
Posted by shapper at 11/6/2007 8:35:47 AM
Hello, Let me explain it better. What I need is to make something like: Dim mc as MyControl mc.Value = "Hello" This would create a MyControl instance and would set the TextBox.Text = "Hello" Then, I would need retrieve its value through the property on, for example, a MyControl event:...more >>

Published from Win XP system with VS2005 to Win2003 system with IIS
Posted by Brent White at 11/6/2007 8:03:50 AM
I created and published a web service from my development system running XP and IIS to a Windows 2003 Standard server running IIS. When I try to access the service on the 2003 box, it keeps asking me if I want to download the file, rather than bring up the page for the service. http://195.1.2...more >>

Forced user logout in 2.0
Posted by kpg* at 11/6/2007 8:02:49 AM
Hi all, I want to perform the same action the the loginstatus control does to logout a user programatically, but I can't seem to find a 'logout' method in any of the membership classes. The user gets authenticated using the login control and the build-in database, but there are times when I...more >>

CheckChanged inside my user control
Posted by rodchar at 11/6/2007 7:21:02 AM
hey all, i'm trying to abstract some code from my current code-behind into a user control. There's a CheckChanged event from a radiobuttonlist and i was wondering if i could expose that from the user control or would it be easier to do something else? thanks, rodchar...more >>

Graphics or Bitmap to screen
Posted by rodchar at 11/6/2007 7:00:04 AM
hey all, if i have a Graphics object or Bitmap object how do i get it to display on my web page? thanks, rodchar...more >>

System.Diagnostics.Process() hangs
Posted by Saya at 11/6/2007 6:53:55 AM
Hi Folks, I have now spend app. 3 days to get the below scenario to work, but can not get there! ..Net version = 2.0.50727 Windows version = Microsoft Windows [Version 5.2.3790] = Windows Server 2003 Now I have to develop a webservice which is run on the server. The webservice will need...more >>

Hidden Panel with a ListBox and RequiredFieldValidator breaks page
Posted by EvanM at 11/6/2007 6:28:26 AM
I encountered this problem in an application that I'm currently developing. I've re-produced the problem in a simple demo. If you have a ListBox field and validate that a selection is made using a RequiredFieldValidator, and then wrap the controls in a Panel with the style set to display:none,...more >>

Recommend Community Software
Posted by NH at 11/6/2007 6:19:01 AM
Hi, I am looking for some software that allows for better and easier communication amongst company employees. Things like blogs, forums, the ability to publish news and newsletters would be important. Anyone recommend something? Community Server seems to have most things but no newslette...more >>

problem with ListItem databinding
Posted by DAXU@HOTMAIL.COM at 11/6/2007 5:05:26 AM
Hi, I got some old code from a leaving colleague and it is like this: List<ListItem> subProductGroupList = new List<ListItem>(); for (int i= 0; subProductCount < classA.Length; i++) { ListItem subProductListItem = new ListItem(); subP...more >>

Cache middle tier Object based on its properties
Posted by AjitGoel at 11/6/2007 4:44:39 AM
it is possible to cache an object based on its properties?? To give more details, I have an entity object whose different properties are set from different and expensive web services. i have some sample code down below. I want instances of object class1 to be cached for different values of a1 an...more >>

Bubble Event
Posted by shapper at 11/6/2007 4:13:26 AM
Hello, I have the following: Parent > Child > Button Parent is a custom control. Child is another custom control added to Parent. Button is an ASP.NET button added to Child control. Parent has an event named Submitted. I want to fire this event when the Button is clicked. My first ap...more >>

Repeater Control : Can it work with different data sources?
Posted by Emma Middlebrook at 11/6/2007 3:36:19 AM
Hi there, I've been trying to implement a repeater control in an ASP.NET 2 page but I can't seem to get the layout exactly how I want and I'm not sure if it's something that I am doing wrong or maybe the repeater control doesn't have the capabilities...? The page needs to display a custom n...more >>

Unable to serialize the session state
Posted by cashdeskmac at 11/6/2007 2:47:01 AM
Hi, I am getting the following error intermittently: "Unable to serialize the session state. Please note that non-serializable objects or MarshalByRef objects are not permitted when Session state mode is 'StateServer' or 'SqlServer' " I have had this when trying to attach to a runnin...more >>


DevelopmentNow Blog