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 2004 > threads for wednesday november 17

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

asp.net load problem
Posted by J at 11/17/2004 11:45:05 PM
Hi, all, I just finished an asp.net project and depolyed to a windows 2003 server, but end users said they have same problem: sometime they cannot access asp.net web page, sometime they can, and this was not limited to certain pages. If they accessed web site from home, everything works fine, bu...more >>

newbie - IIS needed?
Posted by Mark Oliver at 11/17/2004 10:31:24 PM
Hi, Do i have to install IIS to develop (but not host) an asp.net application? i don't want to install IIS because of the security problems it causes, and so far i haven't been able to install IIS because it asks for infocomm.dll from XP service pack 1 - and the only place i have seen infoco...more >>

Insert a page break in HTML
Posted by Danny Ni at 11/17/2004 10:04:59 PM
Hi, Is it possible to enter a page break in a HTML document, when a HTML document is diplayed in browser and user click print, the browser takes control of paging . I would like the browse to print to a certain point in the document and eject the page and continue printing on the next page. I...more >>

ASP.Net
Posted by Islam Elkhayat at 11/17/2004 9:44:11 PM
In my C# webapplication I want to add a button to my webform1 to open webform2 in new window [with specified size with no toolbars] with Calender and submit button.. the submit button close the new window and return the selected date in a a textbox in webform1.. I'm using VS2003.. thanx ...more >>

developing on an XP box and deploying to a W2K3Server?
Posted by Flip at 11/17/2004 8:06:38 PM
I am deploying webapps using XP (IIS5) and deploying them to a Windows 2003 Server box (IIS6). So far so good. However, when I try to manage my w2k3 server from XP, I get an error message saying I can't manage an IIS6 box from IIS5. Is anyone else seeing this? Can I take my w2k3 server C...more >>

pdf control check
Posted by greg at 11/17/2004 7:02:16 PM
Hi Maybe it is a JS scripting question I am sorry if the question will seem out of context but we program .NET/c# and i am used to this forum.... in webform i generate thru startup script: <script> window.location = '/somesite/aaaa.pdf'; </script> How can I tell the user that the b...more >>

Icon does not appear.
Posted by Brahm at 11/17/2004 6:59:50 PM
Hello, I have an application with a main class subclassing the System.Windows.Form and i changed the Icon setting for the application to point to a different icon file. Now, when my application runs, the icon appearing in the upper left hand side of the window frame is the default one and not t...more >>

howto transfer chr(1) to a server via webservice
Posted by ProJee at 11/17/2004 6:07:50 PM
1. How to pass chr(1) (or another special char below 32) to a method in a webservice? It raises an exception when I try to pass it through webservice.htc 2. How to pass chr(255) It doesn't raise an exception, but another character comes to the server in some cases (different server=...more >>



How to maintain ViewState in web-farm environment?
Posted by domtam NO[at]SPAM hotmail.com at 11/17/2004 5:08:58 PM
My question is about how to maintain view state in mobile ASP.NET across postback / request in a web farm environment. First of all, let's assume the web-farm does NOT use stick-session feature. In other words, different web servers may serve different requests in the SAME session. In non-m...more >>

Looking for feedback on implementation approach
Posted by Bijoy Naick at 11/17/2004 4:39:51 PM
I've made multiple posts re different aspects of dynamically adding web and user controls.. First off, thx for all the responses.. I think I've figured it out. I am looking for some feedback on how I am implementing certain functionlity.. Details follow.. Scenario ====== The application...more >>

problem with iframe resizing
Posted by Paul Fi at 11/17/2004 4:39:48 PM
can some one help me here coz this is really killing me! the problem is, i have this javascript code in my aspx page that i want it to work on almost all browsers, especially opera and safari : function resize(){ displayFrm = document.getElementById("ifrmDisplay"); innerDoc = (display...more >>

is it possible to refresh one page from another?
Posted by djc at 11/17/2004 4:34:55 PM
Is is possible to have one asp.net page from one browser window cause the 'refresh/repost' of a different page open in a seperate browser window? For example, page1 could have some data and some actions in the form of buttons. Clicking on one of the buttons from page1 would open page2 in a sepera...more >>

read exchange folders
Posted by Rob at 11/17/2004 4:27:18 PM
Hi, here is my problem: i need to monitor a public folder to see when a message comes in. this public folder has many sub-folders and i need to list on a web page which sub-folders have unread messages, and how many are unread. can anyone help, or point me in the right direction? thanks, Rob ...more >>

Need help writing a file to the server.
Posted by cur at 11/17/2004 4:20:06 PM
Ok, I need some help here. First of all, here's the offending bit of code: Private Sub WriteToFile(ByVal strPath As String, ByRef buffer As Byte()) Dim newFile As System.IO.FileStream = New System.IO.FileStream(strPath, System.IO.FileMode.Create, IO.FileAccess.Write) newFile.Wr...more >>

Unable to write files to the server.
Posted by cur at 11/17/2004 4:18:03 PM
Ok, I need some help here. First of all, here's the offending bit of code: Private Sub WriteToFile(ByVal strPath As String, ByRef buffer As Byte()) Dim newFile As System.IO.FileStream = New System.IO.FileStream(strPath, System.IO.FileMode.Create, IO.FileAccess.Write) newFile.Wr...more >>

How to select a specific client-side sub to run
Posted by Sue at 11/17/2004 4:08:02 PM
ASP.NET web page: get info from user via web server controls, user clicks web server button when happy with new values, code behind sub grabs the data and updates a SQL database. At this point, I would like to display a msgbox/alert to the user indicating success or failure of the database upd...more >>

Centering button in a datagrid column
Posted by tshad at 11/17/2004 3:52:26 PM
I am trying to center a button in a datagrid column in asp.net and it doesn't seem to work. I have the following: <asp:TemplateColumn ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center"> <FooterTemplate> <asp:LinkButton Com...more >>

StreamReader doesn't pick up special characters
Posted by Max at 11/17/2004 3:41:40 PM
I'm using StreamReader.ReadToEnd() to populate and string from a file and then display it as a literal on my web site. The problem is I'm losing all the special characters like Æ,Ø, and Å that originates in the file I'm reading. Do I have to tell streamreader what characterset I'm using or s...more >>

Calendar Control Question
Posted by MattC at 11/17/2004 3:39:11 PM
How can I loop though all the date on the currently deiplayed month? I want to be able to do some database checks against every friday displayed in my calendar control that will highlight certain weeks. TIA MattC ...more >>

ID of dynamically inserted user control
Posted by Bijoy Naick at 11/17/2004 3:03:32 PM
I am inserting controls dynamically into my page; both Web Controls and User Controls. Code Below.. I noticed that inspite of specifying the ID for the user controls, in the HTML, the name is set to : myUC2:_ctl0.. Whats with the :_ctl0?? How can I get rid of it? Bijoy ----------------- ...more >>

web.config and Setup project
Posted by Nikhil Patel at 11/17/2004 2:42:01 PM
Hi all, I am creating a Setup project in Visual Studio for an ASP.Net application. Is there a way to tell it not to overwrite the Web.Config file if it already exists? I want it to create the Web.Config file only when it does not exist. Thanks. ...more >>

How to display a message in ASP.NET page during long task?
Posted by Julia at 11/17/2004 2:36:42 PM
Hi, My ASP.NET send an email and it is taking some time, I would like to display a message to the user Here is my code Response.Write(Configuration.AppSettings["message"]); Response.Flush(); //Send the email EmailDispatcher dispatcher=new EmailDispatcher(); dispatcher.Execu...more >>

ValidationExpression
Posted by JIM.H. at 11/17/2004 2:27:01 PM
ValidationExpression="\d{2}/\d{2}/\d{4}" how can you make this work for date exactly. Taking care of Feb for example? ...more >>

Page layouts in ASP.NET
Posted by Angus SC2 at 11/17/2004 2:24:32 PM
Hi, I am writing a little web-app in Visual Studio.NET using C# and ASP.net. I have a few questions about page layouts. .. What I am trying to achieve is to have every page in my app like the following: It will be a table that fills the entire browser window and has a header at the top, a...more >>

Converting to Hex
Posted by Justin at 11/17/2004 2:12:11 PM
I have the following custom class that takes a string and generate an MD5 hash then to hexidecimal. I can not figure out how to convert MD5hash into hex: public static byte[] MD5Encryption(string ToEncrypt) { // Create instance of the crypto provider. MD5CryptoServiceProvider md5 ...more >>

Drop down menu?
Posted by jiangyh at 11/17/2004 1:57:53 PM
hi there: I want to build a drop down style Menu,that must use javascript,who can tell me how to build this. Thanks in any advice. -- Jiangyh http://bbqb.com/bbs/index.php http://freelance.forumzero.com/bb/index.php ...more >>

Encrypted Strings
Posted by David Kyle at 11/17/2004 1:48:05 PM
Hello, I'm building a web application where I need to have some post data encrypted. An example would be something like this: <input type=hidden value='<%# GetEncriptedData() %>'> GetEncryptedData() returns a string value that I can post. I will be using a symmetric algorithm; most like...more >>

quick question on javascript .replace
Posted by Paul W at 11/17/2004 1:38:58 PM
Hi I need to replace every "||" (double pipes) in a string with "|" (single pipe). I'm having problems with the reg. expression (is "|" some kind of special character?), so tmpstr=myvar.replace("||/g","|") doesn't work. Advise please, Thanks, Paul. ...more >>

Validate a ListBox using validators inside a usercontrol
Posted by Fernando Lopes at 11/17/2004 1:21:37 PM
Hi. I have a page with a usercontrol. In this UC, I have two ListBoxes and two buttons. When i click in one button, i get the selected item in the listbox. How can i validate, using validators, if the selected listbox has a selected item? Thanks. Fernando ...more >>

access modifier for webcontrols
Posted by ajit at 11/17/2004 1:19:02 PM
I am modifing the web app creted by someone else , I see that in code behind file all the web controls declared as public to access then in different class. Now I know its bad pactice but I have noticed something wierd when ever I try to add new webcontrol to that page all the web controls whi...more >>

Ad Rotator Control
Posted by SouthSpawn at 11/17/2004 1:00:44 PM
Hello All, I have a windows form app that has 4 web browser controls. The browser controls will hit a .aspx page on our hosting provider web server. The aspx pages has a "Add Rotator" control on them. Well, every time each ad rotates in and out, it is using bandwidth to the hosting provider se...more >>

insert into ... select ... from ...where...in
Posted by nicholas at 11/17/2004 12:24:25 PM
I have this in my stored procedure: SET @CatInsert = 'INSERT INTO tbl_shopscats (shopID, categoryID) SELECT ' + CONVERT(varchar,@shopID) + ', categoryID From tbl_categories Where categoryID IN (' + @categoryID + ')' @categoryID is a string of ID's separated by comma's. ex: "1,25,78" So ...more >>

Request TimeOut Question...
Posted by Steve Taylor at 11/17/2004 12:22:21 PM
- I have a global error trap set in global.asax. This logs the errors. - Watching perfmon I am seeing more errors than are being logged. - Users are sending me a crude error page indicating "Server Error in /MyApp Application...Request timed out." - There are no references to the executing page...more >>

CompareValidator firing in Page_Load, validating empty control
Posted by eric.maia NO[at]SPAM metrokc.gov at 11/17/2004 12:21:56 PM
I have a textbox (StartDateTextBox) in a UserControl on my page, that is supposed to have a date entered into it. I have a RequiredFieldValidator that has its ControlToValidate property set to the textbox. I also have a CompareValidator pointed to the textbox with its Type="Date." Despite all...more >>

Page unload event
Posted by Mike at 11/17/2004 12:15:06 PM
I have a web form in my application that will be used for both viewing and updating information. I have a requirement that if any data has been changed on the page and the user attempts to leave the page without saving, the user gets prompted with a message asking if they want to save changes....more >>

Excel
Posted by vinay at 11/17/2004 12:13:01 PM
Hi I am using the below code to read an excel sheet. It works fine, but the problem i am facing is the name of the excel sheet, which i have hardcoded in my query as [sheet1$]. I am getting errors when the sheet name is not [sheet1$] !!! How can i make the query Generic even if the sheet na...more >>

Problems with multiple web user controls on one webpage
Posted by Arjen at 11/17/2004 12:09:42 PM
Hello, I have multiplpe web user controls on one webpage. The web user controls have database interaction. When I click on one of the web user control actions then it does'nt show the data inside the other web user controls anymore. What can I do about this? Thanks! Arjen ...more >>

Dynamic Controls
Posted by Bijoy Naick at 11/17/2004 11:51:50 AM
Need help with inserting and accessing web controls and user controls dynamically. How can I programatically insert webcontrols and user controls based on data I get from a database? Also, how can I access the data within these controls? Bijoy ...more >>

Server.Transfer error
Posted by GaryB at 11/17/2004 11:45:41 AM
I have the following Response.Redirect that works just fine: Response.Redirect("../CrystalViewer.aspx?id=" & CrystalFileName) I changed it to a Server.Transfer like so: Server.Transfer("../CrystalViewer.aspx?id=" & CrystalFileName) Now it blows with the following error: Invalid path f...more >>

Post a request to an other web server from may asp.net app
Posted by Jensen Bredhal at 11/17/2004 11:26:43 AM
Hello, How can i post to a different web server other then the one hosting my aspx page? Many thanks? ...more >>

Knowning IP Web site Visitor
Posted by Mohammed Dwaikat at 11/17/2004 11:18:54 AM
Hi I am using VS.NET 2003 to develop a web site, is there anyway to know the visitor IP Address when he opens my web site ? thank you ...more >>

Resizing controls when screen resolution changes
Posted by Mustufa Baig at 11/17/2004 11:10:45 AM
Can anybody tell me how or refer me a link where I can find the client side javascript to make the positions and resizing of the controls on .aspx page independent of screen resolution. As I am using Grid layout and it uses pixel units. Thanks. ...more >>

Creating/accessing an application directory
Posted by EO at 11/17/2004 11:09:06 AM
I'm using an ISP with poor tech support. I apologize if this is more of an ISP question, but it is an asp.net question as well. I have a root domain pointing to a root level folder. There are several folders in this root domain, each of which are aliased to other domain names. I used Vis...more >>

Custom Error Page Not Displaying
Posted by klj_mcsd NO[at]SPAM hotmail.com at 11/17/2004 11:05:59 AM
Below is my web.config file. It's not redirecting. It was at one time. Please Help <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.web> <compilation defaultLanguage="vb" debug="true" /> <customErrors mode="On" defaultRedirect="error.aspx"/> ...more >>

Refreshing a user control
Posted by MattB at 11/17/2004 10:49:31 AM
I have a page header that I made as a user control (ascx) that I drop on every page in my application. The application is an eCommerce application and I have a total for items in the cart on the header. To keep this total in sync, I count the items in the cart and refresh the label text in the...more >>

Selected item in ASP.NET Server control DropDownList
Posted by pTsy at 11/17/2004 10:44:27 AM
How to programmatically change selected item in DropDownList on ASP.NET page ? Thanks ...more >>

Can I get viewstate data during Page.OnInit
Posted by Donal McWeeney at 11/17/2004 10:39:11 AM
Hi, I'm round-tripping some values my page requires using hidden form fields - my page class requires these values in its OnInit event. I would like to be able to use viewstate to do this - however the load viewstate does not happen until after OnInit and before OnLoad. Is there anythin...more >>

proper way to check radio button value?
Posted by Flip at 11/17/2004 10:29:25 AM
In setting up a radio button group last night, I added two radio buttons, gave each of them their respective name and gave them both the same group name. So far so good. But then when I tried to get the group names selected value, I couldn't find any properties/methods on that object. In fact...more >>

Accessing a method in usercontrol from page or from other usecontrol.
Posted by Fernando Lopes at 11/17/2004 10:13:08 AM
Hi. How can I access a method in the code behind of a user control from the code behind of a page or in the code behind of another usercontrol. I change the method to public and now I access from the Page. But, there is any problem using this way? (public method) Anyone knows another way? How...more >>

DataSet.ReadXml() - Malformed Xml?
Posted by George Durzi at 11/17/2004 10:11:33 AM
If I try to read a CNET.com RSS feed into a DataSet, I get the following exception The same table (category) cannot be the child table in two nested relations. The exception is thrown immediately when I call myDataSet.ReadXml(http://news.com.com/2547-1_3-0-5.xml); Is the Xml is the RSS f...more >>

how to change default ENTER key behaviour on a button/form
Posted by Flip at 11/17/2004 10:10:12 AM
On my current form, when I hit the enter key in a texbox, the form appears to resubmit itself, but it's not actually doing a submit (or so I think?). I would like to have the enter button fire the logic I have for the button. In other words, I would like to have a default button for the form, is ...more >>

Limit asp:textarea to 100 chars on client side?
Posted by M K at 11/17/2004 10:05:01 AM
Is there a way to limit an asp:textarea to 100 chars on the client side? The db only accepts 100 and chops the rest off....more >>

insert stored procedure
Posted by nicholas at 11/17/2004 10:00:18 AM
Could someone tell me how to implement an INSERT on an aspx-page using a stored procedure, in VB-code? THX, Nic PS: I have been trying this, but it ain't working: Sub insert_new_content (sender As Object, e As EventArgs) Dim MyConnectionString as String = ConfigurationSettings.A...more >>

how do you reference relative CSS files from the link attribute?
Posted by Flip at 11/17/2004 9:56:53 AM
I'm having a problem using the tilde in a relative path reference in my aspx. Has anyone got any tips'n'tricks? Right now the resolved html is this. <link id="cssLink" rel="stylesheet" href="~/Resources/main.css" type="text/css"></link> It doesn't want to resolve the ~ in the href. Any id...more >>

Dynamic positioning Resizing of controls....
Posted by Mustufa Baig at 11/17/2004 9:42:24 AM
Hello, Can anybody tell me how or refer me a link where I can find the client side javascript to make the positions and resizing of the controls on .aspx page independent of screen resolution. As I am using Grid layout and it uses pixel units. Thanks. ...more >>

hyperlink or button question
Posted by djc at 11/17/2004 9:41:49 AM
I want to have a form with several fields that first load 'locked' or read-only. I will have a section on the page that will list several action options to the user. Each of these actions will simply 'enable' or make editable certian text box or listbox controls on the same page. I am assuming...more >>

ASPX.VB inheriting
Posted by Ryan Ternier at 11/17/2004 9:40:15 AM
I just got moved to a project that has an inheritance structure sort of like this: MyWebPage.aspx inherits ---> MyWebPage.ASPX.VB inherits ----> Utility.VB inherits -----> DHTMLMenu.vb inherits ----> System.WEb.UI.Page Whenever I ...more >>

Javascript onunload to prompt saving info
Posted by Weston Weems at 11/17/2004 9:38:09 AM
Ok, I've posted on this before, lemme give you guys the run down. I've got an asp form that has postbacks etc. I'd like it so that when navigating away from it, It'll prompt user for save confirmation. So I've got <body onUnLoad="CheckConfirm();"> The javascript method fires off, and...more >>

panel's controls collection lost during postback
Posted by Ed Chiu at 11/17/2004 9:38:02 AM
Hi, I plan to use panel to store multiple HTML text in a web form page, here is the code snippet that add HTML into panel: Dim lit1 As New Literal lit1.Text = strHTML Panel1.Controls.Add(lit1) The problem I have is , all literal controls I added into Panel1.Cont...more >>

Function for GridView
Posted by sck10 at 11/17/2004 9:32:00 AM
Hello, I am using the following GridView control. What I would like to do is for each row, test to see if the DataField="Product" value = "Total". If so, make the text for each bound field bold. Looking through the documentation, I am assuming that I would use the event (RowCreated). My quest...more >>

Basic question about .aspx pages and application
Posted by Joe at 11/17/2004 9:29:05 AM
Hi, I am new to creating .asp web sites and have a basic question. I have a website with .html pages running on an IIS server with .Net installed. I also have a couple of forms on the website. Some of them send email and others store information entered by the user in the MS Access DB. Th...more >>

SmtpMail problem
Posted by howard dierking at 11/17/2004 9:16:04 AM
I'm running a Windows XP pro box - upgraded (i think) from 2k. When I try to send a new mail message from asp.net using SmtpMail, I get the following exception: COM object with CLSID {CD000001-8B95-11D1-82DB-00C04FB1625D} is either not valid or not registered. I have not checked to val...more >>

Background Color
Posted by Mike at 11/17/2004 9:13:06 AM
Hi, I have the following javascript that should change the background color of an element in a table: script.Append("document.getElementById(selectedDateId).style.backgroundColor = \"#00008b\"; \n"); script.Append("document.getElementById(selectedDateId).className = \"AIMSSelectedDay\...more >>

c# page level global object postback
Posted by Marty U. at 11/17/2004 8:41:03 AM
How can you declare an object that is global to a page even on postbacks? I currently have something like this MyObject m; throughout the page on the initial load everything works fine but on postback anything referencing m I get NullReference. How can I declare an object to have page...more >>

Opening word documents stored in SQL Server using ASP.Net
Posted by richi at 11/17/2004 8:33:22 AM
Hello, i'm hoping that somebody can point me in the right direction with my problem. I have been tasked with creating a simple browser based application that will allow the user to upload Word documents to SQL Server and then retrieve them when needed. Storing the Word document seems to be ...more >>

Convert ASP.Net to VB.Net
Posted by Sam at 11/17/2004 8:24:01 AM
I would like to inquiry that possible of convert ASP.NET into VB.NET ? Or any alternatively where I could convert ASP.NET into EXE application? It is needs because ASP.NET require manual process and I would like to schedule automatically. Please advise. Many thanks. ...more >>

Redirect fired when drop downlist change event occurs
Posted by Markus McGee at 11/17/2004 8:05:05 AM
Hi all, I have a quick question...I believe. On my web page, call it page A, I have a drop downlist with runat server enabled. When the drop downlist change event occurs it repopulates a table depending on the value selected on page A. After I redirect page A to some other page, call ...more >>

Trap DataGrid in a each control loop
Posted by marcan1215 NO[at]SPAM hotmail.com at 11/17/2004 7:22:42 AM
Hi, I have to loop on each control on a webforms... I use this function : public void LoopOnAllControls(ControlCollection coll) { foreach (System.Web.UI.Control ctrl in coll) { if(ctrl.HasControls()) { LoopOnAllControls(ctrl.Controls); } else { ...more >>

Reuse the SqlDataAdapter can it couse troubles?
Posted by victor NO[at]SPAM vanhillo.net at 11/17/2004 7:11:37 AM
Hello there, I have a module in VB.NET (ASP.NET) and on top I declare the SqlConnection and the SqlDataAdapter. Like: Module AccessDB Dim sqlCmd As New SqlCommand Dim conAanvraag As New SqlConnection(ConfigurationSettings.AppSettings("ConnectionString")) Dim daAanvraag As N...more >>

Intermittent SQL corruption from ExecuteScalar
Posted by Mike Krajewski at 11/17/2004 7:09:01 AM
We are having an intermittent problem using an ExecuteScalar command on a asp.NET page accessing SQL Server. 2 characters of the sql statement get intermittently altered. The code looks as follows: SqlCommand command = new SqlCommand("SELECT fkOWSStatusID FROM vwUsersCleanups WHERE pkCle...more >>

problem to get the dynamic fields of a datalist
Posted by jcharmetton NO[at]SPAM groupeseb-dot-com.no-spam.invalid at 11/17/2004 6:57:36 AM
Hello all, I try to create a part of a form with a datalist: <ASP:DataList id="formulaire" runat="server" RepeatDirection="Horizontal" ItemStyle-Width="100%"> <ItemTemplate> <table> <tr> <td class="titre_paragraphe" align="right">PDF <%# DataBinder.Eval(Container.DataItem, "LANG") %><...more >>

Assistance Whidbey: Srange problem
Posted by junk NO[at]SPAM spirit.co.za at 11/17/2004 5:58:02 AM
Anyone? Web.config: <?xml version="1.0" ?> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration> default.aspx <%@ Page Language="C#" CompileWith="Default.aspx.cs" ClassName="Default_aspx" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1...more >>

CSS class problem
Posted by dave at 11/17/2004 5:25:29 AM
Guys, I have got a table on my usercontrol and I am trying to apply a css class to one of its cell. The roblem is when I specify the class name in the class property of the cell it does not update the design view nor does it come up in the runtime view. I have also got the followin...more >>

problem with iframe resizing
Posted by Paul Fi at 11/17/2004 5:19:48 AM
can some one help me here coz this is really killing me! the problem is, i have this javascript code in my aspx page that i want it to work on almost all browsers, especially opera and safari : function resize(){ displayFrm = document.getElementById("ifrmDisplay"); innerDoc = (display...more >>

The type or namespace name 'KeyPressEventArgs' could not be found
Posted by louise raisbeck at 11/17/2004 5:13:01 AM
What do I have to import at the top of my aspx page (c#) when getting this error message? i tried <% Import namespace="System.Windows.Forms.KeyPressEventArgs"%> but it erros something along the lines of 'Windows not recognised in System' I'm not sure I understand how to include classes. I...more >>

DataGrid control
Posted by Alan Lambert at 11/17/2004 2:54:02 AM
I'm using a DataGrid to display data returned from a database. I've got a template column which displays the results from several fields. Within this template column I want to display certain fields but only if the data in a particular field is not null, but I can't get it to work: <itemtempl...more >>

CSS Question - Overriding or slimming down element styles
Posted by louise raisbeck at 11/17/2004 2:35:03 AM
Hi, apologies if this is out of scope but I cannot find a dedicated CSS newsgroup..but I am using .net! I have a css definition for the element 'input'. So it puts boxes round all my inputs in black, 2px etc etc so i dont have to give each input a class name in my html - this way it does i...more >>

Drag n Drop across frames
Posted by Ramesh Chawla at 11/17/2004 1:27:01 AM
Hi, I want to implement drag a drop kind of functionality across frames using ASP.NET(VC#). The scenario is like, 1) I want to break the screen into 3 frames with the leftmost and the rightmost frames take 25% space each and rest 50% is occupied by the middle frame. 2)Now, what I wo...more >>

Can I get asp.net using C# free ebook
Posted by ashok roy via .NET 247 at 11/17/2004 1:05:03 AM
I am new to asp.net programming .I am unable to search any free ebook on asp.net using c#. As I am expert in C# programming. Please give me some url from where I could get some free ebook -------------------------------- From: ashok roy ----------------------- Posted by a user from .NET 24...more >>

How to capture SelectedIndexchanged event of dropdownlist in Datagrid
Posted by Uma Shanmugam via .NET 247 at 11/17/2004 1:04:50 AM
(Type your message here) -------------------------------- From: Uma Shanmugam Everyone, I have a datagrid and it has a dropdownlist in the Edit mode=2EI= want to capture the selectedIndexChanged event of the= dropdownlist=2E I tried ItemCommand event and then realised that= it is fi...more >>

Problems with User Controls in IE from the GAC
Posted by Colin Orr via .NET 247 at 11/17/2004 1:03:41 AM
I'm trying to write a WinForms User Control for Internet Explorer that is accessed from the global assembly cache (GAC) on the server. I've followed the KB article 839300 (http://support.microsoft.com/default.aspx?scid=kb;en-us;839300). This has got me as far as hosting a strongly named contro...more >>


DevelopmentNow Blog