all groups > asp.net > july 2004 > threads for thursday july 22
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
How to handle dynamically created buttons in ASP.NET using VB.net
Posted by ronaldo at 7/22/2004 11:29:10 PM
As title, I used the following code to create a button and assign the event
handle dynamically.
private sub showOrderList()
...
Dim btnRemove As New Button
btnRemove.ID = "r" & strMyProductId
btnRemove.Text = "Remove"
btnRemov... more >>
validation controls problem
Posted by Anoj Kumar at 7/22/2004 11:15:00 PM
Hi All ,
I am facing very strange kind of problem.
I am using few validation controls ( requiredfield validation, and
regexvalidation)
on a form. I've set the validion to occour at the client side. At my local
system everything
is working fine but at the server.. client side validation is no... more >>
How to use validation controls in this scenario ?
Posted by Ing. Rajesh Kumar at 7/22/2004 10:56:41 PM
Hi everybody
Validation controls are great but i have a scenario where i do not know how
to use them so i am doing my validation on the server.
Let's say I have a Web Form with :
Two Textboxes : Textbox_1, Textbox_2
Two Checkboxes : Checkbox_1, Checkbox_2
A Button : btnSubmit
What I want is... more >>
How to use Dataset with multi tables ?
Posted by Ing. Rajesh Kumar at 7/22/2004 10:56:36 PM
Hi Everybody
I have three tables USERS, ROLES and GROUPS in a SQL Server. As you can
guess, I am using these tables to check permissions. Now I converted these
SQl tables into XML tables and put them into roles.xml and created an
roles.xsd with PK's and FK's. For testing I can load this file int... more >>
authentication w/ firefox
Posted by Greg Burns at 7/22/2004 9:40:09 PM
I think I already know the answer to this, but I'll ask anyways.
If I uncheck anonymous access and check Integrated Windows authentication
(an intranet webapp), is there anyway to not have the password dialog box
appear with Mozilla Firefox?
Greg
... more >>
Web ToolBar on a client
Posted by Mark Goldin at 7/22/2004 9:28:45 PM
Is it possible to get a toolbar button that has been clicked on a client
side?
I'd like to add some JavaScript to it.
Thanks
... more >>
Error casting User.Identity to WindowsIdentity
Posted by Razak at 7/22/2004 9:27:21 PM
Hi,
I have a class which basically do Impersonation in my web application. From
MS KB sample:-
++++++++++++++++++++code starts
Dim impersonationContext As
System.Security.Principal.WindowsImpersonationContext
Dim currentWindowsIdentity As System.Security.Principal.WindowsIdentity
curren... more >>
How to switch ASP.NET version
Posted by Shimon Sim at 7/22/2004 9:04:13 PM
I installed Web Express 2005 and my applications started running under
version 2.0.
This creates some issues (and lets me know that my application may not run
nicely if my provider will upgrade)
How can I switch ASP.NET version back to 1.1
Thanks,
Shimon
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to switch ASP version
Posted by Shimon Sim at 7/22/2004 8:59:30 PM
I installed Web Express 2005 and my applications started running under
version 2.0.
This creates some issues (and lets me know that my application may not run
nicely if my provider will upgrade)
How can I switch ASP.NET version back to 1.1
Thanks,
Shimon
... more >>
Form with Do Events progress feature
Posted by John Cosmas at 7/22/2004 8:48:26 PM
I have a login form which I will redirect to another page which will have to
display a clock gif which rotates as long as the backend events are running
while I load my profiles. Until then, I need to display my clock because it
can take up to 30 seconds or more to run the events in the back. P... more >>
select and insert to database
Posted by ven at 7/22/2004 8:25:46 PM
Hello
i have two tables in my MS SQL named table1 and table2. In each table i have
a column PRICE with my own datatype decimal 14;4 allows nulls....
now i wanna select from one table to second table and i can do it
here is my code :
select * from table1
dim variable = datareader("PRICE"... more >>
select and insert
Posted by ven at 7/22/2004 8:24:36 PM
Hello
i have two tables in my MS SQL named table1 and table2. In each table i have
a column PRICE with my own datatype decimal 14;4 allows nulls....
now i wanna select from one table to second table and i can do it
here is my code :
select * from table1
dim variable = datareader("PRICE"... more >>
how does this work? objds.tables(0).select
Posted by Asha at 7/22/2004 8:14:02 PM
hi, can the source below actually bind to a ds?
dgDistiAudit.DataSource = objListds.Tables(0).Select("Ntf_Aud = 'T' AND Ntf_fin = 'F'")
dgDistiAudit.DataBind()
... more >>
How to invoke second win form
Posted by Lupina at 7/22/2004 8:04:32 PM
Hi
I have project (in C#) that consists with two win forms:
index.aspx and create.aspx
How to invoke (load) create.aspx from index.aspx by eg. pressing button.
- in the same window
- and in new IE window
Thanks
... more >>
After ASP.NET
Posted by sales NO[at]SPAM logicians.com at 7/22/2004 8:00:05 PM
Does anyone know what comes after ASP.NET?
Are there Web resources forecasting future software?... more >>
server.execute and virtual paths
Posted by Dune at 7/22/2004 7:31:03 PM
I'm trying to execute an aspx page by calling Server.Execute.
The aspx page I'm trying to execute is in a different web app from the aspx page containing the Server.Execute statement. A slightly clearer explanation...
Page1 exists in WebApp1. In the code-behind of Page2 in WebApp2, I have put ... more >>
DNS Server access with ASP.Net
Posted by Roger Bavaud at 7/22/2004 6:49:17 PM
Hello NG
I like to create a WebSite or WebService for DNS management tasks. The main
function will be, that some users like ouer Webmasters can create CNAME
entrys on the DNS Servers.
But I found no solution to access a DNS server with ASP.Net.
Does anyone know a good solution?
Tanks & R... more >>
What does ~ stand for in ImageUrl?
Posted by Edward Yang at 7/22/2004 6:07:40 PM
I did not find any documentation about this (v1.1 or v2.0 beta). Can
anyone throw some light on me?... more >>
Question for ASP.NET
Posted by KA Kueh at 7/22/2004 5:11:50 PM
Dear all,
I have a requirement for users to submit MS word document using Intranet and
the printing of the document is done at the web server end automatically.
I am trying to implement it using ASP.NET and things went well except that
it never prints and there is no error. I would like to kn... more >>
ASP DataGrid Sorting
Posted by Mark Travis at 7/22/2004 5:05:53 PM
Hi all,
I have written a simple Web Application that displays a query result onto a
page using the ASP DataGrid.
To Digress
=======
Development information about the page is as follows
1. The database used is SqlServer 2000.
2. A Stored Procedure is dragged onto the page from the Server E... more >>
File in Use?
Posted by Harry Whitehouse at 7/22/2004 4:44:08 PM
Hello!
I have some ASPX code which creates a JPEG file in response to a button
press. The JPEG file is contructed in memory (see below), stored to a JPEG
file on the server, and then dished-out on the following browser window.
Everything works, but if I try to do the process again, I get a ... more >>
Zip/Compression in .NET
Posted by RAJ at 7/22/2004 4:42:09 PM
Is there any way I can Zip/Compress files using .NET (VB.NET preferably).
Any working examples will help.
Thanks and regards,
RAJ
... more >>
How can an asp.net project by pulling in a code-behind class from another project?
Posted by moondaddy at 7/22/2004 4:37:16 PM
I have a vb.net asp 1.1 project where when I step through the code behind of
a page, a new codebehind with the same name appears in the IDE and executes.
so now I have 2 classes open in the IDE with the same name
(BasePage.aspx.vb) I had another project open at the same time which has a
page wi... more >>
migrating to .net (include statements)
Posted by maglover NO[at]SPAM scgov-dot-net.no-spam.invalid at 7/22/2004 4:03:49 PM
i have a .html page that uses include statements for a header and
footer that i have to rebuild in .net (.aspx pages)
i am very new to .net and i do not know how if .net supports include
statements. can anybody help? i tried putting the include
statements in the html but the neither the head... more >>
forgot to mention
Posted by maglover NO[at]SPAM scgov-dot-net.no-spam.invalid at 7/22/2004 4:03:49 PM
the include statement is as follows:
<!-- #include file=headerinc.aspx -->
and the error i get when i compile the page is:
Parser Error Message: There can be only one 'page' directive.
... more >>
how to shut off validation
Posted by Paul at 7/22/2004 4:00:02 PM
I have a webform and added some validation controls to it. I have a clear button on the page and I do not want validation to take place when this is selected, just wondering if there is a way to turn off the validation with one button selected and turn it back on with the click event of another but... more >>
Linking HTMLTable to a CodeBehind variable?...Please help...
Posted by Jay at 7/22/2004 3:57:21 PM
I have been trying to link and HTML Table to a Code behind variable. I have
seen people saying that they can do this but I cannot get it to work. What
am i missing?
In the HTML Code I have:
AutoEventWireup="true" in the serverside tags at the top of the file
....<Table ID="tLinks" runat="serv... more >>
Any way to have a ListBox with nothing selected?
Posted by MattB at 7/22/2004 3:54:35 PM
I need to have a control (currently trying to use listbox) where the user
can have nothing selected if they choose. Any way to do that with a list box
or would I be better off with a RadioButtonList? Any other bound controls I
should look into?
Thanks!
... more >>
listbox with databind, but need to clear it on occasion
Posted by Paul at 7/22/2004 3:41:02 PM
I have a list box that I am populating with a dataset.
It looks like
********
* Ted *
* Sam *
* Lori *
These values come from a table, used a stored procedure to fill a dataset.
I wanted to have a default text display like select..or even just blank to come up in the page load... more >>
Help with HTML control
Posted by rjbiermann NO[at]SPAM yahoo.com at 7/22/2004 3:32:05 PM
I'm new to this so I hope I am able to explain my problem.
I have a page with a HTML browse/input button. I browse for a file and
click a button to move a file from my local computer to a server. The
page_init code fires just fine if the file selected for copy is 3 MB
or less. Anything gre... more >>
cwbsy1006 - user id is invalid
Posted by amy_hankins NO[at]SPAM swn-dot-com.no-spam.invalid at 7/22/2004 3:03:48 PM
Hello,
I am writing an ASP.NET application and trying to connect to an as400
using an ADODB connection. I recently completed a Windows
application that connects to the 400. Mt code works in the Windows
worl, so theoretically, it should work for the ASP application as
well. But it doesn't. ... more >>
Namespace or type '...' for the Imports '...' cannot be found
Posted by Stephen Cochran at 7/22/2004 3:00:22 PM
I'm getting the following error in my ASP.NET application:
Namespace or type 'DirectoryServices' for the Imports
'System.DirectoryServices' cannot be found.
I have added the System.DirectoryServices.dll to my References, and am
including the line "<%@ Import Namespace="System.DirectoryServic... more >>
SERVER ERROR in "/" Application
Posted by news.microsoft.com at 7/22/2004 2:38:20 PM
hi,
I am new in ASP.NET i make a page using Visual Studio.net compile and
successfully run on local system but when i upload it on my internet live
server it always gives me the same error if anyone helps me i will be very
thankfull:
---------------------------------------------------------... more >>
Catching a RequiredFiled Validator event in PageLoad or some other event?
Posted by Lars Netzel at 7/22/2004 2:35:12 PM
Hi!
If I use a RequiredField Validator to make sure a TextBox is filled by a
user and the user DOESN'T it triggers and shows the errortext of that
control.
I want more to happen on the page when that happens and is there an Event or
something I can check that it has been triggered?
Rega... more >>
cheating on certs
Posted by Chris at 7/22/2004 2:18:54 PM
I want to cheat on some certs to get ahead, is this a
good idea? can microsoft catch me?
chris... more >>
Changing Panel Width
Posted by Mariame at 7/22/2004 2:07:34 PM
Hi All,
How to change a panel width to be equal the Web page width when the page is
resizable?
Regards
... more >>
XmlDocument LoadXml
Posted by Lupina at 7/22/2004 12:14:38 PM
Hi
I want load whole xml file, I try do it in the same way as I did it in
windows application.
try
{
XmlDocument myDoc = new XmlDocument();
myDoc.LoadXml(Server.MapPath("cars.xml"));
}
catch ( Exception err )
{
message.Text = err.Message + err.StackTrace;
}
but I ge... more >>
Querying IISMimeMap .. Access is denied .. HELP!
Posted by Marlon at 7/22/2004 11:56:31 AM
Code posted below ( I am not sure which group to post to, but I need help)
I wrote a Windows Form Application to query the IIS MimeMap on the localhost
which worked fine.
I ran the same code in asp.net and got "Access is Denied" exception.
What is the least permissions set I should grant ... more >>
xml documentation
Posted by Mark at 7/22/2004 11:39:27 AM
I have two projects in the same solution. One is a web project and the
other is a class library called "MyClassLibrary". I want to leverage
intellisense capabilities while using the class library in my web project.
The class library is configured in its project properties to generate an xml
fi... more >>
How can i access the current sessions in the application?
Posted by Michael Ulmann at 7/22/2004 11:36:35 AM
Hi,
I have a problem with sessions.
In the Session_End method in global.asax i need to know which sessions are
still alive. Actually i need to know what is the session id of the session
which causes the call of the Session_End method.
Could anyone help me?
Thanks.
Regards,
Michael
PS:... more >>
Type not defined error
Posted by J Quick at 7/22/2004 11:32:33 AM
I'm getting the following compilation error on the line of vb.net script in
the aspx code below.
Compiler Error Message: BC30002: Type 'DirectoryEntry' is not defined.
Dim dirEntry As new DirectoryEntry(strLDAPPath)
I have System.DirectoryServices added to the project references and to t... more >>
Page object disappears inside event handler
Posted by Joel at 7/22/2004 11:27:33 AM
I am having a weird problem with a hidden asp:button when it reaches its
event handler.
Upon clicking the button programmatically in javascript, when I look at the
any objects inside "Page_Load" everything looks OK (ie Page, Session,
Request, Response...).
When the code reaches the buttons ... more >>
Page.Validate
Posted by Jim Heavey at 7/22/2004 11:21:05 AM
When should you use the Page.Validate() method? I thought you would use this method if you have some Server side validation (CustomControl's) you wanted to use and this would cause them to be invoked. I am probably wrong about that.
If I am suppose to use this function, the edits seemed to be i... more >>
Odd File Upload Experience
Posted by Chris Fink at 7/22/2004 11:21:02 AM
I am using the html input type=file to upload files to the webserver. This is working fine, but only for files less than ~3mb in size. When I attempt to upload a file >3mb, i immediatley receive a standard error "page cannot be displayed, cannot find server or dns error". Very odd indeed. In loo... more >>
User control cache duration
Posted by lw_elite NO[at]SPAM hotmail.com at 7/22/2004 11:18:54 AM
I posted this in the Caching group but it looks like there's not much
activity, and I wanted to add a bit to the question.
Is there a way to set the cache priority of a user control in the
OutputCache directive?
Second, are there any settings in the web.config that affect caching
(ie memory... more >>
RequiredFieldValidator problem with IE 5
Posted by pcarter NO[at]SPAM kim.kaba.com at 7/22/2004 10:55:28 AM
Hello,
I have a Web Form with a text box and a required field validator
attached to it. This form is installed on two different
configurations explained below.
Config. 1:
- Windows Server 2000 (SP4)
- .NET Framework 1.1
- IE 6.0
- The control works fine.
Config. 2:
- Windows... more >>
Timeout on uploads
Posted by Brian Henry at 7/22/2004 10:45:53 AM
How do you prevent the boweser from timeing out during a very large file
upload? also... is there a way to go about as the file uploads so an
animated image or something to show it is uploading until completion?
my problem right now is that if i try to upload a 20MB file, by the time 2MB
is up... more >>
DataGrid and combobox
Posted by Big E at 7/22/2004 10:38:24 AM
I'm using ASP.Net and SQL Server 2000.
I have a datagrid that I specify the columns and update them when user
clicks on link it turns the fields into textboxes and stores the string for
update.
I would like to use dropdownlist "comboboxes" in some fields instead of
textboxes. Does anyone have a... more >>
push data from server to client
Posted by Jaco Bregman at 7/22/2004 10:24:53 AM
Hi all,
I'm looking for a way to inform clients of a server side event on my
website. What I want to do is to update a user's webpage when a process logs
in on the server. Untill now I use a refresh statement in the client's html
code, and I read from the database in the Page_Load( ). On every... more >>
Server.UrlDecode from console application
Posted by jhoge123 NO[at]SPAM yahoo.com at 7/22/2004 9:52:21 AM
Hi,
I need to UrlDecode a string in a simple console application, but I am
having trouble accessing Server.UrlDecode, even though System.Web is
included. The application pulls a text out of a referring URL string
and (eventually) will run a simple report.
Here is an excerpt of my code:
u... more >>
ASP.NET Messagebox
Posted by tma at 7/22/2004 9:27:42 AM
How are message boxes (not the browser pop-up variety but rather the .NET
msgbox) achieved in ASP.NET?
... more >>
spilt data
Posted by IGotYourDotNet at 7/22/2004 9:25:16 AM
In my table i have data such as cars-- trucks - etc,
how can i remove the - from the data item?
... more >>
Another Newbie problem: Web Controls
Posted by rdlebreton NO[at]SPAM hotmail.com at 7/22/2004 9:23:12 AM
Okay, here's another one for yuz...
I am using .NET Framework 1.1 on a Win2k Pro workstation running IIS
5.0.
I am trying to implement some 3rd party web controls and I'm
running in to some trouble. Actually, it's the IEWebControls by
Microsoft and I have compiled the DLL file under th... more >>
OT: Any exchange rate web services out there?
Posted by Marina at 7/22/2004 9:20:15 AM
Can anyone recommend any good web services that can be used to get currency
exchange information on 2 given currency codes?
Thanks
... more >>
Problems with DataaRelation
Posted by Lars Netzel at 7/22/2004 8:43:37 AM
Hi! I
Im having problems adding a DataRelation to the RelationCollection of a =
datatable in a dataset (filled from an SQL server) .
'**************************'
Dim myRelation As New DataRelation("ActivityMembers", =
dsActivities.Tables(0).Columns("PROJACTIVITY_ID"), =
dsActivities.Tabl... more >>
CSS not used when response
Posted by norkjet NO[at]SPAM frisurf.no at 7/22/2004 8:16:45 AM
Hi
I'm not sure if this is a ASP.NET problem or maybe a SVG-viewer
problem.
I'm making a HttpHandler to generate response in SVG-format.
In the response I include a reference to a .css file.
When I do a request that get a response from the HttpHandler, the
SVG-code returned is ok. The SV... more >>
Print Pdf directly (without preview) from client side (using asp.net)
Posted by ales_pac NO[at]SPAM lycos.it at 7/22/2004 7:54:50 AM
Hi
I need help to Print Pdf File directly
without preview from client side
To solve problem I used
This C# code
Response.Buffer = true;
Response.ClearContent();
Response.ClearHeaders();
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.ContentTyp... more >>
newsgroup in forum
Posted by thomas.hauser NO[at]SPAM hannover-leasing.de at 7/22/2004 7:14:19 AM
hello again,
i have a small selfbuilded forum for vba. my questions is:
is it possible to connect my forum to the microsoft-newsgroup -- like
all the posting in my forum will we posted to the
microsoft-newsgroup??
you understand what i want?
best regards
tommy... more >>
Usercontrol
Posted by Martin at 7/22/2004 5:01:30 AM
hello
The idea is to create a navigation menu
I have got 5 HTML Images on a web usercontrol
and I am changing the images on mouse over/mouseout.
I need to place this on all of my pages, how do I catch
the events raised by clicking on these images and
navigate to the appropriate pa... more >>
Page Width of Report (CR.NET)
Posted by Don Wash at 7/22/2004 4:43:36 AM
Hi There!
I'm using CrystalReportsViewer control in my ASP.NET page to display the
report.
How do I increase the page width of Crystal Reports .NET report?
Many Thanks,
Don
... more >>
Issue with Data Reader Binding for ASP.net ComboBox & Listbox cont
Posted by Sachin Kuchinad at 7/22/2004 3:55:01 AM
Hi All
I am using .NET Framework version 1.0.3705 to build a website.
Now i have made a webform and on that i have added a dropdown to the page
I bind this listbox to a datareader .
This does not happenm , i have no clue what the problem is
I am attaching the error
<font color='red' > ... more >>
Problem referencing IPrincipal from my base page class...
Posted by mike NO[at]SPAM mjt.org.uk at 7/22/2004 3:52:57 AM
I'm trying to create a base page class for my project (am new to
ASP.NET, so am a bit stumped) - I'm using VS.NET 2003, btw.
OK, my dummy base page class is shown below:
using System;
using System.Web;
using System.Web.UI;
using System.Web.Security;
using System.Security.Principal;
nam... more >>
Issue With Binding Of A DataReader to a Drop-Down or List Box Cont
Posted by Sachin Kuchinad at 7/22/2004 3:46:02 AM
Hi All
I am using .NET Framework version 1.0.3705 to build a website.
Now i have made a webform and on that i have added a dropdown to the page
I bind this listbox to a datareader .
This does not happenm , i have no clue what the problem is
I am attaching the error
<font color='red' ... more >>
Increase Image Quality of Charts (CR.NET)
Posted by Don Wash at 7/22/2004 3:38:16 AM
Hi There!
I'm using CrystalReportsViewer control in my ASP.NET page to display the
report.
How do I increase the image quality of charts produced by Crystal Reports
..NET report file?
Many Thanks,
Don
... more >>
How to access session information during StateServer mode in ASP .Net
Posted by er_djmehta NO[at]SPAM yahoo.com at 7/22/2004 2:13:03 AM
Thanks in advance
I want sessions information for the asp .net application (
mainly SessionId). I am using Oracle as back end. I have sessionid
using Session.SessionID in asp .net.
I am gettin session id value in program like
"piaelorpl0xqn0vtjlawi2vq".
I want complete information fo... more >>
make user control run before page?
Posted by msnews.microsoft.com at 7/22/2004 1:57:53 AM
It appears myButton_OnClick is triggering in my user control AFTER its
parent's Page_Load already runs. Is there a way to make the parent Page_Load
to run afterwards?
I'm changing a session variable when a user clicks on a button in a user
control. The parent page reads in the session variable... more >>
Getting the current Windows user name
Posted by Nick at 7/22/2004 12:24:34 AM
I'm developing an intranet app, and want to get the current user name for
logging purposes. I've turned off anonymous access, and turned on windows
authentication in the IIS config. The apps web.config file has
authentication mode set to windows, and 'identity impersonate' is set to
true.
Whe... more >>
|