all groups > asp.net > april 2005 > threads for monday april 4
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
Dll files instead of my asp.net pages
Posted by Ray5531 at 4/4/2005 11:58:53 PM
Is it possible to upload the dll of my asp.net project instead of all the
pages to my website?
What are the advantages and disadvantages?
Thanks
... more >>
How to get row data from DataGrid ASP:Button Click
Posted by DBLWizard at 4/4/2005 11:28:20 PM
Howdy All,
I am trying to get the data from a row of a data grid in asp.net This
is a data grid with five columns (two of the hidden) as follows:
<asp:datagrid id="grdMatching" runat="server" Width="100%"
Visible="False" Height="160px" AutoGenerateColumns="False"
AllowSorting="True"... more >>
Fix the control at the right side
Posted by Just D. at 4/4/2005 9:49:56 PM
Almost the same question as the previous one.
How can we fix ANY control to the right side of the form so that it can be
resizable together with the form/frame?
The same about the bottom of the form/frame.
Dmitri.
P.S. Programming is a process requiring 99%% of your time to fight with ... more >>
user control cant access ViewState of Parent control
Posted by Steve Richter at 4/4/2005 9:46:39 PM
In my user control I want to read the ViewState dictionary of the
Parent control. But this sensible idea is not permitted by the
compiler:
Compiler Error Message: CS1540: Cannot access protected member
'System.Web.UI.Control.ViewState' via a qualifier of type
'System.Web.UI.Control'; the qua... more >>
ConfigurationManager and web.config and ASP.NET refresh curiosity
Posted by Jay Hilyard at 4/4/2005 8:49:02 PM
Hi all,
I was playing with the new ConfigurationManager class in the Feb CTP drop of
VS 2005 and I noticed that if you make changes to the configuration inside of
an ASP.NET page, those changes are immediately written to the web.config when
you say Configuration.Save() but if I then try to ... more >>
Are there report tools with VS 2005
Posted by ad at 4/4/2005 8:45:16 PM
VS 2003 bundle crystal report as report tools.
Are there report tools with VS 2005?
Is it also crystal or anything else?
... more >>
When to rrelease VS 2005
Posted by ad at 4/4/2005 7:58:32 PM
When the VS 2005 will be released?
... more >>
namespace not allowed in script code declaration block?
Posted by Steve Richter at 4/4/2005 7:40:59 PM
I have a .cs file that contains the c# script of a page:
<script language="c#" runat=server src="item.cs"/>
The file item.cs contains c# code that contains a namespace:
namespace ItemPages
{
public class ShowItemToCust
{
public static void Redirect(System.Web.HttpRespon... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
controlling panel width from code
Posted by dba56 at 4/4/2005 6:16:08 PM
I have a panel containing textboxes and buttons which I use as a
header for a datagrid on a webform. I would like the panel width to
match the datagrid width. The datagrid width grows depending on the
data being displayed. I tried setting the panel style width to the
datagrid width after the ... more >>
Server cannot access application directory
Posted by Grant at 4/4/2005 5:45:02 PM
Hi,
I'm trying to setup a web server to host asp.net 1.1... but keep getting the
following error message:
Hopefully someone can give me some ideas on what I may need to do.
Thanks in advance - Grant.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Server Error in '/infosys226' Applicat... more >>
sending smtp mail with embedded images
Posted by Ersin Gençtürk at 4/4/2005 5:44:24 PM
hi,
which component do you prefer to send emails with embedded images ? Is there
a freeware and native .net component available ? Note that I don't want to
send images as attachments.
... more >>
CallBack not showing results
Posted by barry at 4/4/2005 5:02:52 PM
In a webform, I include as one of the parms a callback function in the
beginInvoke function.
Within the callback function put a literal into the textbox.
The textbox is not being filled. I realize it must have something to do with
the statelessness and have tried doing a setfocus using javascri... more >>
DataBinder.Eval for an object's property property... like Eval(Container.DataItem,"Version.Major")
Posted by Eric Newton at 4/4/2005 4:57:58 PM
Given databinding an array of System.Version types:
Given that "SomeObject" type has a Version property:
public class SomeObject
{
public Version Version { get; }
public string Description { get; }
}
and I want to bind a list of them to a datagrid.
DataGrid1.DataSource = some... more >>
newb stuff.
Posted by Qwert at 4/4/2005 4:57:17 PM
Hello,
I use Visual Studio .NET to create a .aspx page. When I do this it creates a
..dll assembly with name similar to the project. I assume that in this dll
all kinds of references are made to other needed dll's that I link using
VS.NET. But if I create the .aspx file with a text editor, ... more >>
terminating multiple try/catches
Posted by darrel at 4/4/2005 4:54:32 PM
Not quite sure how to word this.
I have a button click function that calls two different subs. One updates a
database, the other writes to a file.
Both of the subs have a try/catch within them. I'd like to have both of them
execute if they can, but if one can't, then have neither execute. Is... more >>
Programatically change user control added from the designer?
Posted by Edgardo Rossetto at 4/4/2005 4:53:10 PM
Is it possible?
Or I must add the control programatically in order to make changes
programatically?
Edgardo... more >>
Frames - still a swearword?
Posted by Michael at 4/4/2005 4:49:07 PM
I'm new to ASP.Net but been a programmer for decades.
I'm doing a new App and am intending to use an Item Listing Frame alongside
a Data Input Frame (I hate in-Grid editing). I figure when I hit Save on the
Input Frame the List will update (and who cares how long it takes) while the
Entry Fram... more >>
How to run aspnet with system account
Posted by Zeng at 4/4/2005 4:40:53 PM
Hi,
I'm running ClrProfiler for the first time to profile my web app, and it
keeps getting stuck at this msg box: "Waiting for Asp.net to start common
language runtime - this is the time to load your test page." even after I
launched my app and aspnet_wp.exe is running.
Do you know what I n... more >>
Verifying web.config
Posted by Tim at 4/4/2005 4:30:05 PM
Hi,
In my asp.net application, I wish to double check some of the options set in
the web.config file during application startup to make sure that for example
errors are never going to be reported to the internet user and that debug is
not set to true etc.
How does one read the following ... more >>
With different credentials.
Posted by Yahya at 4/4/2005 4:20:54 PM
Dear Sirs,
I would like to run the below code using other credentials than the user
running it, how can I use different credentials?
Thank you,
Yahya
Dim msgobj
msgobj = CreateObject("CDO.Message")
msgobj.DataSource.Open(sUrl, , 3)
If msgobj.fields("urn:schemas:httpmail:hasat... more >>
Consolidating images in one folder in wwwroot
Posted by pmud at 4/4/2005 4:01:01 PM
Hi,
On our webserver we have many web projects deployed. Each project has its
own folder for Images. Many of the images are common between projects.. I
need to create a separate folder in wwwroot which contains all the images of
all the projects & want to reference that in my projects. How ... more >>
File Upload Permissions
Posted by Jay at 4/4/2005 3:52:03 PM
As described in http://support.microsoft.com/kb/323246 I set the
permissions on folder that I am uploading to as full control for
Computername\ASPNET. This worked on my development laptop but not on the
production server. I was very careful to make sure the permissions were set
correctly.
... more >>
How can I do with Cristal Report in Visual Web Developer 2005 Express ?
Posted by ad at 4/4/2005 3:47:30 PM
I can find Cristal Report in Visual Web Developer 2005 Express.
How can I do with Cristal Report in Visual Web Developer 2005 Express ?
... more >>
Causing events to fire in a datagrid
Posted by Ofer at 4/4/2005 3:17:02 PM
I finally learned that
DataGrid1.EditItemIndex = {row I want} -1
DataGrid1.DataBind()
will make that row get to edit mode.
I am stiil looking for ways to programticaly do other things:
1) show the last page
2) fire select
3) fire delete
4) what is the last row in the last page
Tha... more >>
append multiple reports?
Posted by Eych at 4/4/2005 3:10:53 PM
(ASP.NET with Crystal.NET)
I can create a pdf or rtf file with my report for one record.
However, I would like to loop my table and create one big report which
would be a concatenation of 10 individual reports. Is it possible to
do that with ExportToStream or BinaryWrite or whatever?
Thank... more >>
Asp.net global connection string to access database
Posted by csgraham74 NO[at]SPAM hotmail.com at 4/4/2005 3:01:35 PM
i am currently developing an asp.net web application which is linked
to an Access database.
The main problem that i have is in creating a global connection string
that i can use. When i put my string into either the appsettings or a
global settings module i get an error on the server.mappath p... more >>
free text search . Newbie question.
Posted by Jensen bredal at 4/4/2005 2:44:48 PM
Hello,
I need to implement a free text search on an asp.net page.
I need to search two columns based on some characters text entered in a text
box.
it should be possible to search any subsrting included in one of the two
columns.
I did the following:
DataView dv=MyOriginaleDat... more >>
Webpage Datagrid
Posted by Frank L at 4/4/2005 2:17:02 PM
I have an asp page which contains a datagrid.
Is it possible to let a user highlight or focus on a certain cell (can be
any row and any column) and extract the contents of that cell?
I have not been able to find a sample of this scenario.
Any help is greatly appreciated.
Thanks in advance fo... more >>
Crystal Reports
Posted by Shawn H. Mesiatowsky at 4/4/2005 2:15:20 PM
I have come across lots of information regarding this, but nothing seems to
work. I have created a Crystal Report that access's a SQL server backend for
the data, and I want to display the report via a webform and the
CrystalViewer Web Component. First of all, I have been using Trusted
Conne... more >>
Kerberos Authentication
Posted by josh at 4/4/2005 2:05:59 PM
Hello Sharepoint Guru's,
I have hit a bit of a brick wall in regards to Kerberos authentication.
I have an ASP.Net web application that interfaces with sharepoint, this all
works fine if I do this
dws.Credentials = new NetworkCredential("sk", _SPSPassword, _SPSDomain);
however when I tr... more >>
Can i use VS .Net 2003 to develop w/ ASP.NET 2.0?
Posted by charliewest at 4/4/2005 1:57:04 PM
I am somewhat confused with what tool i need to develop Web applications w/
ASP.NET 2.0. Is it possible to use VS .Net 2003, or do i need to use the Beta
versions of 2005 - Visual Web Developer Express?
Thanks, ... more >>
Page Renders Wrong in Firefox
Posted by Wayne Wengert at 4/4/2005 1:30:03 PM
I have an aspx page that includes several panels that in turn, include some
labels and text boxes. Everything appears fine in IE 6 and Netscape but
Firefox users are seeing the textboxes stretch horizontally and overlap each
other. For example, I have one row in several panels where I have a text... more >>
Repeater problem ...
Posted by TheBurgerMan at 4/4/2005 1:20:52 PM
Hi all. I have an array of objects (Let's call it Object A) and each of
these objects has an array of other objects (Let's call these Object B) in
it. I can successfully repeat through Object A's and for each Object A I
can successfully repeat Object B's that are in it, like so:
Object A-... more >>
Can't move literal
Posted by Jimmy at 4/4/2005 1:03:10 PM
HI
I have placed a literal server control on my webform but i can't move it on
the webform . What could be the cause of this?
ch Jim
... more >>
Hiding and making visible columns from a DataGrid
Posted by tshad at 4/4/2005 12:56:41 PM
I have a datagrid that I want to add a new column to. This column will only
be visible under certain conditions. So I want to set the column
visible=false. Then when the right condition happens to change it to
visible=true.
You can't do that with a bound column (no ID), but you can creat... more >>
Save contents of iframe from parent's save button
Posted by user at 4/4/2005 12:34:54 PM
I have a parent aspx page with a few iframes. Each of the iframes show
an aspx page with a datagrid whose rows all show editable entry fields
at all times. The user can enter values into the parent page's form and
into the iframes' datagrids and then press a save button on the parent
page.
My... more >>
Control that enables resizing
Posted by Sandy at 4/4/2005 12:29:02 PM
Hello -
Does anyone know what the vertical line is between the datagrid portion of
this page and the message display area to the right of this page (meaning
this newsgroup, the current page you're reading and responding to). In other
words, to the right of the scrollbar of the datagrid and... more >>
Add Button column to Grid with Data
Posted by DBLWizard at 4/4/2005 11:48:25 AM
I am poplating the grid with the following code:
myCommand = new SqlCommand(sSql, myConn);
myDA = new SqlDataAdapter();
myDA.SelectCommand = myCommand;
myConn.Open();
myDS = new DataSet();
myDA.Fill(myDS, "SearchResults");
grdMatching.DataSource = myDS.Tables["SearchResults"].DefaultView;
... more >>
Using resources in satellite assemblies with ASP.NET (semi-newbie)
Posted by DT at 4/4/2005 10:53:10 AM
I've read the ASP.NET QuickStart Tutorial "Working with Resource Files" about
how to use satellite assemblies for resources in ASP.NET, and I've gotten it
to work... but I don't really understand HOW it works.
My confusion regards how the tutorial uses one name (qq.dll in \bin) in Step
1 f... more >>
Mulitiline Tooltips working in IE, but not in the Gecko based browsers
Posted by tshad at 4/4/2005 10:50:04 AM
I have a 4 line tooltip that works fine in IE, but not in any of the Gecko
based browsers.
Is there a way to make them work there?
They only show part of the text and replace the new lines with vertical
black bars (for non printable chars).
Thanks,
Tom
... more >>
Issue with .NET accessing LDAP on Win 2003
Posted by Serline at 4/4/2005 10:49:02 AM
I can login to the domain hosted by Win 2003. However when my .NET
application trys to authenticate using NTLM with LDAP on Win 2003, I'm
encountering problems.
It's showing "The authentication mechanism is unknown". When I check the Win
2003 event viewer, it's showing somthing like an incorr... more >>
Editable Datagrid - keep Row position
Posted by Carlo Marchesoni at 4/4/2005 10:35:07 AM
I have an editable Datagrid and memorize its datasource with a Session
variable. On each Page_Load I simply Bind the Datagrid. Everything works
fine.
The problem comes, when I have a lot of entries, I mean, more than fits on
one page. The user will then scroll down and click on 'edit'. After... more >>
office automation securiy error
Posted by Alejandro Penate-Diaz at 4/4/2005 10:21:08 AM
Hi. While trying to create a a word document in one of my asp.net pages I
keep getting an ASP.NET permission error. first I thought it was been caused
while trying to save the document, and I added permissions for the ASP.NET
account to my folders. after that I realized that the error was bein... more >>
change of session does not fire button click event for second time
Posted by N. Shehzad at 4/4/2005 10:15:05 AM
This button click is fired for first time, but does not get fired for second
time if I click. It again fires 3rd time, but not 4th time and so on..
I want to button to be fired everytime.
I want to add new valyes to my Session of ArrayList type when Button is
clicked.
Can anyone help? Plea... more >>
Setting listbox items
Posted by tshad at 4/4/2005 10:07:40 AM
I have a string that I read from my database: 1|8|5620|541
These are all values in my ListBox. I want to select each of these items (4
of them - but could be many more). At the moment I am doing the following:
Dim a() As String
Dim j As Integer
a = JobCategoriesSelected.Split... more >>
error while trying to run project
Posted by ray well at 4/4/2005 9:28:21 AM
hi,
i tried to run a asp .net project in debug mode, setting breakpoints along
the way to debug some problem, and i get a error message "error while trying
to run project", with no explaination of why this is.
i thought maybe this is because of some problem in my program, so i opened a
new ... more >>
auto scrolling horizontal scroll bar
Posted by ray well at 4/4/2005 9:22:03 AM
hi,
i have a very wide web page composed by a series of response.write
statements, that needs to be scrolled horizontally to be fully viewed.
my client wants the far right side of the page to be visibile after the page
loads. the page is in a frameset in frame[2].
how would i be able to d... more >>
Where can I find what MDAC version is on my system?
Posted by Kenneth P at 4/4/2005 8:59:06 AM
Hi,
The subject above is the question.
Kenneth P... more >>
Postback not being set to True on first postback
Posted by Chad at 4/4/2005 8:57:01 AM
Hi,
I have a DropDownList webcontrol on a form with it's auto postback value set
to true. The problem is it is not setting the postback value to true on the
first postback, but on every postback after that it is. I have never seen
this occur before and I am at a total loss as to the cause. ... more >>
about session.
Posted by Daniel at 4/4/2005 8:45:12 AM
Hi,
I had faced a problem while using session in asp.net to trace individual
login state. My OS used my pc (OS:Microsoft XP Pro) to develop the system and
i used another pc(OS:XP pro) to link(peer2peer) with the pc. The problem
occurs when both computers access the system and session cannot... more >>
about web control. urgent.
Posted by Daniel at 4/4/2005 8:41:02 AM
HI,
Does anyone have ideas to make the client site able to view the tabstrip
web control without installing it? Any example and explaination?
thanks you in advance.
Daniel.... more >>
Q: query for dropdown list
Posted by JIM.H. at 4/4/2005 8:37:08 AM
Hello,
I need to create a dropdown list that combines 3 fields form a table and
show it a single item in dropdownlist. So List should have rows like
Filed1-Filed2-Filed3. How can I do this?
Thanks,
Jim.
... more >>
Check if HttpModule is available
Posted by mathiasfritsch NO[at]SPAM gmx.de at 4/4/2005 8:16:54 AM
We have an ASP applications that needs an HttpModule.
For some reason we sometimes comment out the
"<httpModules>....</httpModules>" section in web.config and also
delete the wildcard mapping for the module in IIS.
The Problem we have is that the application can run without the
handler and doe... more >>
Q: adapter disappeared
Posted by JIM.H. at 4/4/2005 7:01:08 AM
Hello,
When I re-define my connection string in the section of “#region Web Form
Designer generatedâ€, my Adapter, dataset and connection components disappears
in my aspx page, the definitions are still in *.cs code but I do not see
components, what is problem?
Thanks,
Jim.
... more >>
How to transform xml variable to xsl file using asp.net using vb.net
Posted by telescient telescient via .NET 247 at 4/4/2005 6:56:26 AM
(Type your message here)
How to transform xml variable to xsl file using asp.net using vb.net
--------------------------------
From: telescient telescient
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>GMw7Mw5svEKqOpjKBwHbtQ==</Id>... more >>
Q: the same adapter and dataset name
Posted by JIM.H. at 4/4/2005 6:43:07 AM
Hello,
Can I use the same adapter name and dataset name which point different
tables in tow different *.aspx web form? I am trying to copy whole web form
to another form and just change the table name, and use both forms in my
application, is it possible?
Thanks,
Jim.
... more >>
How to use session without cookies?
Posted by Brett at 4/4/2005 6:36:45 AM
I'd like to maintain state between webpages without using cookies. Does
ASP.NET allow sessions via URL or some other method than cookies? Any
comments and web references are appreciated.
Thanks,
Brett
... more >>
Custom Button In Datagrid
Posted by csgraham74 NO[at]SPAM hotmail.com at 4/4/2005 6:00:46 AM
Hi Folks,
Just wondering if anyone can help me. Im currently developing in
asp.net using visual studio.
I have created a datagrid and in the grid i have various information
and an image. Beside this image i want to create a custom button that
links me to a pagethat i pull from a database. i... more >>
serial port access from asp.net
Posted by Al the programmer at 4/4/2005 5:59:06 AM
I need to access the serial ports on my webserver from an asp.net page. I
have no problem accessing the serial ports from a windows form application,
but the code doesn't work in asp.net. I have been told it is not possible to
access the serial ports from asp.net.
The application is used ... more >>
repeater - show something when no results
Posted by dhnriverside at 4/4/2005 5:11:08 AM
Hi guys
How do I get a repeater to show a "sorry, no results found" message (within
the repeater) when I'm using DataBind?
Cheers
Dan... more >>
Assembly versioning
Posted by Ily at 4/4/2005 5:08:48 AM
Hi
I have several versions of an assembly in the GAC
My problem is that I want my clients (windows + web clients) to use a
specific version of an assembly
I can get this to work by using the <assemblyBinding> tag in the
app.config
However for web applications, you cant use the <assembl... more >>
Hello all,
Posted by Nikos Steiakakis at 4/4/2005 4:55:04 AM
I have developed a web application, and I want to export a specific page to a
Word document. I have used
Response.ContentType = "application/msword";
Response.AddHeader("content-disposition", "inline; filename=myfile.doc");
and it seems to be working just fine. However the problem is tha... more >>
What is the difference between Visual Studio.NET 2005 ©MVisual Web Developer 2005 Express
Posted by ad at 4/4/2005 4:39:15 AM
Hi,
What is the difference between Visual Studio.NET 2005 ©MVisual Web Developer
2005 Express ?
... more >>
Firefox renders .aspx page differently than .htm -- Same HTML
Posted by Jason Honn at 4/4/2005 4:13:26 AM
I have an .aspx page that renders fine in IE6, but it does not render
properly in Firefox. If I change the extension from .aspx to .htm
everything renders just fine in Firefox.
The problem I am having deals with stretching nested tables to fill the
cell they are nested in completely. I have sp... more >>
how to write a search engine
Posted by guoqi zheng at 4/4/2005 3:35:16 AM
any one has example/source code how to write an search engine?? Not a search
engine using SQl like statement or SQL full text search. A real search
engine with index and algo. something like google(not that powerful, of
course).
regards,
Guoqi Zheng
http://www.ureader.com... more >>
is in group?
Posted by dhnriverside at 4/4/2005 2:51:01 AM
Hi guys
I'm using Windows Auth and want to check that the logged in user is part of
a specific group in order to limit access to some part of the site.
How do I do this?
Cheers
Dan... more >>
Dynamically Created Array of Object
Posted by Raed Sawalha at 4/4/2005 2:41:02 AM
I have a class like
public class keyword
{
blah......blah
}
and i have other class will use the keyword class
public class general
{
//i have to declare array of keyword class
keyword [] oKey;
int index = 0;
public void AddKey(st... more >>
Duplicated records in a report from two tables
Posted by Isabel Puigdevall at 4/4/2005 1:39:06 AM
I'm trying to create a report in a dotnet.asp project. I made the report in
Crystal Reports based on a dataset with two tables linked in a one to many
relationship. The output report shows me duplicated records. For example, if
one person has two medical visits I see four visits, two of these ... more >>
upload files to webserver
Posted by csgraham74 NO[at]SPAM hotmail.com at 4/4/2005 1:21:25 AM
Hi there,
Just wondering if anyone can help me or point me to a suitable source.
I have built an access databse for storing image path names and image
details which i display in a datagrid on my page.
My issue now is to build an admin section to allow me to upload files
to a folder in the s... more >>
Web hosting and SQL Server Enterprise Manager?
Posted by John at 4/4/2005 12:00:00 AM
Do you guys have any idea if web hosting companies usually give access to
SQL Server databases through Enterprise Manager?
I used to have have access to my DB through EE with my previous provider and
now the more I am looking into offers on the net the less I can see this
feature specified.
... more >>
How can I use a .css file?
Posted by ad at 4/4/2005 12:00:00 AM
I use Visual Studio.net to develop a web application.
I got a .css file. How can I use this .css file in my application?
... more >>
The applications from VS2005 and 2003 can run on the machine?
Posted by ad at 4/4/2005 12:00:00 AM
I have two web applicaitons, one developed with VS2005, one with VS2003.
Can these two applicaton can run on the some server?
... more >>
Capturing event from other custom control within another custom control
Posted by Jonah Olsson at 4/4/2005 12:00:00 AM
Hello,
I'm trying to build an "add-on" to an already existing custom web user
control. The old control collects some user data and saves it to a database.
The new control should collect some extra info from the user and add it to a
new table in the database.
The old control should not be... more >>
|