all groups > asp.net > january 2004 > threads for saturday january 24
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 31
Templating technique
Posted by Patrick Kristiansen at 1/24/2004 11:41:17 PM
Hi group!
I've been using the templating technique where you create an inherited class
of Page, and during it's Render method write the template HTML before
calling base.Render(). (See http://tinyurl.com/33lbz).
But what if I have a page, where I would like to be able to generate a
dynamic ... more >>
Hybrid Project
Posted by A.M at 1/24/2004 10:33:00 PM
Hi,
Can I have both C# and VB.NET pages/modules in a visual studio.net project?
Thanks,
Ali
... more >>
Handling events
Posted by SOS at 1/24/2004 9:16:26 PM
Hi guys,
i need to create some of my controls dynamically.
for example i want to create a button on my web form with this code :
Dim btnMyButton As New Button
Me.Controls.Add(btnMyButton)
how can i handle the events of this button ?
Thanx
... more >>
Page_Load event firing twice... wierd!!
Posted by s_m_bishop NO[at]SPAM yahoo.com at 1/24/2004 9:11:09 PM
I've been fighting with the Page_Load event firing twice.
I looked through this user group and saw several other people having
similar problems.
There were various reasons for it:
AutoEventWireup="true" instead of AutoEventWireup="false"
Spyware software
And having your events all wir... more >>
More woes ResolveUrl
Posted by Lloyd Sheen at 1/24/2004 7:50:01 PM
I have a weird (at least to those who think the IDE should work) problem.
I have in code the following:
psFiles = Page.ResolveUrl("/Pictures")
This resolves to /Pictures in the code
In command window enter the following:
?Page.ResolveUrl("/Pictures")
This resolves to G:/MyPictures"
Do... more >>
ASP.NET screen scrape after form submittal?
Posted by rdlauer NO[at]SPAM hotmail.com at 1/24/2004 5:36:30 PM
I have written two completely separate web applications that cannot
talk directly to one another (applications "A" and "B"). Application
"A" has a form that takes some input (radio buttons, whatever) and
when that form is submitted via a POST, I get back some data. Simple
enough.
The trick is... more >>
Netscape / IE compatible?
Posted by Kristoffer Arfvidson at 1/24/2004 5:32:54 PM
HI!
I have a question....
when designing asp.net pages in vs.net I always see that labels are
transformed to <span tags...
I stopped using span and div before because of its lack of compatibility
with netscape...
However, in asp.net it dosn´t seem to be an option...
Do you guys know how c... more >>
More Die IDE Die
Posted by Lloyd Sheen at 1/24/2004 5:09:24 PM
After formatting killed the control. I delete it. Add it new. Can I
change the name so that all existing code will work. Not a chance.
Somewhere the old name exists.
I guess this IDE only works if no problems are found. RAD stands for Rapid
Agony Distributor for this IDE.
Comeon MS do ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Die IDE Die
Posted by Lloyd Sheen at 1/24/2004 5:01:48 PM
Jeeze now I changed the WordWrap for HTML to on. Bye bye formating, in
design view, a couple of hours work.
Please please fix this MS. This is possibly the worst development tool you
have ever made.
Lloyd Sheen
... more >>
Brain Dead Reformatting
Posted by Lloyd Sheen at 1/24/2004 4:50:55 PM
I know I have seen a way to stop the terrible reformatting that VS 2003 IDE
does. Beyond that is MS going to do a better (could not do a worse) job of
auto formatting.
Every change I make to the format of the page causes reformatting which
totally gets rid of the idea that controls are nested... more >>
How to create vanity urls?
Posted by Showjumper at 1/24/2004 4:14:32 PM
How would i go about making vanity urls such that its really the same url
for everyone but that it just appears different based on who logs in.
... more >>
Help me in ASP.NET
Posted by HelpNeeded at 1/24/2004 4:09:29 PM
Case #1
I am facing some problem for dipalying Japanese Charectors with ASP.NET. I
used "charset=SHIFT-JIS" in the meta tag.(Code is shown below). When i run
this code, the Encoding value of browser showing as "Unicode (UTF-8)" only
but it should be "Japnese Shift-JIS".
( This i verif... more >>
Reading HTML in frame
Posted by Chip at 1/24/2004 3:48:46 PM
Here's the problem: I need to look up records from Library of Congress and
associate the data to a book in my database.
Here's how I think it should work. Open the Library of Congress search page
in a frame within my app. Do your searching and select a record. Now click a
button on the "my app... more >>
How long for an http request to time-out?
Posted by Bruce W.1 at 1/24/2004 3:45:22 PM
How long will IE wait for a response to a http request before it
times-out?
Thanks for your help.... more >>
Namespace Problem in ASP.NET
Posted by jturley9023 NO[at]SPAM hotmail.com at 1/24/2004 3:19:42 PM
I am currently having an issue with an ASP.NET page not finding the
class library located in the application's /bin directory. The page
recognizes the compiled .dll class when running on my development
machine (IIS6/WinXP Pro) but when uploading to the web host the simple
error message of "Type... more >>
ASP.NET benefits for ASP
Posted by Aaron at 1/24/2004 1:28:12 PM
asp.net 1.1 has protection against XSS and sql injection. i'm also running
an asp site on the same server, is it possible for the server to
automatically detect those intrusion methods for my asp application?
thanks
... more >>
How to get selected date from a Pop Up Window Calendar?
Posted by Andreas Klemt at 1/24/2004 11:55:23 AM
Hello,
how do I get the selected date from a pop up window calendar?
Thanks for any examples or links in advance,
Andreas
... more >>
Bookmarking by User question
Posted by vMike at 1/24/2004 11:46:28 AM
Is there a way to adjust the url of the bookmark value when someone wants to
bookmark a page. When a user tries to bookmark a page they get the
non-postback
state of the page. I can use code to handle a querystring request to get
the user to the page they are want to bookmark (ex: an item they ... more >>
Techniques and Advice
Posted by .NET/C# User at 1/24/2004 10:45:31 AM
I am working on a project that is heavily object oriented, and we are all
new to .NET. I am trying to do some research on best practice/patterns for
reading many records, and paging the data etc. I get the feeling people
will just use DataReaders maybe. But our problem is that the system is
A... more >>
dropdownlist databind problems
Posted by Srinivas at 1/24/2004 10:07:10 AM
Hi,
My function returns a datareader object containing only one column of
datatype money. In asp.net I want to bind this datareader to a dropdownlist.
Can anyone suggest me how to do this with some sample code if possible.
Thanks
Srinivas
... more >>
XP file Searching
Posted by Gary at 1/24/2004 10:02:44 AM
I notice that using XP for searching through a project for strings does not
work, as it did in Win2k. It can't seem to find stuff in VB or aspx or much
else. Can this be fixed somehow? Is it an XP bug?
Thanks,
G
... more >>
Problem Populating Repeater
Posted by Roger at 1/24/2004 9:30:41 AM
Hi:
Can anyone tell me why my datagrid doesn't populate with query results. For
some reason, I get "System.Byte[]" when I run the following query:
Dim oConn As OdbcConnection = New OdbcConnection("DSN")
Dim oCmd As OdbcCommand = New OdbcCommand("SELECT TOP 1 * FROM Table1",
gridConn)
Dim dr... more >>
With respect to the data access layer, what do you all do?
Posted by Showjumper at 1/24/2004 9:27:59 AM
Do you all create dedicated data access layers for each project or do you
create resuable ones that you can use over many projects. Also, in the data
access layer, do you all create specific functions with the sql statements
hardcode into each and every function or just make a generic function an... more >>
Front Controller Implementation in ASP.NET is full of BUGS
Posted by NGM at 1/24/2004 8:21:05 AM
Hello All
When implementing FrontController sample MSDN
I am facing a lot of problems
try implementing the front controller patterm sample provided by microsoft: (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpatterns/html/ImpFrontControllerInASP.asp)
The irony of microso... more >>
session variables and global.aspx.cs - where do i put them?
Posted by tony collier at 1/24/2004 1:58:55 AM
if i put an array in
public class Global : System.Web.HttpApplication
{
//e.g.
public static int [] count=new int[5]
}
and then refer to it in my page .cs files as Global.count[0].... [4] will
every session in my application be accessing the same count array or wil... more >>
Are Frame pages really taboo in ASP.NET?
Posted by moondaddy at 1/24/2004 1:16:24 AM
Are frame pages really taboo in asp.net and if so, why and what's the down
side of using them? I'm trying to use user controls instead, but it seems
that a lot of things were a lot easier with frames and the user experience
was better. Some one please enlighten me.
--
moondaddy@nospam.com... more >>
Separating code from design
Posted by Chad Z. Hower aka Kudzu at 1/24/2004 1:02:58 AM
I want to do this.
I want my programmers to do all the code. All of it - run at server and run
at client.
I then want a graphic artist to make the look and the layout of the pages.
The graphic artists cannot use VS to edit the files. They will use any HTML
tool of their choice.
The f... more >>
Register TagPrefix ?? really a good idea?
Posted by Kristoffer Arfvidson at 1/24/2004 12:53:26 AM
Ok, so a new question...
Im building my page as dynamic as I can...
meaning that I have basicly one aspx page that controls everything...
so, I solved this by sending different variables to the page depending on
where i want to go, eg. www.myserver.com/gotopage.aspx?page=mainpage
ok, so, on t... more >>
|