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 > april 2006 > threads for monday april 3

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

Can web forms communicate with one another directly?
Posted by Dean Slindee at 4/3/2006 9:34:11 PM
Can one webform reference another webform in the same project? I would like WebformB to tell WebformA to change the selected tab on a tabcontrol sited on WebformA. If not possible, please, just reply it's not possible. Example: Call WebformA.TabShow("pagBoard"), the reference to WebformA i...more >>


modify SqlDataSource parameters in code behind?
Posted by Dabbler at 4/3/2006 9:12:02 PM
I have a TextBox used to enter a search value and a DropDownList used to select which field should be searched on. I need to load a GridView with the search results. I have setup multiple select stored procedures and need to set the SqlDataSource to use the required stored procedure and pas...more >>

trouble with image
Posted by tjer at 4/3/2006 8:51:44 PM
Hi guys, I'm a beginner of asp.net:( When I click a (System.Web.UI.WebControls.)Button on a page,of course,its' click event has been assigned,the images on this page should be refreshed,right?These images' imageurl are such as "getpic.aspx?id=xxx".But refresh doesn't happen,why? Much than...more >>

Signout does not signout.
Posted by craigkenisston NO[at]SPAM hotmail.com at 4/3/2006 7:42:55 PM
So, I have this code : (AspNet 1.1) FormsAuthenticationTicket authTkt = new FormsAuthenticationTicket(1, _username, DateTime.Now, DateTime.Now.AddMinutes(60), true, userdata); string encTicket = FormsAuthentication.Encrypt(authTkt); HttpCookie authCookie = new HttpCookie(FormsAuthentica...more >>

401 Access Denied Error
Posted by Tim Payne at 4/3/2006 7:23:28 PM
Hi, I have a site that works perfectly on my local machine and on a number of other servers, that uses forms authentication for the admin area. On a new server that I'm setting it up on, I get a 401 Access Denied .Net error when I try to access the protected folder. The rest of the .Net pag...more >>

Help binding a DataTable to a DropDown List
Posted by keithb at 4/3/2006 6:02:36 PM
Can someone tell me which properties of a DataTable are used for binding to a DropDown list? I have a DataTable named dt I think that I need to bind the "EnvID" column to DropDownList1.DataValueField and the "ShortName" column to DropDownList1.DataTextField Thanks, Keith ...more >>

ASP.net built in ajax calls?
Posted by darrel at 4/3/2006 5:34:57 PM
Last week I asked about ASP.net 2.0 AJAX frameworks and there appears to be several to choose from. I haven't used ASP.net 2.0 yet, but from doing a bit of reading, it appears that ASP.net 2.0 also has some client side call-backs built in that can update the display via AJAX. To ask a mo...more >>

Timezones
Posted by Mark at 4/3/2006 4:24:30 PM
We are all, or at least most of us, are writing web applications that can be accessed from any place on the planet. And yet Microsoft has yet to write a datetime object that can deal with anything other than local and UTC time. I have users in Toronto. I have users in Bangor. Why can't I conv...more >>



Simple One
Posted by Sean at 4/3/2006 3:29:01 PM
hit a button and it does some stuff and closes the browser window. The last part is what i need help on. Closing the browser window (the "stuff part is nearly 6 pages and finally almost over)...more >>

Vsiaul Studio and Firefox
Posted by VickZaro at 4/3/2006 3:26:23 PM
My computer has been hijacked and I cannot get it out. My default browser is now firefox. How can I indicate to VS that the execution browser is now firefox? ...more >>

Inheritance Question
Posted by tshad at 4/3/2006 3:03:53 PM
I am playing with Inheritance and want to make sure I understand it. I have the following Classes: ******************************************* Public Class AuthHeader:Inherits SoapHeader Public AuthHeaderName As String Public SessionKey As String = "Default" End Class Public Class Serv...more >>

How to: load a web page into new browser window via code behind?
Posted by Rob R. Ainscough at 4/3/2006 3:02:07 PM
In my code behind (VB.NET 2.0), I've been using Response.Redirect("mypage.aspx") to navigate from one page to the next. What I'd like to do now is load a new browser window and load it with the page I specify using code behind (VB.NET). I've searched and searched but I'm not finding an easy...more >>

FormView bound to Custom Class with Object DataSource
Posted by Stuart Ferguson at 4/3/2006 2:38:04 PM
I am currently writing a screen in my application which uses a form view control bound to an ObjectDataSource, the Business Layer is using a custom class to overcome passing mutiple parameters to the business layer however when the control in the FormView is a DropDownList it seems the values ar...more >>

ASP.NET 2.0 clientvalidationfunction Firing When it Shouldn't
Posted by mwieder NO[at]SPAM gmail.com at 4/3/2006 2:02:47 PM
I've got an ASP.NET form with a textbox and a customvalidator. The form inherits from a base wizard class with back, next and cancel buttons. The CausesValidation property of the Cancel button gets set to false, yet the javascript clientvalidationfunction is firing when the cancel button is hi...more >>

Detailsview Help?
Posted by Joe at 4/3/2006 2:00:11 PM
I am trying to use the detailsview control on a form. The record consists of id, customerid, timestamp and a few other informational pieces. What i want to know is the customerid and the timestamp do not have to be shown to the user adding, editing or removing records. I do not know how to ad...more >>

How to screen scrape for results?
Posted by Swanand Mokashi at 4/3/2006 2:00:09 PM
Hi all -- I would like to create an application(call it Application "A") that I would like to mimic exactly as a form on a foreign system (Application "F"). Application "F" is on the web (so basically I can not control it). I will have a form exactly on Application "A" as that of Applicatio...more >>

Error:"Cannot execute a program"
Posted by Tom at 4/3/2006 1:54:01 PM
After completing my app, I moved it to the production server. It ran ok for two days on the production server. Then, I made a change to the login process, which forced a dynamic compile(I do not pre-compile). At first, I would get the error only on the page I changed but within a couple ...more >>

Parser Error Message: Could not load type '_Default'.
Posted by 3Dfelix at 4/3/2006 1:38:34 PM
Hello, I'm starting with Visual Web Developper and ASP.NET 2.0. In order to test my remote server, I created an "hello word" aplication, that is working on local server. I have copied all document to remote server using FTP. The error that I have is the following: Server Error in '/w1' ...more >>

How to reference image within the App_Themes folder?
Posted by walter at 4/3/2006 1:21:02 PM
Hi there, after I put my images under theme folder, I'm stuck in the page because I don't know how to reference the image URL? I cannot hard-code because theme maybe switch. It looks like I need to dynamically get the theme folder then I can assemble a relative path. Is there any way to do...more >>

Call a function on another WebForm?
Posted by Dean Slindee at 4/3/2006 12:20:37 PM
Would like to call the TabShow function on WebForm InOutHost from another WebForm in same project, but cannot figure out how to get a reference. Can this be done? In this statement: Call InOutHost.TabShow("pagBoard"), the reference to InOutHost is not resolved. Thanks, Dean S Partial Pu...more >>

<<< Connection Problem with SQL Server + C#.Net on Local Area Network >>>
Posted by gndzkdr NO[at]SPAM gmail.com at 4/3/2006 12:12:31 PM
hi all, i m new on Sql and i have a project related to C# and Sql. i have to do a project which must work on LAN, and there must be only one database file on main computer(Server Computer) and other computers(client computers) must connect database on main computer. i m preparing my proje...more >>

iterate over all images in a page
Posted by jd at 4/3/2006 12:05:19 PM
Question from an ASP.Net newbie: using ASP.Net 2.0, how can I iterate over all the images in a page? The reason: I need to tweak the URLs for each image (I need to insert an "order id" field so that the proper image is selected). Thanks... -- jeff ...more >>

AD, IIS 6.0, .Net 2.0 Framework getting 404 error
Posted by Nurm at 4/3/2006 11:28:47 AM
We have a live webserver that is running .net 1.1 and 2.0 (mainly 1.1 websites). This morning we put a .net 2.0 test website onto the server and are getting http 404 errors. The 2 different versions of the framework are on different application pools. Both versions of the asp.net are allowed, b...more >>

asp.net 2005 not all items center in FireFox
Posted by Bishop at 4/3/2006 11:25:36 AM
I added a browser caps section I've used with 2003 but it still renders the same. Firefox Version 1.5.0.1 My ASP.NET menu (orientation set to horizontal) and all the content is in a table where the TD is set to center. renders as desired in IE Any ideas? ...more >>

No accessible Main
Posted by P K at 4/3/2006 11:20:02 AM
Hello, I have a console application. I have 2 or 3 classes. I also have a class in which I have nothing other than the main function with the follwoing signature public shared sub Main End Sub I main I create other objects and so on... but I get an error "No accessible main method w...more >>

keeping resx files in another folder
Posted by neilmcguigan NO[at]SPAM gmail.com at 4/3/2006 10:09:19 AM
is there a way to get visual studio (2k3) to put and keep resx files in a folder? i create yada.aspx yada.aspx.resx is created i move yada.aspx.resx to folder deda next time i start VS, there is a new file yada.aspx.resx in the root folder thanks neil ...more >>

deploying app
Posted by neilmcguigan NO[at]SPAM gmail.com at 4/3/2006 10:05:39 AM
my local web.config on my development machine is different than the live version, ex some hardcoded paths (required by a stupid control) and debug=true vs false what's a good way to keep live and test web.configs synchronized, ie if i add a setting, but maintain the necessary differences? T...more >>

Formatting a DataGrid header?
Posted by Dave at 4/3/2006 10:04:01 AM
Hi, I'm trying to use templated columns to format the header for my datagrid. Can I use the HeaderTemplate to make the "My Title Goes.." text to span across the entire datagrid table when it's generated? Or some other method? Thanks. <asp:DataGrid ID="dgList" AutoGenerateColumns=False Runa...more >>

target settings?
Posted by js at 4/3/2006 9:37:21 AM
hi, how to set th target settings so when click the link, will open in a new window? Thanks code: <asp:HyperLink ID="HyperLink1" NavigateUrl='<%# EditURL("ItemID",DataBinder.Eval(Container.DataItem,"ItemID")) %>' Visible="<%# IsEditable %>" runat="server" Target="_blank"><asp:Image ID="Ima...more >>

Mixed language development
Posted by Arne Garvander at 4/3/2006 9:36:03 AM
Supposedly the 2.0 framework allows mixed language development. Has anyone got it to work? I know it doesn't work in the app_code directory. -- Arne Garvander Certified Geek ...more >>

How to avoid execution of page_load event before click event of a
Posted by JoseValencia at 4/3/2006 9:28:03 AM
I have a page where I initialize a textbox.text value in the page_load event .. I have also a button where I want to do something with the value of the textbox.text . The user can change manually the value of the textbox. I have noticed that the textbox.Text property has always the initial v...more >>

Modify a placeholder
Posted by Andrea at 4/3/2006 9:07:37 AM
How is possible to modify a placeholder contained into a an ascx file referended by a page? I've tried to do it in the page_load event, declaring before a protected variabile, but it's out of scope. I've noticed that ascx file will be loaded just after the page_load event, but in the page_un...more >>

Failed to start monitoring file changes
Posted by rachana at 4/3/2006 8:55:50 AM
Hello, I have got one asp.net application which works fine on my local machine. When moved on the server, I get error, Server Error in '/MyApplication' Application. -------------------------------------------------------------------------------- Access denied to 'SomeDirectory\web.config...more >>

Storing resources in DB
Posted by YC at 4/3/2006 7:44:02 AM
Hi, We are considering storing our resources in a DB table. My question is whether using a custom provider with the resources stored in DB can downgrade the application performance? I understand that the .net framework use the resource as assembliles and store them in cache. My custom provide...more >>

Command Line Compiler
Posted by Charlie J at 4/3/2006 6:53:44 AM
I have added an external tool entry in VS 2005 to build my ASP.NET 2.0 web application. I checked the box to have the output come to the Output window. I get all of the starting messages but I never get a completion message in the window. The build does complete as far as I can tell because...more >>

Type Parameter in RegisterStartupScript
Posted by nospamnntp NO[at]SPAM yahoo.com at 4/3/2006 6:47:01 AM
What is the point of the Type Parameter in RegisterStartupScript? What other options do you have except string??? TIA! ...more >>

Reloading ObjectDataSource bound objects
Posted by Jamie Oglethorpe at 4/3/2006 6:09:02 AM
I have a simple prototype ASP application with a business object wrapping a data set. It contains a single data table. On my UI I have two object data sources; the first has a bound drop down list, with a description and key. The second has a bound details view showing everything except for...more >>

Cannot Debug
Posted by Johann at 4/3/2006 4:52:44 AM
Dear All All of a sudden, my application is not allwoing me to Debug. Everything was working fine until this morning, however now I cannot debug. I read a lot of threads and articles on this problem, and did everything possible, but my application is still not responding. The error is Verif...more >>

DataBinding ListBox.DataTextField
Posted by musosdev at 4/3/2006 4:01:02 AM
Hi guys I have an asp:ListBox on my form, which I'm populating with a DataReader, using DataSource/DataBind. The problem is that the main field I want to use for DataTextField, "Company" in this case, is often blank. How can I get the DataBinding to go... "if Company is blank, use Co...more >>

Table elements
Posted by santel at 4/3/2006 2:45:45 AM
Hi All, I have two tables one inside the other. Just like <table height="100" id="outerTable"> <tr> <td> <table id="innerTable"> <tr><td>News</td></tr> </table> </td> </tr> </table> What I need is, I want the inner table height should be the same as outertable. But I w...more >>

save a session to database
Posted by joe at 4/3/2006 2:18:01 AM
Can i save a session to database...more >>

question
Posted by mensuur at 4/3/2006 1:34:01 AM
hi, i didnt know what to call my question. i just wanted to know if you coulkd run a c# application in a webpage in the same way as running a flash application in a webpage. this would be quite useful for me. thanks -- mensuur...more >>

Web server Busy Problem
Posted by Octopus0 at 4/3/2006 12:27:13 AM
hi, I have an application that connect to another server when the user press a button but the problem is that if the user clicked the button many times and error page " There are too many people accessing the Web site at this time. " so i want a way to work around it so the user can't click...more >>

CreateObjetc --> ASP 177
Posted by sbourdette at 4/3/2006 12:00:00 AM
Bonjour, I just install Windows Server 2003 (+IIS6) and my old application doesn't work anymore because i'm unable to use server.createobject. My error is : --------------------------------------------------------- Objet Server erreur 'ASP 0177 : 800401f3' Échec de Server.CreateObject ...more >>


DevelopmentNow Blog