473,543 Members | 3,588 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET Forum

20
5,595
thread by: Guadala Harry | last post Nov 19 '05 by: Guadala Harry
In an ASCX, I have a Literal control into which I inject a at runtime. litInjectedContent.Text = dataClass.GetHTMLSnippetFromDB(someID); This works great as long as the contains just client-side HTML, CSS, etc. What I want to do is somehow insert a *server control* into the , then set the server control's properties at runtime.
20
9,341
thread by: SMG | last post Nov 19 '05 by: Maverick
Hi All, I have created an application which is working fine and is in about to launch, now suddenly my mgmt says there are chances that Scrip ID( a particular id and not prim key) may have special characters like '&,*,),( or /' This data(field/key) I am passing this value as a querystring. e.g. value to be passed : ABC...
20
2,037
thread by: RWC | last post Nov 19 '05 by: Staik
Hi Folks, I have a windows 2000 server installation, IIS is running and the ASP.NET 1.1 SDK has been installed. I'm reading a book on ASP.NET and the lessons call for the first line to read <%@ Page Language="VB"%>. When I save the page and run it (from a remote machine) I get the following message; "The scripting language 'VB' is not...
20
4,421
thread by: J-T | last post Nov 19 '05 by: J-T
We are working on an asp.net application which is a 3-tier application.I was aksed to create a component which monitors a folder and gets the file and pass them to a class library in our business logic layer(so far so good and easy).I initialize my class which is using a FileSystemWatcher in my Global.asax and everything works fine.I have...
20
2,197
thread by: John Rivers | last post Nov 19 '05 by: Bork.
Hello, I am in the process of evaluating ASP.NET So far I am not impressed at all. It seems to me that a basic evaluation of the PROs and CONs of using things like HTML Server Controls, Data Controls, User Controls etc. all breaks down the same way: lots of cons very few pros.
20
2,397
thread by: Alan Silver | last post Nov 19 '05 by: Alan Silver
Hello, In classic ASP, I used to use two include files on each page, one before and one after the main content, to provide a consistent layout across a web site. That way I could just change the include files to change the layout. When I came to ASP.NET, I used user controls to do a similar thing. I have just been looking at master...
20
3,342
thread by: M.Siler | last post Jan 5 '06 by: darrel
Let me first by saying I am NOT a .net programmer, but am very skilled with ASP, JavaScript, HTML, DHTML, Flash development. I've been reading through posts here about Frames vs. Master Pages and there seems to be the thought of why use Frames when you can use a Master Page? How does a Master Page only update a section without re-displaying...
20
1,235
thread by: Parag | last post Mar 9 '06 by: Oleg Zherebin
Hi, I am trying to figure out best testing tool for my project. I have narrowed down my requirements to two tools NUNIT and VSTS unit. But I have used neither and I have to use only one of them. Hence can someone who has used them before share his/her experience on them so that I can get a better idea and make a proper choice ? Any link or...
20
1,446
thread by: Gef.Mongoose | last post May 11 '06 by: Juan T. Llibre
I MD5 encrypt passwords in a user table of my database. I have a global application object (initiated in global.aspx) which contains a few static members (for counting users online etc). because the MD5 encrypt algorithm is used on creation of a new user, and on login of a user, I considered putting it in a shared place. Would there be any...
20
3,749
thread by: Simon Says | last post Nov 18 '06 by: Mark Rae
Hi, I've a login page in which after authenticating it via the Oracle DB, I will stored the user information into the Session. However, when the Session timeout occurs, all of the user information will be lost. I've tried doing a Reponse.Redirect call back to my login page whenever I detected the Session is null, but I kept getting the...
20
1,511
thread by: jm | last post Jan 22 '07 by: jm
It is production, so I wondered why more people aren't using it. Is there any advantage to 2.0 developers to use 3.0?
20
19,203
thread by: Mr. SweatyFinger | last post Jan 31 '07 by: Alexey Smirnov
I'll never understand this for each ?? in request.form.items response.write ?? next what the heck is ?? and how do yo dim it? can it be any name?
20
1,039
thread by: =?Utf-8?B?SmFtZXM=?= | last post Mar 20 '07 by: Patrice
Hello all I am having a odd problem, I have a page that lists users (GridView), this list links through to another page when you click on the name. The second page lists all phone calls they received during the previous month (GridView). I have done this by a Querystring passing SupportId from the first to the second page. The second...
20
1,591
thread by: dancer | last post Jul 2 '07 by: dancer
Using Asp.net 1.1 I find tutorials on accessing or querying databases with asp.net. But how do I create the database to begin with (from a form that the user fills out)?
20
3,147
thread by: luqman | last post Jul 6 '07 by: Juan T. Llibre
If user login with the login control in ASP.Net 2005 and then just close the browser and then open the browser again, the login status shows, User still Login? Any idea, how to Logout the User when the User click on the Close Button of Browser ? I am using Sql Membership Provider for security. Best Regards,
20
1,663
thread by: Lit | last post Jul 24 '07 by: Brandon Gano
Hello, I need to create an Internet based, asp.net webform where a user can select multiple cities in a state. as you know the number of cities in a state can be very large. What is the best way of designing such thing. I need to give the user the best experience possible
20
2,975
thread by: tshad | last post Aug 1 '07 by: tshad
I had posted this problem earlier and just noticed that the Hyperlink is the problem. Apparently, it doesn't figure out the path correctly. It uses the path of the file it is in, even if it is a control. I have 2 files "displayCompanyJobs.aspx" and "displayCompanyOverview.aspx" which are in both the folder "/jobseeker/" and "/employer/"....
20
6,711
thread by: =?Utf-8?B?cmtibmFpcg==?= | last post Dec 17 '07 by: Steven Cheng[MSFT]
I was executing the steps given in http://suppor.microsoft.com/kb/308359 for testing a sample web service application. However, the following line gives a compilation error: localhost.Service1 xxx = new localhost.Service1(); localhost is not recognized by the compiler.
20
1,529
thread by: cmrchs | last post Aug 8 '08 by: Juan T. Llibre
Hi, I have in my web application project (VS.NET 2008) : - a webform (webform2.aspx, webform2.aspx.cs, webform2.aspx.designer.cs) - a code-file Product.cs. But i can't use the definition of 'Product' nowhere in my page-class- file (webform2.aspx.cs)
20
2,373
thread by: David Thielen | last post Sep 11 '08 by: Anthony Jones
Hi; When we add a reference to a web app, where is that information stored? There is no project file, it's not in the web.config or solution file. ??? - thanks - dave david@at-at-at@windward.dot.dot.net Windward Reports -- http://www.WindwardReports.com
20
1,752
thread by: Peter | last post Nov 7 '08 by: Peter
I need a popup alert after a post back. 1) user clicks on the submit button 2) Server side code runs and if the result is false I want to display a java script alert("It did not work") How to do I display a popup message after a postback ? Thank You
20
1,991
thread by: dougancil | last post Oct 7 '10 by: dougancil
I have the following code: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Untitled...
19
5,749
thread by: n0sPaM | last post Nov 17 '05 by: John Saunders
Is it possible to schedule an .ASPX page to run automatically, say every hour? N.B.
19
1,166
thread by: nospam | last post Nov 17 '05 by: Guinness Mann
NEWS.COM Amazon wins patent for ordering forms # 6,615,226 http://tinyurl.com/m7v8 http://news.com.com/2100-1017-5070569.html In its latest patent, the online retailing giant outlined a method for expanding portions of the ordering form, then collapsing that portion of the form and removing the data fields. The content for that...
19
3,455
thread by: Heidi Hundåla | last post Nov 17 '05 by: Jeffrey Tan[MSFT]
Hi ! I have a Wep App in C#. Page_Unload fires after Page_Load, and it seems totally unreasonable when you want to use this event when you _leave_ the page. In my project we wanted to use the Page_Unload - event to clean up the Session variables, but when it turns out that it fires before the end, it screws up the code, and

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.