microsoft.public.dotnet.framework.aspnet Archive - February 2002
Post a message to this list
Messages
Page: 1234567891011121314151617181920
212223242526272829
click column for selection (2 replies)
microsoft.public.dotnet.framework.aspnet
I'd like to allow the user to select a row by clicking any column, rather than having a specific selection column. I did see an example on http://msdn.microsoft.com/library/default.asp?url /library/en us/dn voices w ebmen/html/webteam11062001.asp however, that selecteditemstyle never applies to the selected row. Any advice please?
Exception Vs Errors (3 replies)
microsoft.public.dotnet.framework.aspnet
Hello, I just want to know what the difference is between Exception and Err object. Also, i see that Exception does not provide any number attribute unlike Err.Nnmber in VB. So, how do we suppose to raise an exception for a business rule violation which are usually implemented by specifing err.number in VB6 and dislaying a user friendly message fromt the database. I looked at Microsoft Application...
Putting new tabs to the tabstrip programmacly. (2 replies)
microsoft.public.dotnet.framework.aspnet
Hello, I want to put new tabs to the tabstrip programmacly with C# using code behind. Does anybody have an example or idea how I can do this? Thanks Mark Nijhof
Where to save user files on asp server. (2 replies, VIP)
microsoft.public.dotnet.framework.aspnet
We have a website that allows clients to create templates for generating reports. The template is used to gather data from databases and logs. The template is stored as an xml file. My question, being fairly new to web programming and .net, is what is the proper location to store these files. Currently we store them alongside the files the server uses in our web site directories. I am considering ...
Web Application Deployment (2 replies, VIP)
microsoft.public.dotnet.framework.aspnet
Hi, is there anybody who can tell / give links, step by step, deploy and Web Application to a live server. The applicaiton contains custom writen .Dll's and Third Party assemblies? Your help will be much appreciated ... Adriaan
Events for dynamically created controls, Possible? (2 replies)
microsoft.public.dotnet.framework.aspnet
I have been struggling with this for a while and still cannot figure out how to make it work. Is it possible to define events that will fire in codebehind for dynamically created controls? Is there an example or a reference somewhere? Thanks
ASP.Net Caching - looking for help on caching business objects, not page content... (6 replies)
microsoft.public.dotnet.framework.aspnet
Hello I wasn't quite sure which subgroup was most appropriate, so I am posting this in three places. Any help on the following would be greatly appreciated!! We are currently working on architecting an application using a Sql Server 7, 2000, or 2002 Database, business objects written in C# and compiled into assembles and ASP.Net for the presentation layer. The expectation that we have is to utiliz...
making datagrid skip a row (6 replies)
microsoft.public.dotnet.framework.aspnet
I have a datagrid that is displaying rows from a datareader. The datareader is created and bound to the datagrid in the codebehind. Is it possible to have the datagrid skip rows based on some criteria. in my case, I have a boolean function. The function takes the id field of the table being displayed in the datagrid. What I want to do is have the datagrid display the row if the function returns tr...
Timing download of XML (2 replies, VIP)
microsoft.public.dotnet.framework.aspnet
I want to write some code that will pull an xml file over the Internet and then display portions of it on different pages. The problem is, I don't want to have to pull this xml file for each page request for each user. I would like to limit the download to 'at least' once per minute. The only was I can think of to do this so far is to create an Application variable and store the time it was downlo...
Web.config question (5 replies)
microsoft.public.dotnet.framework.aspnet
Does anyone know how to access the sessionState sqlConnectionString property in the Web.config file for an ASP.NET app? Any help is appreciated.
Accessing the Active Directory (7 replies)
microsoft.public.dotnet.framework.aspnet
Our app needs to query the Active Directory for a list of users within the domain the app is running on. Is anyone aware of how to accomplish this? We're using C# if it matters. Thanks, Randy
Communicating between code behind classes (5 replies)
microsoft.public.dotnet.framework.aspnet
I have what probably is a stupid question but here we go... Let's say I have the following setup: default.aspx usercontrol1.ascx default.aspx.vb usercontrol1.ascx.vb Default.aspx is inserting usercontrol1.ascx into its page. Is there any way for a method in usercontrol1.ascx.vb to modify properties in default.aspx.vb? Here's what I'm trying to do: I have a default.aspx page that has a choice betwe...
Security and User Information (4 replies)
microsoft.public.dotnet.framework.aspnet
Hi, How can I find out to what groups a logged on user belongs to? I know that from User.Identity.Name, you can get the user name. How about the groups he belongs to? How can I do this by reading the WinNt directory? Thanks theo.
Repeated System.NullReferenceException when using User Control (2 replies)
microsoft.public.dotnet.framework.aspnet
Aloha kids, here is my question: I have created a simple C# user control that imports a few namespaces for database access and sets a property to true or false based on whether Session.IsNewSession is true or not. I place the control in my page and then in the Page Load attempt to read the parameter that is set by the Page Load event of the control. This works ok the first time I view the page, an...
Excention Vs Err (6 replies)
microsoft.public.dotnet.framework.aspnet
Hello, I just want to know what the difference is between Exception and Err object. Also, i see that Exception does not provide any number attribute unlike Err.Nnmber in VB. So, how do we suppose to raise an exception for a business rule violation which are usually implemented by specifing err.number in VB6 and dislaying a user friendly message fromt the database. I looked at Microsoft Application...
How to change column titles in DataGrid (2 replies)
microsoft.public.dotnet.framework.aspnet
How can you change the column titles (headertext) in a DataGrid control when using the AutoGenerateColumns property? Thanks, Tim
Impersonate (6 replies)
microsoft.public.dotnet.framework.aspnet
Hi I have tried code from Dave Grundgeiger (Ref: http://aspn.activestate.com/ASPN/Mail/Message/DevelopMentor dotNET/752886) to impersonate an account programmatically. After using the LOGON32 LOGON NETWORK to replace the LOGON32 LOGON INTERACTIVE, there is no complain impersonating the user. Then I try to access file that use NTFS security and only the authorised user has the access. I get: "You a...
DataList Control (2 replies)
microsoft.public.dotnet.framework.aspnet
Can you customerize the page size of a DataList Control like a DataGrid? e.g. to show a 20 row record in a DataGrid, you can set the datagrid to display only 5 records a page in 4 pages. i went thru all the properties in the datalist control, seems to be there's no direct way to do it, is there any alternative solution? thanks
TIme zone (3 replies)
microsoft.public.dotnet.framework.aspnet
Let say, I hosted my web on a server which locate in England, and of coz the time zone will set as GMT. And inside of my web, i have to insert a server time into the access file on every log. and the problem is, most of the user which access the web is not locate in that country, So, how can i log the time with user's local time zone instead of GMT. for example GMT 6 without changing the server ti...
REPOST: returing inserted data from a DataAdapter (3 replies)
microsoft.public.dotnet.framework.aspnet
REPOST: I'm still struggling with this. Can anyone offer assistance? Microsoft? Is my approach incorrect? Should I be using a Command object instead of a DataAdapter? I have a simple example where I'm inserting into a table using a DataAdapter. I've prepared my DataAdapter, my DataSet, and my InsertCommand, and so I call: myDataAdapter.Update(dsData, strTableName) Return dsData What I expect back ...
Web Service Problems with new release. (2 replies)
microsoft.public.dotnet.framework.aspnet
I have installed the final release of the Framework on our server. I have installed the new release of VS on my machine. I am trying to create a web service on the server. When I attempt to browse the web service I get the following error: CS1595: 'System.Runtime.CompilerServices.CompilerGlobalScopeAttribute' is defined in multiple places; using definition from 'C:\winnt\microsoft.net\framework\v1...
Add BoundColumn to Datagrid at Runtime? (3 replies)
microsoft.public.dotnet.framework.aspnet
I am trying to load a datagrid and bind it at run time. I need to programatically add 4 Bound Columns and set their datafield. Any ideas? Corbin
Casting Error (3 replies)
microsoft.public.dotnet.framework.aspnet
Can someone explain to me why the below casting doesn't work? I took the out of online help and it won't run, it compiles, but won't run. private const String SH SETTINGS "SHSettings"; IDictionary shSettings (IDictionary)ConfigurationSettings.GetConfig( SH SETTINGS ); I receive the following error: Specified cast is not valid. Description: An unhandled exception occurred during the execution of th...
Help, Anyone ever see this message before? (2 replies)
microsoft.public.dotnet.framework.aspnet
Specified cast is not valid. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidCastException: Specified cast is not valid. Source Error: An unhandled exception was generated during the execution of the current web reque...
Serious problems with the Cookies collection (5 replies)
microsoft.public.dotnet.framework.aspnet
I'm really frustrated with this surely the Cookies collection is not so fragilely dependent on an actual cookie that it can blow up over this? Page won't compile all I get is 'value' is not a member of 'String' for attempting to Response.write a cookie if I were writing in C for ISAPI? OK but in RAD I shouldn't be facing this over a cookie! input type "text" name "fJobName" value " % Request.Cooki...
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