all groups > asp.net > november 2005
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
DetailsView template field problem
Posted by Ram at 11/30/2005 9:22:02 PM
I'm using detailsview control with a template field which contains a
dropdownlist
I databind the dropdownlist during page load, now the problem is
dropdownlist loses state during postbacks, i looked at the enableviewstate
property to see if viewstate is enabled and it is.
Any ideas!!!
... more >>
Align Text in Label Control
Posted by Jim McGivney at 11/30/2005 8:27:31 PM
I would like to center align the text in an asp label control.
Surely this is possible, I can't find the proper syntax in the
documentation. Any help is appreciated.
Jim
... more >>
"CS0007: Unexpected common language runtime initialization error
Posted by mj at 11/30/2005 8:26:10 PM
When I'm trying to run any asp.net application, the following error appears:
"CS0007: Unexpected common language runtime initialization
error --Catastrophic failure"
I've reinstalled .NET Framework but without any results.I've also tried to
use aspnet_regiis -i but the problem is still the sam... more >>
Asp.net databinding to objectdatasource
Posted by Ram at 11/30/2005 8:16:03 PM
I have an issue with detailsview control bound to an objectdatasource.
scenario is i have a business logic component with CRUD methods that accept
custom business entity objects. In asp.net layer I'm using gridview and
detailsview controls that gets bound to an objectdatasource control which ... more >>
Migrating ASP.NET project from .NET Framework 1.1 to 2.0 problem
Posted by Hrvoje Vrbanc at 11/30/2005 8:12:54 PM
Hello all!
I have opened a production web site (project) created in VS 2003 in VS 2005
and an automatic conversion was performed. No errors were reported except
the message that my application is configured to use .NET Framework 1.1.xxxx
and that I have to manually reconfigure the applicati... more >>
Could not load type error with Asp.Net 2.0
Posted by werdna.sivad NO[at]SPAM gmail.com at 11/30/2005 7:17:37 PM
I built an ASP site using the new Visual Studio 2005. The site uses a
simple master page. On my local machine everything runs just fine.
When I publish the site and FTP it to the server, it doesn't run. I
get the following error message.
Server Error in '/test2' Application.
--------------... more >>
MasterPage Method Invocation from ContentPage
Posted by User at 11/30/2005 7:04:37 PM
OK, I asked in a reply, but I've wasted far too long so I'm going to put
a new post out there in hopes that it will be more visible.
I have a MasterPage. I want to call a method declared in that class from
a Page that uses the MasterPage. How do I do that?
public partial class List : Syste... more >>
Regular Expression
Posted by unwantedspam at 11/30/2005 7:01:05 PM
Thank you in advance. I have a string that is variable length. Every
five characters I need to put a "<BR>" in. So if I have the following:
Dim Test as string = "xxxxxxxxxxxxxxxxx"
I need to get "xxxxx<BR>xxxxx<BR>xxxxx<BR>xx". I think a regular
expression would work for this. Now this probl... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
IShellFolder::GetAttributesOf
Posted by Edwin Knoppert at 11/30/2005 6:06:33 PM
I need this com object, how will i get it into ASP.NET?
I can do it through winapi (SHGetFileInfo) but i would like the com
interface.
It's behaviour is slightly different (more speed internally)
I need to determine if a folder has subfolders: SFGAO_HASSUBFOLDER
??
... more >>
Confirm after saving (asp.net)
Posted by CalSun at 11/30/2005 6:04:52 PM
Hi all,
I need your help. I have an asp.net page with a simple component. After
users hit the Save button, I like to confirm them with a message including
the record #. What is the best way to do this? Thanks.
--CalSun
... more >>
Isseu with Project-less ASP.NET 2.0 - where are compiler conditional symbols?
Posted by Hossein Farkho at 11/30/2005 5:45:38 PM
I had a ASP.NET 1.1 project with 2 ".csproj" files, each one had different
sets of compiler symbols (directives) so I could use the same code and
compile two different versions of the project very easily.
After converting to ASP.NET 2.0, since there is no project file, there is no
way to se... more >>
Clientside validation in login control
Posted by Jon Paal at 11/30/2005 5:14:24 PM
using VWD and asp.net 2.0
how do I enable clientside validation in ligin control ?
Following code does not produce popup alerts or red asterisks .
====================
<div id="content">
<asp:loginview id="LoginArea" runat="server">
<AnonymousTemplate>
<asp:login id="Login1" runat="s... more >>
Application pool and Worker process
Posted by J-T at 11/30/2005 4:52:31 PM
I guess I'm a litte bit confused about app pool and worker process.
In IIS 6.0 We have a concept of worker processes and application pools. As I
understand it, we can have multiple worker process per appliction pool. Each
worker process is dedicated to a pool. If I assign only one application... more >>
Dataset Question
Posted by Stephen at 11/30/2005 4:44:11 PM
Hi,
I have 2 datasets one has "Regions" and "Systems" other has a bunch of Data
along with "Systems" and 4 checkboxlists for regions (North, South, East and
West)
I have to compare the 2 datasets and then enable appropriate checkboxlist
after matching the systems
Is there a way of doing this... more >>
Webservice .NET DLL WinServer2003 IIS6 Problem
Posted by samn at 11/30/2005 3:36:29 PM
I made a c# .net webservice that uses a class in a separate .net dll
(x.dll) . This .net dll (x.dll) has dependencies on other DLLs. I put
all of these DLLs (x.dll along with it's dependencies) into the bin
folder of the webservice. On a WinXP machine the webservice runs
properly when I try to i... more >>
VS 2003 corrupted?
Posted by Dica at 11/30/2005 3:12:22 PM
last time i ran VS 2003, i had no problems. i've downloaded nothing new and
changed no other settings. today, when i attempt to open one of my projects
i get "Visual Studio .Net has detected that the specified web server is not
running ASP.Net..." error message.
i first tried to re register th... more >>
Server Application Unavailable error when result set is big
Posted by Ricardo at 11/30/2005 2:47:54 PM
Holas , tengo un problema al momento de cargar una datagrid en asp.net,
la consulta devuelve 10000 registros y 25 columnas, pero al momento de
cargar el datagrid se muesra un error con el siguiente mensaje Server
Application Unavailable ... alguna sugerencia...gracias , ojo necesito
mostrar to... more >>
problem setting hidden field value
Posted by PJ6 at 11/30/2005 2:26:41 PM
From a control's onkeypress the below javascript snippet is executed. I am
attmpting to set the value of a hidden field... I believe I'd be able to get
the contents of the hidden field by using
"Page.Request.Item(MyHiddenFieldName)" sever-side, no? Unfortunately the
field doesn't look like i... more >>
Session variables or DataSet Table
Posted by asadikhan NO[at]SPAM gmail.com at 11/30/2005 2:15:48 PM
Hi,
I have a table in my database called users which contains user
information like their login id, password, first name, last name,
phone, etc. Once I retreive this information, I'd like to hold it in
memory. One obvious way of doing this is session variables. However, I
am thinking whether ... more >>
ASP.NET 2.0 Windows Control Library in IE works once
Posted by Jeff at 11/30/2005 2:13:02 PM
I am creating an ASP.NET 2.0 application that I want to embed a Windows
Control into. Here are the steps:
1) I created a new Windows Control Library with a simple "hello world" app.
2) Compiled to DLL.
3) Put the DLL in the root directory of my asp.net application
4) Placed the following li... more >>
Dynamic calculation using databinding and Autopostback property
Posted by jagdishl NO[at]SPAM gmail.com at 11/30/2005 1:15:08 PM
Hi:
I have a form in which the total is calculated dynamically(without
using a submit button) based on the inputs given in the text box
fields.
I had bound the total textbox control using the custom binding
expression
system.convert.toDouble(txt0to30dayscosts) +
system.convert.toDou... more >>
Cammand line tool by which i can able to Change the Build and Revision number
Posted by Pankaj Jain at 11/30/2005 1:09:26 PM
Hi
Is there any cammand line tool by which i can able to change the build and
revesion no of the compiled assembly
Thanks
Pankaj Jain
... more >>
itextsharp pdf generation, insert image header.
Posted by guoqi zheng at 11/30/2005 12:47:09 PM
dear sir,
I am using itextShap for pdf generation.
I know I can insert image into it, I can add header to it as well. However,
I can not add an image as a header.
Does any one has experience with it and know how to insert an image header
to the pdf file?
This image is our company log... more >>
High Memory Usage aspnet_wp.exe
Posted by Erkan Tatlidil at 11/30/2005 12:41:10 PM
Hi,
Our customer has a win2k Xeon 2.0 web server with 2GB of Ram. After a
certain time the aspnet_wp.exe consumes %70 of the Ram and comes to a
standstill. We end the process and everything is ok. We used memory profiler
to find out what is causing the problem but couldn't come to a result.... more >>
Embeding Directx in aspx page?
Posted by PickwickBob3 at 11/30/2005 12:36:14 PM
Is it possible to use directsound in an aspx web page?
--
BP... more >>
Gridview Conditional Formatting ?
Posted by euan NO[at]SPAM madprops.org at 11/30/2005 12:30:54 PM
HI Guys,
I have bee using conditional formatting in the datagrid recently and I
am moving over to framework 2.0 and noticed the datagrid has been
replaced by the gridview. So, I would like to do conditional formatting
on the gridview but it doesnt have the same methods.
Currently in my data... more >>
Accessing HTML text box values server side aspx
Posted by Ryan at 11/30/2005 12:20:34 PM
Hello,
If I have an HTML text box that I want to manipulate with javascript,
how can I access the value of the text box on postback server-side?
Thanks,
Ryan
... more >>
OT: Place to ask an Indexing Services question?
Posted by darrel at 11/30/2005 11:59:50 AM
Can anyone recommend a forum catering to Indexing Services? MS doesn't seem
to have a newsgroup for that (or even one for plain ol' ASP anymore)...
-Darrel
... more >>
Virus Checking
Posted by tshad at 11/30/2005 11:47:07 AM
We are allowing uploading of files to our site, but want to make sure there
are no viruses in the documents.
How do we set up our system to virus check an upload from our Asp.Net site?
Thanks,
Tom
... more >>
Access text box using variable
Posted by flash at 11/30/2005 11:46:58 AM
Hi,
I am trying to access a text control using a variable name rather than a
fixed id.
ie I have a text controls called "tx1" "tx2" "tx3" etc. and i want to set
the control using
something like
"id" & variable
rather than "id1"
Is there a way in asp.net i can access a text contro... more >>
Accessing HTML text box values server side aspx
Posted by Ryan at 11/30/2005 11:45:57 AM
Hello,
If I have an HTML text box that I want to manipulate with javascript,
how can I access the value of the text box on postback server-side?
Thanks,
Ryan
... more >>
MS Spell Checker
Posted by tshad at 11/30/2005 11:45:55 AM
Is there a way to use Microsofts Spell Checker in my Asp Pages?
Tom
... more >>
HUGE Viewstate
Posted by Mantorok at 11/30/2005 11:28:39 AM
It's not unusual (to be lo....cough) for me to have VIEWSTATE ranging from 1
full page to several pages.....
This seems in-efficient - any ideas how to reduce the thing?
Thanks
Kev
... more >>
Hi,how to Convert unicode string to MultiByte in VB.net?
Posted by Billow at 11/30/2005 11:20:07 AM
And how about MultiByte to unicode string?
... more >>
Stringbuilder Class
Posted by Paul at 11/30/2005 10:17:43 AM
Could anyone show me the code that allows me reset a Stringbuilder back to
either null or nothing or a blank space?... more >>
Reg: ASP.NET 2.0 Menu
Posted by comzy at 11/30/2005 10:17:06 AM
Can anyone tell me whether Menu Control given in VS.NET 2005 supports
cross frame support? If not can anyone tell me how to achieve that?
Thanks and Regards,
Shiva.
... more >>
Validate page programmatically
Posted by tshad at 11/30/2005 10:15:53 AM
How do you set the Page.IsValid property manually?
I need to check if a bunch of radio buttons are set and if none are I want
to display a message that you need to select one.
I just have a ValidateButtons routine that I call when a button is pushed
and it will set a message on the page if... more >>
DetailsView
Posted by Roger at 11/30/2005 10:13:49 AM
Anyone had success with updating records with DetailsView? Using SQL2000
database and I can view records fine and even add or delete them but when I
click update option, everything appears to have worked except the record
doesnt get updated?
Roger
... more >>
Exporting datagrid to Excel
Posted by Alex A. at 11/30/2005 10:01:21 AM
I got some code off of dotnetjunkies.com to export a datagrid to excel.
Everything works fine when I test it on my localhost, but when I move
it to a server it doesn't do anything (no errors, just a plain
postback).
What am I missing?
Is it a security issue?
Any help appreciated and he... more >>
Re: what/where is the .resources file
Posted by Daniel Fisher(lennybacon) at 11/30/2005 9:58:45 AM
Normally this would be the file wanted.resx.
But is it possible that you try to load a resource from a wrong (the
dynamic) assembly?
--
Daniel Fisher(lennybacon)
http://www.lennybacon.com
"Rob Dob" <robdob20012002@yahoo.com> wrote in message
news:Oi6SNHQ9FHA.4076@tk2msftngp13.phx.g... more >>
Re: How to read Forms LoginURL?
Posted by Daniel Fisher(lennybacon) at 11/30/2005 9:56:49 AM
string _loginUrl = "/login.aspx";
System.Xml.XmlDocument doc = new System.Xml.XmlDocument();
doc.Load(HttpContext.Current.Request.PhysicalApplicationPath +
"web.config");
System.Xml.XmlNode node =
doc.SelectSingleNode("/configuration/system.web/authentication/forms");... more >>
To 2x or 1x that is the Q...
Posted by JDP NO[at]SPAM Work at 11/30/2005 9:43:17 AM
Not knowing where to begin.... no particular order...
1) What does a web hosting company need to have installed so that I can host
pages developed in the newer version of .aspNet?
2) I seem to use a fair amount of user controls, menu header (XML based) and a
datagrid pages that provide cons... more >>
ActiveX Web Control <--> ASP.Net
Posted by Weston Fryatt at 11/30/2005 8:50:36 AM
Simple question I hope....
How do I send data to and from an ASP.Net (server side) web page to a
ActiveX Control (client side) embedded in a web browser???
What I need to do, is I have image data (mostly TIFF format) that need to be
sent to our custom Image Viewer (ActiveX control). So fa... more >>
Deploying .NET
Posted by Adam Knight at 11/30/2005 8:35:14 AM
Hi all,
I have started using VS as opposed to Web Matrix, thus benefiting from the
ability to precompile my app.
With VS I know all my app code is compiled in the bin directory, so all
functionality is available from the resulting library.
I am just wondering how i go about deploying my ... more >>
Change web controls in one user control from another user control
Posted by DJ at 11/30/2005 7:49:07 AM
Hi,
I have a user control that produces and maintains a student form for test
enrollment. It contains all functionality such as adding, editing,
suspending, etc., a student from a selected test instance.
The main page uses the student form control (above), plus a control that
produces th... more >>
Convert word doc to HTML
Posted by Chris Davoli at 11/30/2005 7:28:05 AM
I've got a requirement to build a page using MS WORD and then have the page
show up on a web site. I know I can do a binary write and open up the WORD
document in IE plugin. Don't really want to do this because it displays in
the word editor. What I'm looking for is a way to upload the WORD do... more >>
Issue in ASP.Net 2.0 Looks for 'dbo.aspnet_CheckSchemaVersion' when it should be looking for "'<MyDBUser>.aspnet_CheckSchemaVersion'
Posted by freshlimesoda NO[at]SPAM gmail.com at 11/30/2005 7:06:07 AM
Membership API - I am using my own SQL Server.
On my hosted server i dont have dbo access. However seems like Its
hardcoded in the membership API to look for
'dbo.aspnet_CheckSchemaVersion' .
Is there a workaround to this ? I guess i probably need to write my own
custom provider ?
... more >>
Future of the UIProcess application block
Posted by gcastell NO[at]SPAM gmail.com at 11/30/2005 6:48:41 AM
Anyone knows if the UIProcess works in the .net framework 2.0? anyone
knows what the best practices group is planning to do with this?
Thanks
G
... more >>
Edit Word Document w/o automation/
Posted by briano NO[at]SPAM avanade.com at 11/30/2005 6:44:14 AM
Is there a library that allows editing Word documents in the browser
that is browser independent?
Please forgive this question. Just trying to cover all bases.
So far what I see is HTML or RTF editing in the browser. Need the
".DOC" standard so no conversion will have to take place when savi... more >>
V1.1 Virtual Folder when V2.0 installed for the virtual server?
Posted by Jéjé at 11/30/2005 6:37:05 AM
Hi,
which options I have to addd in the web.config file(s) to allow a V1.1
application to run in a virtual directory when the root web site is a v2.0?
I'm using Reporting Services which v1.1 application, but if the root web
site is a v2.0, then the /reportserver virtual folder doesn't work... more >>
|