microsoft.public.dotnet.framework.aspnet Archive - August 2004
Post a message to this list
Messages
Page: 1234567891011121314151617181920
2122232425262728293031323334353637
Problem with DropDownList & Frames (7 replies, VIP)
microsoft.public.dotnet.framework.aspnet
I have an ASP.NET web page several auto post back DropDownLists that perform a query against a relatively large database (3 to 4 seconds delay) that repopulate a couple of datagrids, comboboxes and a chart (using dotnetCharting control) on the same page. This works just fine on its own. However, when I integrated the page into the rest of the site, it is then placed inside a frameset. Again, the p...
ListItem Multiple Select (3 replies)
microsoft.public.dotnet.framework.aspnet
Need Help. I'm using a ListBox control with SelectionMode set to Multiple. I'm having difficulty getting the items selected. Does anyone have sample code on how to retrieve which items have been selected? Thanks in Advance.
BoundColumn Formatting question (5 replies)
microsoft.public.dotnet.framework.aspnet
I have a BoundColumn which shows a field called 'IsPrimary'. Straight from the database, the field is a 1 or 0 (bit). But I want to show 'Yes' or 'No' instead. Or better yet, an image only if the value equals one. Does anyone have some code sample of how this could be done in code behind? Here's my bound column code: dgc new BoundColumn(); dgc.HeaderText "Primary Contact"; dgc.DataField nvcAuthor....
Question: CSV export file displayed in Datagrid or Table - How? (2 replies)
microsoft.public.dotnet.framework.aspnet
I have a comma delimited export file with 10 columns. I want to display the first 5 and the last 2 columns in a datagrid or table. Is there any way to do this automatically? If not, does anyone have any ideas how I can do this? Thanks!
Custom Errorpage (3 replies, VIP)
microsoft.public.dotnet.framework.aspnet
Hey! I use a custom error page in my solution, ErrorPage.aspx. Which I have styled so it goes well with the rest of the appliction... it's currently all static... Is there anyway in that page to actually access the error messages and infroamtion given by the IIS? To at least give the user feedback (to forward to the suport or something) on what page it was who gave the error and what Rownumber in ...
Popup Window Using VB (2 replies)
microsoft.public.dotnet.framework.aspnet
Is there a way to show a popup window using code behind in VB? Partial java script code: Open('htmpage.html')
Opening new window (5 replies)
microsoft.public.dotnet.framework.aspnet
How can code behind open a new browser window and write HTML to it? Peter Aitken Remove the crap from my email address before using.
Setting hidden input control programmatically (2 replies)
microsoft.public.dotnet.framework.aspnet
Hi all, I have a loop in my code which builds the controls on the page. I at one stage need to add some hidden input controls dynamically, I have achieved this, and I have set their properties, however, there seems to be one that I cannot set ie, Name.. My code looks like this: ' loop starts here ' set hidden control properties hidDataItem.Attributes("name") intLoop hidDataItem.Attributes("id") m ...
Open New Window and Redirect Old (5 replies, VIP)
microsoft.public.dotnet.framework.aspnet
I've searched around and can't seem to find an answer to this... maybe someone has already done it. I want to create a redirection page for hyperlinks which point to an external site or file. This is so that I can keep track of how many visitors are linking to external resources from the site using the hosting server's statistics package. Due to technical constraints that I don't want to get into ...
Remove the XP borders of a ComboBox? (2 replies, VIP)
microsoft.public.dotnet.framework.aspnet
Hey! In XP if you use the XP style... the Comboboxes have a small blue border... that takes up space when I have it in my datagridcell and I need to make it smaller.. I tried Changing the fontsize of the Combobox and it help, but the text was about impossible to read.. is there ANYway I can remove the borders of a Combobox? This might seem picky but my customer is picky.. it's not my idea to do th...
Problem with Session State being shared between users! (3 replies)
microsoft.public.dotnet.framework.aspnet
I'm having an odd problem. My website's session state is getting shared between users! This problem only happens when a user tries to access the site from inside our corporate LAN. The user, instead of getting a unique session ID, gets somehow confused as another session and has access to all of the other session's info! I tried switching to cookieless sessions but that didn't make any difference....
Question on AppDomain (2 replies)
microsoft.public.dotnet.framework.aspnet
Hi all, Since Asp.net creates a distinct application domain for each application it hosts in its worker process does that mean that each request is processed through that application space until the last request at which time a new application domain is created? In other words, do all sessions go through that application until there are no more sessions? Thanks
HTML and Codebehind (2 replies)
microsoft.public.dotnet.framework.aspnet
Perhaps I should provide more code. When I implemented your suggestions the values were not posted back. Here's a larger snippet. form action "https://www.somesite.com/webscr" method "post" input type "hidden" name "amount" runat server id "totalamount" The codebehind totalamount.value 80 does not appear to be passed to the value key in the input statement. When I include runat server in the form ...
Weird problem Asp.net, certain users, code behind (11 replies)
microsoft.public.dotnet.framework.aspnet
This one has me stumped. I have three web applications running on two different servers. The first that works fine is hosted by a .Net hosting company. Everyone that uses it has no problems hitting the site. The other two applications are running on my personal server which has Windows 2003, IIS 6, and .Net 1.1 Most of my users can use the sites. Two have come up with a very strange problem. They ...
ASP to ASP .NET BC30289 Include files (5 replies)
microsoft.public.dotnet.framework.aspnet
I am converting an ASP page to ASP .NET. The original has the following: #INCLUDE FILE "logAction.asp" The included file holds some commonly used methods. When I rename it to aspx files and run I get the following error on the first function definition in the include file: BC30289: Statement cannot appear within a method body. End of method assumed. on: Line 2: % Line 3: Function LogAction(ActionI...
how to get the html code from the iframe in client (2 replies)
microsoft.public.dotnet.framework.aspnet
Hi everybody I want to use iframe to include other website page and get a table (html code) inside the include page code .I don't know how to do in the client ,thank you for any help.
how to display datatable columns as rows in datagrid? (4 replies)
microsoft.public.dotnet.framework.aspnet
I have a User table that stores user info (such as first name, last name, address etc) in columns, that is, one user per row. However, when displaying out for editing one user, I'd like it to be displayed in two columns, field names as labels in the left column and field values in textboxes in the right column. Could anyone suggest how this can be done without looping through the field and adding ...
using repeater (3 replies)
microsoft.public.dotnet.framework.aspnet
Hi , Could you give me an example when I use a Repeater Control how could I show the results in 20 per page? Thanks, Viktor Outgoing mail is certified Virus Free. Checked by AVG anti virus system (http://www.grisoft.com). Version: 6.0.729 / Virus Database: 484 Release Date: 27.7.2004 a.
How can I edit image... (2 replies)
microsoft.public.dotnet.framework.aspnet
Hi all, How can I edit an Image opened in the browsers and saves it with a new name. The scenario is that I received an email having some attached documents in the image format. I read that document but there is some problem in the scanning or overwriting. So, I need to mark that place with a circle or write some comments against that unreadable text on the same image. and replied back to the send...
win app and web app (2 replies)
microsoft.public.dotnet.framework.aspnet
I have a com wrapper used to access a file on remote machine. When I call com object from a win app, it works fine. But it give me an error when accessing the file from web app. I think that must be permission problem, so I set in the web.config file that impersonate true and username, password is my NT username and password. But it still gives me error. What's going on? Thanks
How can i call a Trigger in ASP.NET ? (4 replies)
microsoft.public.dotnet.framework.aspnet
Hi, It is possible to call a trigger (inside a sql server..) with asp.net ? how can i do that ? thks!
paging and sorting (2 replies)
microsoft.public.dotnet.framework.aspnet
Sir, The default paging of datagrid is somehow use too much resource, so I am using Stored procedure for the paging. You can find my Stored procedure at the end of this message. It works fine to do paging like this, however, I have found it difficult to do paging and sorting at the same time. For example, in my case, my boss asked me to do sorting on EmailAddress, ZipCode, ActivityName and Coupon....
cookies/forms authentication (3 replies)
microsoft.public.dotnet.framework.aspnet
Currently I manage user login for our intranet through session variables. I am in the process of converting this to forms authentication using a sql2000 DB. I have a few users that need there machine a little more secure than others for EDI purposes and can't accept cookies. Is there something that can be done for situitions like this. Still use forms authentication but the browser doesn't accept ...
asp.net source code? (8 replies, VIP)
microsoft.public.dotnet.framework.aspnet
Is it possible to view the source code for .NET classes? Thanks. Jay
Caching Unique Values For Update (2 replies)
microsoft.public.dotnet.framework.aspnet
Hi, I am developing using ASP.Net using SQL Server and also have several layers in between, eventually producing a custom business object that is used to populate the web form. I don't use datasets because of performance issues and also they just aren't proper business entities. When it comes to updating my database I generally use an identity value and a datetime value to avoid multiple updates. ...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification