all groups > asp.net > january 2008 > threads for tuesday january 29
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
Accessing a Hidden HTML field in the OnInit() method
Posted by alun65@gmail.com at 1/29/2008 10:45:31 PM
I need to access a hidden HTML field on post back from the OnInit
method. This hidden field value has been set previously in the
Page_load event.
simplified example is as follows: IN THE CODE BEHIND
protected override void OnInit(EventArgs e)
{
Label1.Text = myHiddenFeild.Va... more >>
Could not load type 'System.Web.UI.IScriptManager'
Posted by Jurjen de Groot at 1/29/2008 8:10:26 PM
Hi,
I have developped an application in VS2008, using .NET 3.5
I'm using some Devexpress and Ms-AJAX controls and all works fine on the
DEV-machine (as it always does ;-) )
Now that it's deployed on the webserver I get the error as pasted in below:
I've asked the web-hosting company to ins... more >>
Clarification of Page and Resource Request Processing Sequence
Posted by Robert Cramer at 1/29/2008 8:10:24 PM
Just wanting to confirm (or clarify) my understanding of the page request
and rendering cycle:
Is the following true (even if not fully detailed)?
1. IIS receives a request for a .aspx page
2. IIS forwards the request to ASP.NET
3. ASP.NET then executes the requested .aspx page (okay, the ... more >>
FTP Upload
Posted by MDB at 1/29/2008 7:40:08 PM
Anyone have any pointers / links / examples on how to upload files through
FTP? I am currently using the built in file upload control however it seems
to take a very long time to upload files and would like to explore other
ways of doing it. Any pointers or suggestions would greatly be appre... more >>
Limiting T-SQL code as a .NET development standard
Posted by wildman@noclient.net at 1/29/2008 7:23:26 PM
I just switched jobs joining my third .NET shop.
My last shop was full of Database developers who built almost all
business logic into the databases. Most projects ended up with 100s of
Stored Procedures, Views, function. In some cases cursors were used,
etc.
My new shop is looking to imple... more >>
httpwebrequest vb.net
Posted by segue at 1/29/2008 6:25:02 PM
I'm trying to get an aspx popup calendar control to post its date value to
an asp.net aspx page in the same project. I thought that maybe I could set
a property but the scope of the calendar popup ends on that popup page so now
in asp.net/vb.net I think I need to do an httpwebrequest from t... more >>
Wizard control and Google Analytics
Posted by David Evans at 1/29/2008 5:28:35 PM
Hi
We are using the Wizard control on a few pages on our web site; we are also
using Google Analytics to trac pages.
It looks to me like the pages with the Wizard control are registering as a
single page as teh user steps through the Wizard. This is a problem, because
the Wizard is the p... more >>
Convert code line to VB.NET
Posted by shapper at 1/29/2008 5:15:36 PM
Hello,
I am having problems in converting the following code line to VB.NET:
Control[] list = MyFun(myControl, delegate(Control ctl) { ctl.ID ==
"MyControl"; });
Could someone please help me out?
Thanks,
Miguel... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
problems with form validation controls
Posted by merrittr at 1/29/2008 5:15:20 PM
I have the following validator control:
<asp:RangeValidator ID="RangeValidator1" runat="server"
ControlToValidate="Purchase_Date"
ErrorMessage="Invalid Date" MaximumValue="1/01/2222"
MinimumValue="1/01/1970"></asp:RangeValidator>
I am trying to use it to validate a textbox in a form vie... more >>
slow computer,mssql2000,vs2003,vs2005 not sure were to post
Posted by Paul at 1/29/2008 4:19:01 PM
This is probably not the correct forum but not sure where to post this. I
have a dell pc 2.4 gig intel processor, 1 gig ram, and am runing sql2005 and
have vs 2003 and vs2005 installed plus microsoft office 2003. Everything
works but the machine is very slow. It has 2 hard drives, and wind... more >>
question about MembershipUser.ProviderUserKey
Posted by william at 1/29/2008 2:41:01 PM
Hi,
I'm using ASP.NET membership 2.0.
What is the the length of MembershipUser.ProviderUserKey.ToString() for both
sqlmembershipprovider and activedirectorymembershipprovider?
Basically I want to store this information in my application database
"Users" table in order to link this table wit... more >>
Managing ASP.NET web applications remotely
Posted by PhilTheGap at 1/29/2008 2:08:37 PM
Hi,
Is Web Site Administration Tool able to manage web applications remotely? By
the way, can we start the WSAT without VS 2008 ?
Best regards
Philippe
... more >>
How to pass parameters into a thread?
Posted by rkbnair at 1/29/2008 1:46:01 PM
How can I pass a parameter to a new thread?
Thread t = new Thread(new ThreadStart(ThreadProc));
t.Start();
Thread.Sleep(0);
... more >>
Can someone help me sort this one out and quick?
Posted by Brent White at 1/29/2008 1:18:57 PM
Greatly appreciated in advance.
I am constructing a web service in VB.NET and the primary function
works terrifically, no problems.
Now, I am trying to extend the functionality by having the web service
call a function, also VB.NET, that direct posts a form to an external
page. They are ex... more >>
Check for file existence within own site
Posted by John at 1/29/2008 11:59:09 AM
Hi there,
I have a method in a code behind class that, given a string, checks to see
if the respective file exists within the same site. I'm using this:
System.IO.File.Exists(strFilePath)
....but is that the right way to check for a file in your own site and if so
does strFilePath need... more >>
unique insert using aspx vb and sql2005
Posted by Jim at 1/29/2008 10:57:41 AM
I'm using framework 3.5, aspx vb and sql server 2005. I have a form that
inserts user names. I don't want duplicate names, so how can I make a field
be unique?
Thanks.
... more >>
Time conversions from EST with daylight saving to GMT
Posted by Phil Johnson at 1/29/2008 10:13:16 AM
Hi,
I have a web application that will be hosted on servers with timezones
configured to EST with daylight saving.
My application takes an XML datafeed that contains times in GMT (also with
daylight saving that will change on different dates to EST)
Is there any way within the .net fram... more >>
DataList Highlighting
Posted by Joe at 1/29/2008 9:55:32 AM
Hi,
I am attempting to highlight rows in my datalist based on a
value in the database. My event handler is shown below:
Protected Sub DataList1_ItemDataBound(ByVal sender As Object, ByVal e
As System.Web.UI.WebControls.DataListItemEventArgs) Handles
DataList1.ItemDataBound
... more >>
how to include DLLs from a lower directory?
Posted by Michael Bray at 1/29/2008 9:55:20 AM
I have a web project that I am deploying as part of a standard installer
for a Windows Service application, with the web application stored in a
subdirectory. Some of the DLLs that the web app needs are located in the
service application directory.
Instead of duplicating the DLLs in to t... more >>
ASP.Net with Enterprise library 2.0 in hsoting environment
Posted by BabuLives at 1/29/2008 9:18:15 AM
Hi All,
I am using Enterprise library 2.0 for my site. Everything thing is
working fine for me locally.I have hosted my site on GoDaddy and for
every server side event that calls ExecuteScalar is giving me
"Resource not found" error. For Ex: if i click a button that updates
something using Ex... more >>
How to align items vertically on a datagrid
Posted by Julia B at 1/29/2008 8:21:02 AM
Hi, I'm working with .net version 1.1.
I've got a datagrid on a webform that my users want a fixed height, which is
fine. It can contain up to 10 records. If there are 10 records then it's fine
and looks very nice. However if there is only 1 record (or just a few) then
it looks daft, becaus... more >>
web studio 2008 runs slow
Posted by AleksKleyn@optonline.net at 1/29/2008 7:28:38 AM
I recently install web express studio 2008 on win xp, 2 gb memory. I
do not have problem when open project with asp files. However when I
open project with aspx files web studio runs slow. Each change on the
screen (even moving of cursor) gets 100% cpu time about 1 minute. What
I can do?
Thank ... more >>
Partial Class Source Code
Posted by Chris Fink at 1/29/2008 6:55:02 AM
I am using VS2008 Pro and having an issue with finding a partial classes
source code so I can modify an event handler that somehow got hosed up.
I have a simple web page that is loading a user control using the
Page.LoadControl method. This usercontrol has an asp:button that is not
firing ... more >>
issue when converting C#.net code into vb.net
Posted by Dhananjay at 1/29/2008 5:50:22 AM
Hi All,
I am facing problem when i am converting C#.net code(Delegate concept)
into vb.net. I am unable to do that . Can someone help me to solve the
problem. I am providing my C#.net code.
==================================my code is :-
======================================
[DataObject... more >>
Insert line break in text through code
Posted by Julia B at 1/29/2008 4:45:03 AM
Hi all
I've got a bit of code that inserts some text into a text field on a webform
under certain circumstances. The text needs some line breaks in it. This is
what I've done.
Me.OptionalNotesTB.Text = _
"- Unless otherwise offered in this quote no System Data
Requiremen... more >>
Visual Studio only debugs javascript in .js files not .aspx files
Posted by Phil Johnson at 1/29/2008 4:36:02 AM
Hi,
This is an issue that happens to me and everybody else I know and I've never
found a way around it.
In Visual Studio (currently using 2003 but the same has happened for me in
2005 and 2008 as well)
If I put a breakpoint in a .js file, the debugger picks it up and breaks
into it at... more >>
Visual Web Developer Express 2008 - Javascript Debugging - not in
Posted by Phil Johnson at 1/29/2008 3:32:01 AM
Hi,
I just installed Visual Web Developer Express 2008 for the Javascript
Debugging functionality.
I browsed to an ASP.NET 1.1 website running on my localhost and hit a
Javacript error.
I clicked yes to debug, but VS Web Dev Express 2008 is not in the list!
How do I get it in the l... more >>
Not connceting to remote sqlserver through IIS
Posted by Reddy at 1/29/2008 12:22:00 AM
When I create an websit in VS2005 and run it then it is running on the port
and it is connecting to remote sqlserver. But when I create Virtual directory
in IIS and try to run my website it is not connecting to remote sqlserver. i
am getting the following error.
An error has occurred while ... more >>
Frameset missing cookies
Posted by Sanjib Biswas at 1/29/2008 12:21:21 AM
Hi,
I have an ASP.Net application that runs in the localhost (site-A).
With-in the .cs file I am accessing another site (site-B) that returns me
cookies. I am also able to do a Post on that site and its working. But when
I set the returned cookies from site-B in the response header, ... more >>
|