microsoft.public.dotnet.framework.aspnet Archive - January 2002
Post a message to this list
Messages
Page: 1234567891011121314151617
Page inheritence: any examples? (2 replies)
microsoft.public.dotnet.framework.aspnet
Page class inheritence looks to be a really useful feature. Are there any available examples of this out there? J
Paging Loses scroll position in browser. (5 replies)
microsoft.public.dotnet.framework.aspnet
I have a data grid that starts about half way down on my web form. I got the paging to work on this data grid, but I'm running into an annoying problem where anytime a new page is requested, the page reloads to query the next page of records and the browser's scroll position is reset to the very top of the page. Is there any way to preserve the browser's scroll position with .NET?
Displaying a DataGrid with an empty dataset? (3 replies)
microsoft.public.dotnet.framework.aspnet
Folks: What stratgies are you using to display empty data grids, i.e. data grids bound to empty data sets? The default behavior is to hide the grid altogether, which is not exactly optimal for my needs. What I normally did in old ASP, was to display the header, then added a row with a message like "(No records found)" or something like that. I can think of several ways of handling this is ASP.NET,...
Forms Authentication and Absolute URLs (2 replies)
microsoft.public.dotnet.framework.aspnet
Does anyone know of any issues with using absolute URLs when linking to pages within a "Forms Authenticated" ASP.NET application? After being successfully authenticated, clicking on relative URLs to other pages within the application works fine. However, when I use absolute URLs I get redirected to the login page. Any insight would be appreciated. Thanks...
crypto help (6 replies)
microsoft.public.dotnet.framework.aspnet
I am looking for a function that can give me a random string of numbers and letters that I can use for crypto. I have tried taking a random number and running an md5 hash on it but it only gives me numbers.
Error while trying to read from Web.config custom configuration section (2 replies)
microsoft.public.dotnet.framework.aspnet
Greetings, I have followed the same code as in msdn Creating New Configuration Sections ( http://msdn.microsoft.com/library/default.asp?url /library/en us/cpguidnf/ht ml/cpconcreatingnewsectionhandlers.asp ) For defining and retrieving values from a custom defined section of the Web.config file. When I run the a test web.aspx file I get the following error Configuration Error Description: An error...
Change style of Sort anchor in Header of DataGrid (4 replies)
microsoft.public.dotnet.framework.aspnet
On my site, I have some Anchor elements that appear against a light colored background, and I have a CSS that defines their appearance, but I need to apply a different style, or class, or... to the Anchor tags in the DataGrid's header. How can I do this? I have tried setting the HeaderStyle CssStyle 'xxxx' / but that only affects plain text column heads, not the "Sort" style column heads. Having a...
Error: Unable to access CDO.Message object (2 replies)
microsoft.public.dotnet.framework.aspnet
I have a procedure in a component that emails a verification back to the user from my Web project. It used to work fine until I upgraded to the Enterprise version of Visual Studio.Net. Now it errors out when it is time to send the email and gives me an error "unable to access CDO.Message object". Does anyone have a clue as to what the problem is?
needing UI controls... (3 replies)
microsoft.public.dotnet.framework.aspnet
Are we going to get the following controls: Tab, Outlook style menu/toor bar, and Menu Bar...either from Microsoft or third party? This of course is for ASP.NET development. Thanks Roswell
System.Web.Caching.Cache (4 replies, VIP)
microsoft.public.dotnet.framework.aspnet
Is there any reason why one could not build a class that has a shared private property of type System.Web.Caching.Cache and a shared public property that allows access to a cached set of data other than that provided by the Page.Cache object? I'm trying to build a class that would allow me to access DataSet objects using cache concepts like so: MyGrid.DataSource MyCache.Products() I keep running i...
Disable all textboxes on a page? (6 replies)
microsoft.public.dotnet.framework.aspnet
I want to enable/disable all controls that post data on a page. How can I do this without including a line like txtboxname.enabled false for each control. If I do this: dim oCtrl as Control for each oCtrl in me.Controls ... next How do I tell what is a text box, what is a label, checkbox etc??? How can I set "enabled" as it doesn't seem to be a property of oCtrl ??? Barry Fitzgerald barry@barryfz....
DataGrid colum width? (4 replies)
microsoft.public.dotnet.framework.aspnet
I have a DataGrid that I populate by setting its DataSource and doing a DataBind. I cant find how to set the column widths. Anyone that would clue me in? Thanks in advance, Chris
a simple question about sql server (3 replies)
microsoft.public.dotnet.framework.aspnet
hi, i have never worked with sql server before. i installed it on my machine today but im facing some problem. when i try to connect to an instance i get an error message: "Login failed for user 'yoni v51mz0auvr\administrator'. Reason: Not associated with a trusted SQL Server connection." can someone please help me to solve the problem? thanks, yoni
Cannot get the selected Dropdownlist item in DataGrid (3 replies)
microsoft.public.dotnet.framework.aspnet
Hi all, i failed to retriveve the selectedItem of DropDownList in datagrid by using the following code, it always return the toppest (index 0) item, no matter what i selected. CType(e.Item.FindControl("ddl FieldName"), DropDownList).SelectedItem.Text Thx all! Bwai chan
DataSet data lost!? (3 replies)
microsoft.public.dotnet.framework.aspnet
Hi all, i have created a dataset and prepared to insert data manually. in Page load, i insert a datarow to dataset and binds to a DataGrid. But while i click the Edit button, the Dataset becomes empty. Please help me. in follwing is the code in edit command. Private Sub dg AdvSearch EditCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles dg AdvSea...
Where can I find tutorials for ASP.NET? (DataGrid ctrl?) (2 replies)
microsoft.public.dotnet.framework.aspnet
Are there any good online tutorials for .NET development, especially ASP.NET? In particular, I am looking for an in depth tutorial on the DataGrid control ways of customizing the columns, paging, sorting, binding to datasets, etc... Thanks.
Accessing controls in DataGrid (2 replies)
microsoft.public.dotnet.framework.aspnet
I am using a DataGrid with TemplateColumns so that each row contains a checkbox in its second column. I have a predefined listing of which checkboxes should be checked by default when the page initially loads. This all works great. However, I need to know how to loop through all the checkboxes in the grid (which the number of rows is unknown until runtime) to see which checkboxes are selected in o...
ASP versus ASP.NET : Application and Session Objects (6 replies)
microsoft.public.dotnet.framework.aspnet
I am in the process of converting my website from ASP to ASP.NET (using VB) .... I have hit a problem I cannot get around. I was reading the advice on here, and decided to store my Application() variables in my web.config file for easier use. (Done.) My Session() variables on the other hand are a different story. My SQL database is designed to where I can track all user requests through a unique S...
Question about Validate Control (3 replies)
microsoft.public.dotnet.framework.aspnet
Hi all, I have serveral Validate controls in my web form, and I also have several buttons. for each button, it has different task to do on clicking, one of them needs to validate some input values of my TextBox WebForm controls when clicked, while others do not need so.. the problem is that no matter what buttons I click validation will be triggered, so how can I disable these validate controls wh...
errors (2 replies)
microsoft.public.dotnet.framework.aspnet
What does this mean? System.NullReferenceException: Value null was found where an instance of an object was required. at FunkeyWebDesigns.Administration.TaskList.SaveTask(String sDescription, String sContractor, String sStatus) The following is the class I get the above error from. public class TaskList { // Set up class objects. private static string sFilePath "d:\\web\\funkey\\assets\\data\\task...
Datagrid - some text in bold? (5 replies)
microsoft.public.dotnet.framework.aspnet
Hi, I'm using a datagrid to show result of my search webpage. In the result datagrid I want to make the found searchword in bold. An example: If the user types SN i want the SN in snow, snake etc. to be in bold and the rest in normal letters. Can this be done with datagrid? Thanks! M O J O
Easy VBNet Question.... (2 replies)
microsoft.public.dotnet.framework.aspnet
In a Datalist item template, I have a LinkButton. When the LinkButton is clicked upon I want to load a new page from code. My easy question is How Do I Do That. It must be easy. Thanks to someone for helping me out. tv
How to use Internet Protocol Printing on ASP page? (4 replies)
microsoft.public.dotnet.framework.aspnet
Anybody tell me, how to print on the web server with IIS 5, trougth Internet Protocol Printing with URL, and ASP Code . Tahnks for your help. ECP
Simple DataGrid Control Question (7 replies)
microsoft.public.dotnet.framework.aspnet
Ive asked this question before but never received an answer.... How do you Add a Hyperlink to a DataGrid Control, Programmatically, even if the DataTable is created manually. Do to sorting limitations, I cant simply add the Text a href "..." Title /a , I dont want to modify the DataRow, for sorting on the Field because it wont Allow for the sorting of the Actual Field ("Title"), but Might sort on ...
DataGrid Cancel (2 replies)
microsoft.public.dotnet.framework.aspnet
In my datagrid I am using the default OnEditCommand, OnUpdateCommand, and OnCancelCommand. I am having unpredictable results when I click on Cancel. It will either do nothing, eliminate all of the asp:boundcolums and just leave the template edit items showing, update the data, or cancel the edit. DoItemCancel datagrid.EditItemIndex 1 datagrid.SelectedIndex 1 'Get the data source binddata() I also ...
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