microsoft.public.dotnet.framework.aspnet Archive - March 2002
Post a message to this list
Messages
Page: 1234567891011121314151617181920
2122232425
Response redirect to new explorer. (3 replies)
microsoft.public.dotnet.framework.aspnet
Is there a way when using the code behind to redirect to a page in a new browser. I am looking for functionality similar to window.open in vb script or the target property of a hyperlink blank. thanks
datalist/grid help (2 replies)
microsoft.public.dotnet.framework.aspnet
Hello, I am trying to convert a VB windows app into an asp.net app. The windows app makes use of a flexgrid which has alternating columns of text and checkboxes. Users click the checkboxes to select the corresponding adjacent text. The columns are created and populated dynamically from an SQL server database. Requirements: Create a grid that will have alternating columns of text and checkboxes. ab...
Is this impossible....please help. (2 replies)
microsoft.public.dotnet.framework.aspnet
I have a table with several rows, one each for every record in a recordset, each row has an imagebutton, each imagebutton is bound to a single event handler that gets passed the identifier of the record in its row. if I do this(after setting custom commandname and commandarg): imagebutton.Command new System.Web.UI.WebControls.CommandEventHandler(myeventhandler); myeventhandler fires. No surprises ...
asp.net & xslt gone goofy (2 replies)
microsoft.public.dotnet.framework.aspnet
Ok, big cookie goes to first person who knows why the first xslt block does not work (returns nothing), while the second one does work. Both work fine using MSXML 4.0, but one fails in my asp.net page. The only difference is that the xsl:for each tag is enclosed by a p tag in the one that works. The MSXML4 doc says the xsl:for each tag may can have the xsl:template tag as a parent. This one does n...
MessageBox in ASP.Net Page (4 replies)
microsoft.public.dotnet.framework.aspnet
How can you get a messagebox to appear in an ASP page in a clik event of a certain object. (I am trying to do this in a web form)
Dataset is not declared? (2 replies)
microsoft.public.dotnet.framework.aspnet
Hello, I am working on my first ASP.Net project (I'm an experienced ASP developer) and am having a problem. I have an SQL Connection object, a DataAdapter object, and a Dataset Object in my project. I added a Web Form combobox to the project, and am attempting to have it bound to the database and populate from a SQL Server table. When I select the DataSource property in the Visual Studio IDE, it s...
http-post question! (4 replies)
microsoft.public.dotnet.framework.aspnet
Hi: Somebody know how can I implement in dotnet the following functionality: ASP 3.0 : (page1.asp) .... body form name "form1" action "page2.asp" method "post" ... input type "submit" value "submit" ... /form /body then, when I click the submit button, the request collection will be in the page2.asp but, in dotnet is different (if I try to use the web forms components) because the components runs ...
MultiLine TextBox (5 replies)
microsoft.public.dotnet.framework.aspnet
Hello All, im sure there must be a simple explanation for this. My webcontrol is a multiline textbox, however, it does not seem to be taking any notice of the value of MaxLength i set, and the user can just enter as many characters as they like. Can someone please tell me how i restrict the number of characters the user can enter in my textbox please? thanks, Chris
Need example showing: Modal forms/windows (3 replies)
microsoft.public.dotnet.framework.aspnet
Hello, all. I've scoured Microsoft's website for code, examples, and tutorials on opening modal forms/windows in ASP.NET. I'm developing a Win32 app as a web app, and to maintain as close to the original UI as possible, I need the ability to open modal windows/forms. I know this is possble using client side scripting, but an actual example would be greatly appreciated. Thanks In Advance. Roz
microsoft example not compiling (6 replies)
microsoft.public.dotnet.framework.aspnet
Hi, ms help://MS.NETFrameworkSDK/cpguidenf/html/cpconhttphandlerregistration.htm #cpconhttphandlerregistrationanchor3 In that page i found exactly what i was looking for: a c# example of an asynchronous http handler implementation. However, after copy pasting the c# example (the async one!), it will not compile! Ofcourse, the first { was forgotten, after namespace. However this message: The type o...
datagrids default to editable - cool suggestions? (6 replies)
microsoft.public.dotnet.framework.aspnet
We successfully built a datagrid that already is in editable mode by making all our columns textboxes instead of textboxes & labels, & eliminating the 'edit' link button. The benefits of this method: 1. user doesn't have to hit 'edit' & do a postback to edit 2. The textboxes already have data in them user can just type over to modify. 3. no need for labels / boundcolumns so datagrid much smaller. ...
Server script not executed at postback (2 replies)
microsoft.public.dotnet.framework.aspnet
Hi, I have a Datagrid with some data and a template column containing a checkbox. The checkboxes should be checked according to the return value of the GetInterestedCheck function. I have included the call to this in a script tag (see below). asp:TemplateColumn HeaderText "Interested" HeaderStyle Width "50px" /HeaderStyle ItemTemplate asp:CheckBox Runat "server" Checked " %# GetInterestedCheck(Dat...
The Date() function. (5 replies)
microsoft.public.dotnet.framework.aspnet
In a ASPx page I can have a script call the Now() function which returns the current date and time. Microsoft claims that you can get the current date by calling the function Date(). This appears not the case when I call the Date() function I get the error: 'Date' is a type, and so it is not a valid expression. Does anybody know how to get the current date in a ASP page.
VB6 DLL (in COM+) with ASP.NET (3 replies)
microsoft.public.dotnet.framework.aspnet
Here's the situation : I have a Vb.NET DLL. This DLL has a reference on a Vb6 DLL in COM . In this Vb6 DLL, I have a function returning an ADODB recordset. When I use VB.NET to call my DLL (who is calling the Vb 6 DLL), everything's work fine. But when I use ASP.NET, I receive the following error : QueryInterface for interface BusBleah. clsBusBleah failed. Does anybody can tell me what is wrong ? ...
How to get a Server Control type? (2 replies)
microsoft.public.dotnet.framework.aspnet
Hi, Why the statement below always return null? Type t Type.GetType("System.Web.UI.WebControls.Button"); Thanks, Heng
Idea: ButtonLink Control (3 replies)
microsoft.public.dotnet.framework.aspnet
Hello, I'm finding that sometimes it would be useful to have a ButtonLink webcontrol. The functionality wouldn't be anything above a HyperLink, but the UI is a button, which can help with certain UI issues. For instance, I have a page that handles the add to cart functionality. Right now I'm using a HyperLink to have users get there. The problem is that this kind of action appears to the user that...
How to set event for a control that is added dynamacially. (2 replies)
microsoft.public.dotnet.framework.aspnet
Hi, I am trying to work out in VB how to set the event for a control that is added dynamacially. I have found an example in C# m Btn.Click new System.EventHandler (this.Btn Click); But I have not been able to work out how to do it VB. Any ideas? Thanks, Jonathon My VB code (Code behind) btnSumbit New Button() With btnSumbit .Text "Sumbit" .ForeColor Color.Black .BackColor Color.AliceBlue .Font.Bol...
Ibuyspy Portal- Please Help (2 replies)
microsoft.public.dotnet.framework.aspnet
I keep getting this error with the IBuySpyPortal. I simply created a sub directory on my web server, and copied the files and updated the database settings. In order to get this error I had to pretty much clean out the web.config file, because that is the only way it will believe I set the customerrors tag to "off". I also copied the portal.dll to my root bin directory. Object reference not set to...
That dang DataGrid (6 replies)
microsoft.public.dotnet.framework.aspnet
I can't believe the DataGrid doesn't come with the functionality to scroll up and down. Has anyone found a way extend the DataGrid and make it scroll? Why oh why doesn't it scroll? Darin
OK gang...I need help on this one...a simple msgbox (6 replies)
microsoft.public.dotnet.framework.aspnet
Hello all. I have a simple aspx page with a Web Form button on it. When I click the button, I want to simply display message box. I did this and .NET is giving me this error "It is invalid to show a modal dialog or form when the application is not running in UserInteractive mode. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application." What...
Debugging of custom HttpHandler from Visual Studio .NET (2 replies)
microsoft.public.dotnet.framework.aspnet
I have written a sample HttpHandler, and have been able to invoke if from IE, and get some sample HTML output out. I'm trying to set up VS.NET to debug it, but I created the project as a C# dll, so it want some sort of starting point (makes sense). I tried to copy the debug settings from a ASP.NET and a Web Service project with no success. Does anybody know how to tell VS.NET that this is like a A...
Enterprise development design question (2 replies)
microsoft.public.dotnet.framework.aspnet
Hello All, I have yet another design question. As I was building the framework to manage the security and standard look and feel for our web applications, I ran into the issue of making this functionality available to outside projects that needs to be developed. Security was not a problem, I'm going to simply build the security into a component and register it in the global assembly to be availabl...
expandable datagrid (4 replies)
microsoft.public.dotnet.framework.aspnet
Hi, I need to create a datgrid where some of the rows are expandable into child rows. The child rows are identical to the parent rows. Could someone please send me pointers to a site with an example of this? I think I found one once, but now that I need it I can't find it. Thanks, Deanna
Select un Item in a DropDownList created on the fly (2 replies)
microsoft.public.dotnet.framework.aspnet
Hello I want to select an Item in a DropDownList contained in a Cell of a DataGrid. It's Filled and Displayed when the DataGrid's Update Link is clicked. I can't find the way to select an Item from the DropDownList. In the DataGrid EditCommand Event, I can't find the control using e.Item.Cells(n).Controls(0) either e.Item.Cells(n).FindControl("ControlName") I think that in this event it's has not ...
How to deploy asp.net pages from one PC to another PC (13 replies)
microsoft.public.dotnet.framework.aspnet
Hi everyone, I develop a asp.net application in one PC using VS.NET (C#). For one page, I got 3 files named Login.aspx, Login.aspx.cs and Login.aspx.resx. Then I want to deploy this page to another PC which has .NET Framework installed. So I copied those 3 files to that PC, but when I tried to preview Login.aspx in browser (ie6), it didn't work, i got a runtime error said "Server Error in '/' Appl...
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