all groups > asp.net > february 2006 > threads for saturday february 11
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
Capturing the HTML from an ASP.NET 2.0 page
Posted by Ken Cox - Microsoft MVP at 2/11/2006 11:54:49 PM
I'm trying to find a way to program in ASP.NET 2.0 but capture the HTML
output. I found the following routine in ASP.NET 2.0 Cookbook from O'Reilly.
It doesn't work if I include a server-side dropdownlist control on the page.
The error is RegisterForEventValidation can only be called during Re... more >>
List Box Heading
Posted by jack-e at 2/11/2006 10:17:04 PM
Hello,
How do I insert non-selectable headings into a list box?
e.g. if i had a list box displaying cities around the world - how could
i insert the country's name above each goup of cities
Australia (heading)
Sydney
Melbourne
New Zealand (heading)
Auckland
Wellington
Thanks!
Ja... more >>
asp:panel alignment problem
Posted by Gary Coutts at 2/11/2006 8:46:45 PM
Hi,
I am trying to center an panel using the following:
<asp:Panel id="pnltest" HorizontalAlign="Center" BackColor="white"
Width="800" Runat="server">
<asp:Button id=btnTest Runat="server" Text="press"></asp:Button>
</asp:Panel>
When view in a browser the following happens
mozill... more >>
open a new window from code behind
Posted by akki at 2/11/2006 7:39:14 PM
i am developing a webform in which there is a preview button.On
pressing the button, I have to open a new window and display another
aspx page there.Can anyone tell me how to do it? Response.redirect
opens the new page in the same window.
Akshay
... more >>
ASP.NET 2.0 and EntLib 1.1
Posted by Nick Zdunic at 2/11/2006 5:30:03 PM
I want to keep using 1.1 on EntLib on ASP.NET 2.0 but have found an issue
with the <enterpriselibrary.configurationSettings in the web.config
In Visual Studio 2005, when running there is a parse error. The message is
something like this:
Error parsing application configuration file at li... more >>
Will a user ever download a .manifest file separately?
Posted by Ken Spreitzer at 2/11/2006 3:46:21 PM
Hi, all. Quick question -- hopefully just a "yes" or "no".
Will a user ever download a (separate) file with the extension ".manifest"
when using *any* facet of .NET (ie, ASP.NET, WinForms, web service, etc)?
More specifically, if I parse the web server log files for a server which
either ... more >>
Something like cumulative or running sum
Posted by papaja at 2/11/2006 3:17:21 PM
Hello,
My table has 2 columns with some numbers:
col1 col2
---------------
5 0
0 5
0 10
2 0
8 0
I need a query for web page that will produce dataset with 5 columns:
col1 col2 cumulativeSumCol1
cumulativeSumC... more >>
How to set up Asynchronous in SQL connection string?
Posted by kai at 2/11/2006 3:07:47 PM
Hi,
I run a ASP.NET 2.0 sample program and get the following message:
Set "Asynchronous Processing=true" in the connection string.
But I cannot find the place to set it up, please help. I am using SQL Server
2005 Northwind Database.
Thanks
kai
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
ConfigurationManager class not available in VS2005 web project
Posted by Ben Fidge at 2/11/2006 1:43:32 PM
I recently upgraded a project from VS.NET 2003 to VS 2005 and after
compilation I get the following warning:
'System.Configuration.ConfigurationSettings.AppSettings' is obsolete: 'This
method is obsolete, it has been replaced by
System.Configuration!System.Configuration.ConfigurationManager... more >>
DropDownList - Sample (vb) of how to do Muliple Linked Together?
Posted by Dano at 2/11/2006 1:06:27 PM
I have been away from VB for a while, but now trying to figure out how to
have several DropDownLists on a web page, whereby when I pick a value in the
first list, it will show a narrowed list of choices on the 2nd list, etc.
For example, if on my left hand side, I pick, "Colorado", the box to... more >>
VS2005 Add Reference
Posted by Mark Olbert at 2/11/2006 1:00:04 PM
I'm running into some oddball behavior that I hope is not by design.
When I add a reference (via Add Reference) to the bin folder, some, but not all, of the assemblies referenced by the assembly I'm
adding are also added. Example:
Support.dll depends on Splash.dll, DesignTime.dll, License.dll... more >>
Session not available in Application_PreRequestHandlerExecute
Posted by Ben Fidge at 2/11/2006 11:42:00 AM
After converting my project to ASP.NET 2.0 any reference to the Session[]
object returns a null reference within Application_PreRequestHandlerExecute
events.
This worked fine in APS.NET 1.1, so can anyone please recommend an
alternative method of achieving the following functionality:
Un... more >>
Server.Transfer does not show correct page in address bar
Posted by Ben Fidge at 2/11/2006 11:15:43 AM
When using Server.Transfer, the calling page name is still displayed in the
browser address bar, as opposed to the called page. This is really confusing
my customers!
Is there a way round it?
Ben
... more >>
Loggin in on the fly
Posted by Lee at 2/11/2006 10:57:22 AM
Hello all,
I have a question about logging in users. Let's say that my website
sends an email to a person with a link to go directly to a particular
part of the site.
The user must be logged in, in order to go to that particular portion
of the site. What is the common methodology for... more >>
Uses of The 4th Dimension (New Discovery by The Human Race)
Posted by use4d NO[at]SPAM mail.com at 2/11/2006 9:15:17 AM
Uses of The 4th Dimension (New Discovery by The Human Race)
The 4th Dimension is "The next step in Human Evolution".
The Currency of The 4th Dimension is: ENERGY.
Did you know: The Human Mind is a natural PRODUCER of ENERGY?
You already have plenty of ENERGY to use in The 4th Dimension
... more >>
Scrollable Data Grid
Posted by Steve at 2/11/2006 8:07:27 AM
is it possible to create a scrollable data grid without using the div command
(i've tried this and it doesn't look good in our system).
I was using a program called scrollinggrid, but the designers seem to have
disappeared.... more >>
updating the parent page after modifying data on a child page prob
Posted by ads at 2/11/2006 2:03:27 AM
hi guys,
Here's the scenario:
i have a gridview on a parent page. Then i open another (child) page where i
can modify the data on the dridview.
How do i update the gridview soon as i do modification and close the child
window ?
I just need a triger event to rebind the gridview but how can i... more >>
How to set up Asynchronous in connection string?
Posted by kai at 2/11/2006 1:49:35 AM
Hi,
I run a ASP.NET 2.0 sample program and get the following message:
Set "Asynchronous Processing=true" in the connection string.
But I cannot find the place to set it up, please help.
Thanks
kai
... more >>
Passing HTTP Headers
Posted by Purushottam Khandebharad at 2/11/2006 12:01:06 AM
Hi all,
I need to pass HTTP Headers from onw web site to another web site as I
need to post a form on one web applications page to page on different
web site both sites are under my control,
and user credentials are to be passed from HTTP headers
I have used HTTP modules in asp.net and regi... more >>
How-to force Profiles to use SQL Server 2000
Posted by Saber at 2/11/2006 12:00:00 AM
I've not installed SQL Express and want to use SQL Server 2000 instead,
I want to use SQL Server address instead of App_Data folder.
web.config contains:
****************************************************
<anonymousIdentification enabled="true"/>
<profile>
<providers>
<add name="ProfileProv... more >>
Show files in datagrid (DirectoryInfo), make button to choose a file and put the filename in a session-variable
Posted by Øyvind Isaksen at 2/11/2006 12:00:00 AM
I have a datagrid that displays all files in a folder. It works good, but I
need a extra column with a link for choosing image.
As shown in the code below I have made an ItemTemplate for this, and what I
need to do is to put the filename in the CommandArgument. How do I do that??
Is this the ... more >>
losing data
Posted by Lloyd Dupont at 2/11/2006 12:00:00 AM
On my web page I have a custom control developed in a C# library.
Somehow when I post the page, the user input disappears.
I override OnLoad() and check the value of my inputText.Text just before and
after base.OnLoad() and the user entered text never even seems to reach my
TextBox, although t... more >>
|