all groups > asp.net > september 2006 > threads for friday september 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
Chat script with c#
Posted by Overseer at 9/29/2006 5:58:51 PM
How can I code a chat script with asp.net. How can I find code sample which
coded with asp.net using C#.
... more >>
Get first N words of a string
Posted by shapper at 9/29/2006 5:34:50 PM
Hello,
I have a string which holds a text.
Is it possible to create a substring which uses the first N words of
that string?
Thanks,
Miguel
... more >>
LoginID as parameter to GridView or Dataset
Posted by Bret at 9/29/2006 4:55:01 PM
I am VB developer learning ASP.net.
What is the best way to do the following.
User logs in against our companies SQL Server to check if they have
permissions in our Security table.
If successful, I want the "login" name or ID to feed a parameter in the
GridView to return a recordset or datas... more >>
Goofy Drop Down List
Posted by Uriah Piddle at 9/29/2006 4:36:09 PM
Hi Gang,
In VS 2005, I can't get an ASP DropDownList to take a BorderStyle property.
I've tried both with a skin id and inline. No matter what style I apply, it
comes up with the default style. I specified 'Dotted' and nothing dotted
happens. In Firefox, its the same except the border is ve... more >>
mysterious ajax
Posted by rodchar at 9/29/2006 4:20:01 PM
hey all,
i have an update panel with a simple textbox in it.
outside i have a server-side button.
i put a trigger on the update panel for the button click event.
(it just places "Hello World" in textbox)
works great.
however,
if i drag an html button on to the form, run the web app, click... more >>
"Error 1 Metadata file..." What is this?
Posted by Charlie NO[at]SPAM CBFC at 9/29/2006 3:05:27 PM
Hi:
Getting this error. Not sure what to do. App won't compile. Looks like it
is something out of my control.
Error 1 Metadata file
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\biolabnet\4bfeaa1c\ff23cac2\App_Web_filtercat.ascx.cdcab7d2.ehc-pwme.dll'
could ... more >>
When a control on form has blank value or has no items (dropdownlist) then it wont' be in Request.Forms
Posted by TS at 9/29/2006 2:35:05 PM
we publish our exceptions to email at work and include the form's vlaues to
help debug in production. Since the control wont' appear if it is empty, how
can i access it to show the controls wiht a blank value (currently i won't
know if the control was ever made visible (sent to browser) since ... more >>
Fire up checkbox onclick event from asp.net codebehind
Posted by ccordero NO[at]SPAM gmx.net at 9/29/2006 12:43:39 PM
Hi!
I am working with asp.net 1.1 and javascript.
I have a client side checkbox, a client side button, and an asp.net
image button.
When I check the checkbox, I want the client side button to disable,
and I want the same button enebled if I uncheck the checkbox.
I have the checkbox_onc... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to dynamically display entries made into a growing log file
Posted by Aspiring .NET Programmer at 9/29/2006 12:34:38 PM
Happy Friday everyone!!!
I am working on a windows service and a C# application and needed some
help with certain functionality. Please read through my issue below.
Thanks!
I have a windows service which writes into a log file periodically
(text file). I want to create a windows form appl... more >>
URL Rewrite problems
Posted by Miguel Isidoro at 9/29/2006 12:27:02 PM
Hi all,
I am developing a ASP.NET 2.0 application that must use friendly URLs. As an
example, a content in http://www.mysite.com/music/pearljam for instance
should be rewritten to http://www.mysite.com/Artist.aspx?id=1. The problem I
am having is the fact the url doesn't have an .aspx exte... more >>
Params & QueryString
Posted by rn5a NO[at]SPAM rediffmail.com at 9/29/2006 12:23:05 PM
Assume that an ASPX page is accessed using the following URL:
http://myserver/Page1.aspx?fname=john
The value of the querystring fname (which is john) can be retrieved
using both Request.Params("fname") & Request.QueryString("fname").
So what's the difference between Request.Params("fname"... more >>
math in C#
Posted by igotyourdotnet at 9/29/2006 12:21:02 PM
How can I perform a math function in C#
example:
int sales = 25
int goal = 225
i want to devide sales by goal so the sale person knows how much of his goal
he's at... more >>
Regular Expression
Posted by Ben at 9/29/2006 12:18:01 PM
I use the following code to get a valid date input.
validatorExpression = new RegularExpressionValidator();
validatorExpression.ControlToValidate = this.ID;
ValidatorExpression.ErrorMessage = "Valid Input mm/dd/yyyy";
validatorExpression.ValidationExpression = @"^\d{1,2}/\d{1,2}/\d{4}$";
vali... more >>
Container.DataItem
Posted by rn5a NO[at]SPAM rediffmail.com at 9/29/2006 11:39:40 AM
When I do this:
<asp:DataList ID="dlProducts" runat="server">
<HeaderTemplate>
<table border="0">
<tr>
<td>Category</td>
<td><%# Container.DataItem("Category") %></td>
</tr>
</table>
</HeaderTemplate>
</asp:DataList>
then ASP.NET generates the
Object variable or With block variable... more >>
Gridview and ObjectDataSource with Custom object : update problem
Posted by Olivier Matrot at 9/29/2006 10:58:13 AM
Hello,
I'm using a gridview with objectdatasource and custom objects collections
SELECT/INSERT/UPDATE/DELETE methods are using custom objects as parameters.
This is working fine. But I have a problem with the object that is passed
back to the update method. It contains some of the properties o... more >>
Microsoft Application Blocks for .NET 2.0 VB Version???
Posted by lds at 9/29/2006 10:47:37 AM
I am in the process of trying to migrate some of our existing .NET
applications from version 1.1 to 2.0.
In our 1.1 apps we have a common assembly that uses the sqlhelper.vb
class from the Micosoft Application Block provided for version 1.1.
When I try to migrate I get a few errors, so I tho... more >>
Screen Refresh
Posted by Starbuck at 9/29/2006 10:27:19 AM
Hi
In asp.net (vb code) is there any way of just have controls that have
changed refresh rather then the whole screen.
Thanks in advance
--
nivekski
www.kevsbox.com
... more >>
Set/Get cookies
Posted by David at 9/29/2006 9:45:48 AM
I have an ASP.Net site that uses a cookie to hold setting for the last
search criteria (entered in textBox, etc. fields. When I click the search
button, it sets the value of the cookie in VB code as part of the OnClick
event of that button. However, the cookie values are not set until Postba... more >>
Button Click- Server and Client
Posted by Sekhar at 9/29/2006 9:33:02 AM
Hello All
I have a Question. I have a button "Submit". If the user is not logged in I
want to him to Login. So I show him a div tag which asks him if he wishes to
login. I want this to implement on the client side. If the user is not logged
in I dont want any postback
But if the user is ... more >>
SSL and IE not working
Posted by tshad at 9/29/2006 9:13:01 AM
I have a site with SSL connected and in my IIS 6 properties window the port
is set to 4434 and it was working OK.
I then accidently put 4434 in another site on a machine and it quit working.
I took the 4434 out of the incorrect site and it still doesn't work.
My pages were working fine and... more >>
How to pack a big amount of information on the query string?
Posted by craigkenisston NO[at]SPAM hotmail.com at 9/29/2006 9:04:24 AM
I need to send a big amount of data to one server in the query string.
It is like 3kb of text information, in ascii code with linefeeds and
carriage returns.
I noticed that using winzip I can get the file 1kb long. I'm not sure
if there are zip utilities for C#/Asp.Net, but I guess there are and... more >>
How can I search in this forum?
Posted by Oscar2 at 9/29/2006 8:38:44 AM
How can I search in this forum?
There is only one field to enter search terms, however it report
'searching has been disabled...
I don't expect to browse each thread one for one to find thread
referring to my subject.
--
Oscar
-----------------------------------------------------------... more >>
Problem using Web User Control
Posted by DotNetDev at 9/29/2006 7:34:02 AM
Hi,
I have a web user control 'control1.ascx' which is used on page
'default.aspx'. The control renders fine. But I would like to get new values
in the control based on the submit button. So if the control had a value and
I click the submit button. I want the control to load based on the va... more >>
How do you find the name of the ascx file from inside?
Posted by ThazKool at 9/29/2006 7:07:29 AM
I am trying to get the name of the ascx file from inside a C# script
tag inside the ascx file. I have looked through all the properties of
the control, but I cannot find anything that gives some sort of path or
name. Can anyone help?
Thanks,
ThazKool
... more >>
site redirect?
Posted by Smokey Grindel at 9/29/2006 7:01:09 AM
Say I have one site that has this structure
http://localhost/ <- public side
http://localhost/internet <- private part of same site protected using NT
Authorization
so say I have two host names mapped to this same site say they are
Http://internet and http://intranet when someone goes to ... more >>
url rewriting
Posted by Smokey Grindel at 9/29/2006 6:56:52 AM
I am using ASP.NET 2.0 and know about the static list in the web.config for
URL rewriting, but my list is dynamic and I am running into some problems...
1) How do you get URL rewriting to work in the file based website in ASP.NET
2? I tried and every path I go to comes back as resource not fo... more >>
redirect after sometime
Posted by rn5a NO[at]SPAM rediffmail.com at 9/29/2006 6:09:55 AM
A logged in user clicks a Logout link which takes him to Logout.aspx
where in I am using the SignOut method of the FormsAuthentication
object to logout the user. What I want is as soon as the user is taken
to Logout.aspx, apart from logging him out, a Label should be displayed
to the user saying... more >>
XML Class Problem
Posted by Barry at 9/29/2006 5:58:35 AM
Hi
I have created the following class for reading XML Message from UPS, i use
XMLSerializer to read the xml file , there is a minor problem , Response is
a single item whereas RatedShipment is an array, but when reading it shows
on one item for RatedShipment , where as there are seven items... more >>
Date/Time
Posted by shapper at 9/29/2006 5:45:02 AM
Hello,
How can I get a Date/Time string in Asp.Net 2.0 as follows:
"Tue, 10 Jun 2003 09:41:01 GMT"
And I need to have it according to specified culture.
Thanks,
Miguel
... more >>
URGENT!!!!!
Posted by Ibrahim. at 9/29/2006 5:27:02 AM
In .net 2002 version (1.0), Im facing problems with unicode file name
display. The language is japanese.
In ASP.NET 2.0, microsoft has included response.headerEncoding() which
accepts charset type property by which the file name scramble display is
fixed.
Is there a way out in ASP.NET 1.... more >>
Problems with refreshing page contents
Posted by Tomasz at 9/29/2006 5:19:09 AM
Hello,
I'm a newbie in ASP.NET and i have following problem.
I've got two separate pages. On the first one i have a list of workers,
which is read from mdb database and a button with event
Response.Redirect("SecondPage"); so after i press this button I'm
redirected to the second one.
On th... more >>
Validate group of checkboxes
Posted by Jon at 9/29/2006 4:46:02 AM
Hello all,
I need to validate client-side a group of checkboxes to make sure at least 1
ic ticked. Does anyone have any examples please?
Thanks.
Jon... more >>
Access to Outlook from ASP.NET
Posted by grimbeast NO[at]SPAM gmail.com at 9/29/2006 2:10:10 AM
Hi
We are currently in the process of writing an asp.net application.
As part of the project we need to establish, some sort of communication
between the application and the users Outlook applications.
We have to use Outlook, and not Exchange, as the users are from many
different organisa... more >>
export to excel
Posted by elangovan.cse NO[at]SPAM gmail.com at 9/29/2006 2:04:09 AM
Hi all,
I'm exporting a datagrid to an excel file.
I'm using the following source code to export.
DataTable dt = new DataTable();
DataAccess.StoredProcedure sproc = new
DataAccess.StoredProcedure("sproc_getdata");
sproc.Run(dt);
DataGrid1.DataSource = dt;
DataGrid1.DataBind();
D... more >>
Concurrent processing of ASP.NET pages
Posted by Hitesh at 9/29/2006 1:09:51 AM
We all know that IIS and asp.net are suppose to be muti-threaded
applications running on a pre-emptive multi-tasking model. But, what I
have
found is that under the default installation of ASP.NET, aspx pages get
executed serially. I know that it's easy to say that this can't be
right,
but... more >>
This is a basic overall question. Please note I am new
Posted by hkhellhkhell NO[at]SPAM hotmail.com at 9/29/2006 1:02:07 AM
This is a basic overall question. Please note I am new
to ASP!
I am currently running IIS 5/Access 2000/Windows 2000 and
have developed a web application.
>From what I have been told, to really emulate a
master/detail form, the best way would be to use ASP.net
to do so.
1. is that true... more >>
[LISTBOX] AutoPostBack not fired with EnableViewState = False
Posted by teo at 9/29/2006 12:50:48 AM
I have a Listbox,
if I set
EnableViewStarte = False
the
AutopostaBack fired by SelectedIndexChanged
doesn't work.
The 'SelectedIndexChanged' event should call
a sub called 'SayHalloPlease'.
Any Idea?
Here my simple code:
a Button
a Listbox
a Textbox
with Listbo... more >>
Screen Scraping Issue
Posted by Knoxy at 9/29/2006 12:25:10 AM
Hi guys,
I've got this working but I have issues when there is any kind of c#
coding on the page that I'm trying to scrape (pages within my site -
its for a print page view basically), I get this error:
The remote server returned an error: (500) Internal Server Error
Now, I've stepped into ... more >>
|