all groups > asp.net > january 2008 > threads for monday january 28
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
is it possible to deploy a single aspx page with aspnet_compiler.exe tool?
Posted by Afshar at 1/28/2008 11:45:40 PM
Hi all friends,
I have a big aspnet project including several
several .aspx .ascx .resx. I publish this project everytime that i
want to deploy it. I use full compile-no update options so I just
bring some dlls to customers server. All aspx are converted to a
plcaeholder.
The problem is: Som... more >>
tooltip is not appearing for Asp.Net applicaton
Posted by faraz at 1/28/2008 10:26:30 PM
Hi,
I am building a site through Asp.net 2.0/C#. the problem is my
application has tooltips which are appearing normally when i run the
app or deploy to webserver and access through my pc. but there are
some pc's for which my asp application doesnt show tooltip at all... I
have never seen this ... more >>
<%# DataBinder.Eval(Container.DataItem, "FirstName") %> in a field of a web server control ?
Posted by abargaddon at 1/28/2008 10:03:51 PM
Hello everybody,
I need to use bound variables in a field of a web server control which
is inside a template. Many sources in the Web say it works, but for me
it does not, so I have made a test page :
<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
... more >>
AjaxControlToolKit question
Posted by abcd at 1/28/2008 9:59:00 PM
I am using AjaxControlToolKit calender extender. When I select the date from
calender control then the date is properly shown to the text box
(i.e.TargetControlID). But I dont get the cursor there in the textbox. How do
I get the cursor in the textbox once the date is selected. What trick shou... more >>
GridView-FormView (Master/Detail) Control not working...
Posted by yixiang at 1/28/2008 6:58:15 PM
Hi All,
I am a newbie to .NET programming and have been figuring out this
(master/detail) control.
However, it is not working...can someone please help me out???
<asp:GridView ID="GridView1" runat="server" DataKeyNames="ServiceID,
VersionNum" CellPadding="4" DataSourceID="SqlDataSource... more >>
Writing to users browser (system.io.stream outputstream)
Posted by mazdotnet at 1/28/2008 5:52:21 PM
Hi all,
I'm trying to integrate a third party library that would parse an
excel file and allows us to make changes to. Once I update the
appropriate cells, I want to allow my users to download the modified
file.
It works by
IWorkbook book =
NativeExcel.Factory.OpenWorkbook(this.MapPath(Fi... more >>
XhtmlTextWriter writes table and attributes problem
Posted by Hardy Wang at 1/28/2008 5:22:01 PM
Hi all,
I am building a Composite control, and I need to render Xhtml content for my
control. Here is my sample code:
protected override void Render(HtmlTextWriter output) {
XhtmlTextWriter xWriter = new XhtmlTextWriter(output);
xWriter.AddAttribute(HtmlTextWriterAttribute.Cellpa... more >>
MSDN Magazine Subscription // Good place to get it
Posted by sloan at 1/28/2008 4:20:18 PM
Does anyone know where a good ($$$ wise) place is to get a MSDN Magazine
Subscription?
As in, cheaper than the microsoft.com offering?
...
If your reference is based on personal experience, please let me know that
as well.
...
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
dbnull
Posted by segue at 1/28/2008 3:51:01 PM
How would I run an if statement for dbnull?
Much thanks.
Dim reader As OdbcDataReader = select_command.ExecuteReader()
Do While (reader.Read())
If reader.Item("somedbfield") <> DBNull.Value Then
... more >>
absolute path to ImageUrl property .....
Posted by Adam Right at 1/28/2008 3:42:50 PM
Hi All,
I'm developping a site using VS2008 (c#) on IIS 6.0.
In my application images are not shown by the image control, they are in the
web server machine and the main folder path is E:\PICTURES.
If I set the ImageURL property in the code and set it to the absolute path
of the image, i... more >>
Webserver in DMZ?
Posted by Tina at 1/28/2008 3:35:35 PM
At my old company we used to put the IIS web server, containing our asp and
asp.net websites, in the DMZ and the database on a machine that was behind
the firewall. In this scenario we knew we would be risking exposure of
everything on the webserver.
Is this still the prefered way to setup... more >>
Apache and .Net
Posted by rosoft at 1/28/2008 3:26:33 PM
Hi
Has anyone installed Apache on Windows XP and used it for .Net applications?
If so how does it work.
Lars
... more >>
What to use
Posted by Ty at 1/28/2008 3:03:24 PM
Hello all,
I need to build a site for internal use that will load in a web
browser, pull and save data from a DB and authenticate users with
Active Directory. That is the basic.
I have Visual Studio 6.0 with interdev and I also have Visual
studio .net but I have not messed with it at... more >>
Is my approach right?
Posted by Diffident at 1/28/2008 2:58:03 PM
Hi All,
I would like to customize the ASP.NET's calendar control so that if there
are any events for a particular day it would highlight/bold that day in the
calendar. I use a custom business logic to get the events which is not a
problem.
To bold the days that have events, I am developing ... more >>
Ajax on IIS error
Posted by Mickel Kurtis at 1/28/2008 2:10:29 PM
Hello, does anyone knows how to configura IIS 6 on Win 2003 Server to run
AJAX??
I´m getting an error on this line.
<asp:ScriptManager ID="ScriptManager1" runat="server">
Unknown label.
Thank you
... more >>
Session Clearing
Posted by Geo at 1/28/2008 1:46:03 PM
Hi, I use lots of sessions. I want to clear the unwanted sessions when I
leave a page. I cant use ViewState as it will slow down the pages. Could some
one help me on this?... more >>
Formview - Heavy?
Posted by Geo at 1/28/2008 1:44:03 PM
Hi, I use formview and detailsview very often. I heard that they slow down
the page. Is it true? I use them to make the page more user friendly. ... more >>
Updating Parent Page
Posted by Wannabe at 1/28/2008 11:24:15 AM
I have the following line of code in a couple pages:
ClientScript.RegisterStartupScript(typeof(Page), "ReloadParent",
"window.opener.location.href = 'summary.aspx?projectID=" +
Request.QueryString.Get("projectID") + "';", true);
On one page, this works just like I want it to. It updates th... more >>
Using Excel Interop via VS.NET 2005 to create and save a new Excel worksheet.. please help!
Posted by J'son at 1/28/2008 11:18:39 AM
Guys,
Please help.. I'm at my wits end! Yes, this is for an ASP.NET app and
I've already posted this to the vstool.office group too but no help
there..
Below is my code in C# (VS.NET 2005.. I have tried every combo I can
think of. Every "SaveAs"
call results in the strange HRESULT 0x800A03... more >>
Viewstate expires?
Posted by Chris Davoli at 1/28/2008 9:13:00 AM
I store some stuff in view state and then if I leave the browser instance
alone say for 20 minutes, it gives me this message when I go to retrieve from
viewstate. Before it expires it works perfectly. Is there anything I can do
to not have it expire? Or what is it doing?
IT HIGHLIGHTS IN RE... more >>
Session Timeout
Posted by John Walker at 1/28/2008 8:53:00 AM
In asp.net 2.0 is there a way on postback to determine if a session has timed
out and then redirect to another page which gives the user some sort of
"session timeout" message?
Thanks,
John... more >>
Website Running Slow Please Help.
Posted by Tageldinho at 1/28/2008 8:50:07 AM
Greetings all, I am the Web maintenance guy for a non-profit org, and
have been getting a lot of complaints that our website is running slow
(and I agree at times), we run asp.net but outsource our programming.
I was wondering if maybe you could help out and give me any clues as
to why our websi... more >>
Placing pre-formatted body text into Outlook email?
Posted by John Kotuby at 1/28/2008 8:02:25 AM
Hi all,
My ASP.NET 2.0 VB website has "Request More Info" link that opens a web
form and then sends that form via web mail. My customers have asked "Can you
get your site to place that form (along with the SendTo and Subject) into my
Outlook email client so that I have a record of my request... more >>
datarowview vs datarow
Posted by rodchar at 1/28/2008 7:21:05 AM
hey all,
DataRowView drv = (DataRowView)((GridViewRow)lbl.NamingContainer).DataItem;
i found this snippet on the net which works correctly in its context. It's
datasource is coming from a Typed DataSet.
Well, i modified the GridView's DataSource to use an UnTyped DataSet but i'm
getting... more >>
roles in web.config
Posted by scottw512@gmail.com at 1/28/2008 6:56:17 AM
Hi,
We have roles defined in web.config and have setup our roles system
where we can use User.IsInRole. The problem is that when a page fails
a role check, ASP.NET redirects it to the Forms Authentication login
page, instead of throwing a 403 HTTP exception that I can catch and
redirect to a ... more >>
BLL & DAL: How are they different?
Posted by gnewsgroup at 1/28/2008 6:18:39 AM
First, just in case, BLL = Business Logic Layer and DAL = Data Access
Layer.
I guess this is really a question about architecture. I believe there
are many architect here.
Software architecture is sorta new to me. I searched a little and did
find this:
http://www.velocityreviews.com/for... more >>
ASP.NET and IIS Security
Posted by Competitive Dad at 1/28/2008 6:12:00 AM
I have a curious issue which is really causing me to scratch my head.
I have a site that has two virtual directories attached to it (same physical
folder). One virtual directory uses Windows Authentication, the other is
Anonymous. It is hosted on Windows 2003 server.
I have a Sign In butto... more >>
dataset error
Posted by AVL at 1/28/2008 4:58:05 AM
Hi,
I've a requirement where in I need to read the data from a csv file and
load the data into the sql database. The file has around 1 lakh records. I'm
reading 300 records at a time from the file, loading into a dataset.
From the dataset, I'm reading the rows sequentially,and updating one b... more >>
Problem: 'HTTP/1.1 403 Access Forbidden'
Posted by geetikasetia@gmail.com at 1/28/2008 4:50:59 AM
I have created a solution in VB.NET. For some reason when I closed
the application and tried to re-open it I get the message "The Web
server reported the following error when attempting to create or open
the Web project located at the following URL: 'http//localhost/
filename'. 'HTTP/1.1 403 A... more >>
GridView bound to a Datatable results in runtime error on attempts to page. Options
Posted by chike_oji@yahoo.com at 1/28/2008 3:21:24 AM
Hello All,
Please I have a web application
in which I read an Excel spreadsheet into
a DataTable and then bind the DataTable to
a DataGridView.
Below is a summary of what I did:
///////////////////////////////////////////////////////////////////////////=
=AD/////////////////////////... more >>
Windows Workflow Foundation on .NET 2.0?
Posted by Speccy at 1/28/2008 1:46:49 AM
Is it possible to run Windows Workflow Foundation on .NET Framework
2.0? We do not want to go down the road of installing .NET 3.x
framework, at least not for the foreseeable future.
We want to use it with asp.net 2.0 (vb) applications.
Thanks.
... more >>
Singletons in Session...?
Posted by laziers@gmail.com at 1/28/2008 1:35:19 AM
Hi,
It is a good practice to insert singletons in Session?
I have more than 5 singletons and Im not sure that inserting all in
session state is a good idee :|
singleton looks like this:
public class DAO
{
public static DAO Instance
{
get
{
... more >>
|