all groups > asp.net > march 2004 > threads for sunday march 7
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
Problem with a datagrid inside a datalist
Posted by Mikkel Olsen at 3/7/2004 11:45:40 PM
Hi.
I have a problem regarding to the DataGrid_ItemDataBound event. I cant run
this event when my datagrid is inside a DataList.
The ItemDataBound for DataList1 is working well, but it never raises the
DataGrid1_ItemDataBound event.
Thx.
Mikkel, Denmark
My aspx-code:
<asp:datal... more >>
Filling The dropdown list box in the template column....
Posted by John at 3/7/2004 10:35:06 PM
In my ASP.Net(VB) application I am using data grid with template column.
Here is my code looks like this....
..
..
<asp:TemplateColumn>
<HeaderTemplate>
CustomerId
</HeaderTemplate>
<ItemTemplate>
<ASP:DropDownList id = "CutomerId" runat =
"Sever"></asp:Dro... more >>
How to build asp.net project outside of inetpub
Posted by Tim Zych at 3/7/2004 10:03:59 PM
I "created" an IIS application in the Internet Services manager. How do I
build a new Asp.Net application in it?
I have had success in the past creating an asp.net project using just
notepad, then running it locally by creating an application out of the
folder where it resided.
This time, I... more >>
aspx file cannot load page class in codebehind
Posted by Juan Romero at 3/7/2004 9:19:02 PM
Guys,
I am a bit new to working with ASP.NET Pages.
When I make a new page using Visual Studio, some code is generated by
default. One of the lines generated by default contains the @ Page
directive, which declares the page inherits the page class from the
codebehind class:
<%@ Page inheri... more >>
DataGrid postback problem
Posted by John McDonagh at 3/7/2004 7:36:06 PM
I have a button column in a datagrid. When a button is clicked on I want it to use it's value as a variable a new SQL query that will repopulate the datagrid
The problem is that the DataGrid.ItemCommand method only seems to fire if the datagrid is rebound in the page_load method. Apart from bein... more >>
datetime format
Posted by Esref Durna at 3/7/2004 7:13:15 PM
my sql server have this datetime format ( yyyy-mm-dd )
how could i change it to dd.mm.yyyy format
thanks
... more >>
render blocks fun (easy answer)
Posted by lyndon at 3/7/2004 6:24:14 PM
This should be an easy answer, but i'm having problems finding the answer.
I have set a session variabel named Session["ynEdit"] that has the value of
True or False;
Session["ynEdit"] = true;
I'm using this value to determine whether or not textboxes should be
readOnly or not. The code i'm usi... more >>
URL length..is there a max?
Posted by DDK at 3/7/2004 6:10:48 PM
Does anyone know if there is a max length in charcters that a URL string can
be? Also do different browsers(Netscape, IE) have different max lengths?
Thanks,
d.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How can I do this?
Posted by Bob Cummings at 3/7/2004 5:38:09 PM
Greetings
I have figured out how to create my own WebCustomControl and use it on a
web form. It is a very simple control, a couple of labels and a button.
I have been able to create and raise a custom event handler for the
button. That is the web form as a private method in the "code be... more >>
Get debugging to stop on line executing when error occurs
Posted by Lloyd Sheen at 3/7/2004 3:47:28 PM
Is there a setting in VS2003 to ensure that when debugging a page it will
stop on all errors. At present it just displays a page with the error but I
want it to stop at that line when the error occurs so I can see the
variables etc.
Lloyd Sheen
... more >>
How send notify to client?
Posted by Kiosmy Almenares at 3/7/2004 2:41:06 PM
Hello
I'm doing web site to play chess online, when a player play, I need to send a notify to another client for it can refresh, in windows applications I can do that throw observer pattern, but in web, how I can doit?... more >>
Display text as a bitmap
Posted by postings NO[at]SPAM alexshirley.com at 3/7/2004 2:13:53 PM
Hi
I want to display text as a bitmap in ASP.NET (VB). It's so I can use
this to test whether a person is actually is a person when they log
on, and not an automated process (i.e. spammer or something). Network
Solutions use sort of technique on their WHOIS page.
Consequently the background... more >>
Datagrid loses its javascript on Postback?
Posted by Bruce W.1 at 3/7/2004 2:06:47 PM
There's something I can't figure out. I added some javascript
behavior to my datagrid, just like in this article, except in
C# instead of VB:
http://www.dotnetbips.com/displayarticle.aspx?id=205
If I bind the datagrid to the dataset at all times, whether
Postback or not, then everythin... more >>
newbie Q: Application Control
Posted by Colin Basterfield at 3/7/2004 1:30:25 PM
Hi again,
Where can I find some helpful hints/tips on how to control the flow of an
app, namely preventing Users going to sub pages when not yet logged on, or
pages where selections haven't been made in the pages above?
TIA
Colin
... more >>
CSS and Calendar Control
Posted by Miguel Dias Moura at 3/7/2004 1:02:36 PM
Hello,
i am trying to create a .css file with several styles and apply them to the
calendar control so i can change the look of:
1. Text Type and Format (Bold, Underline, etc)
2. Background Color
3. Foreground Color
4. Border Tickness
5. Border Color
6. Calendar Size and each field size
... more >>
server side validation in form using panel controls
Posted by amessimon at 3/7/2004 12:46:49 PM
Hi
I have a long form - around 80 fields - which i have decided to break up
into
more manageable sections using the <asp:Panel> control.
Basically i have three panels (stages) containing various form elements
which i show
and as the user progresses through the form.
I need to use server... more >>
Click button and redirect to new page - VB
Posted by Miguel Dias Moura at 3/7/2004 12:24:12 PM
Hello,
i have a runat = "server" form and an ASP.net button inside it.
I want to redirect to newpage.aspx when the button is clicked.
Anyway, i found some code in C# but i am having problems in making it work
in VB.
I also used a C# to VB online translator but with no success.
Please, ca... more >>
xmldocument " and "
Posted by martin at 3/7/2004 12:15:40 PM
Hi,
I would be extremly grateful for some help on producing an xml fragemt.
The fragment that I wish to produce should look like this
<Addresses>
<Address>&qout;Somebody's Name" <me@mydomain.com></Address>
</Addresses>
This looks simple enough however I am having great d... more >>
Is it possible to retrieve the page object from HttpContext.Current?
Posted by HaukiDog NO[at]SPAM hotmail.com at 3/7/2004 11:45:39 AM
Hi,
Is there away to get access to the currently executing Page object
(System.Web.UI.Page) from HttpContext.Current? I am writing some
business objects and would like to have those objects get some state
information.
Thanks!... more >>
ASP.Net Application - SQL Server 2000 Access Problem on Windows 2003 server from XP
Posted by vikram_khatri NO[at]SPAM yahoo.com at 3/7/2004 10:59:00 AM
I did lot of googling to see if I can solve the SQL server not found
problem while trying to run ASP.Net community starter kit from an XP
machine to Windows 2003 server hosting SQL server 2000 database. Tried
all possible combinations but it still fails.
I have Windows 2003 server having SQL S... more >>
Upload files to a folder in WSS
Posted by pv_kannan NO[at]SPAM yahoo.com at 3/7/2004 10:29:37 AM
Hello,
I was trying to upload a local file on a client machine to a
sharepoint folder using the WebClient object. This method is present
in a client side DLL. I need to upload the document using NTLM
authentication.
The method does not report any errors but the document does not appear
in th... more >>
setting up worldpay
Posted by Rudi Ahlers at 3/7/2004 10:21:29 AM
Has anyone used Worldpay for E-Commerce usage before?
And if so, what experiences have you had with them, integrating it into your
/ a client's website?
I need to setup an E-commerce website for a client, and they came highly
recommended. Any comments would be appreciated
--
Kind Regards
... more >>
newb question: does a return visit to an asp.net page mean that...
Posted by xerj at 3/7/2004 8:41:07 AM
....the page delivered is always refreshed?
Or does the browser display what's in the cache?
Thanks in advance.
... more >>
add ability to strip off leading/trailing spaces from email regularExpressionValidator?
Posted by Les Caudle at 3/7/2004 6:20:26 AM
I'd been using
[\w\.-]+(\+[\w-]*)?@([\w-]+\.)+[\w-]+
as the validator for an email address.
If the user enters a leading or trailing space, the email is invalid.
1. How exactly does one trim leading/trailing spaces with a
RegularExpressionValidator?
2. Even though no complaints on email ... more >>
Page_load event cannot be fired
Posted by lim at 3/7/2004 4:26:07 AM
What is the possible error that occurs when the Page_load event is not triggered during execution.
In my page there's some basic server control. Is there any loops holes?... more >>
Click button and redirect to new page?
Posted by Miguel Dias Moura at 3/7/2004 2:38:54 AM
Hello,
in an ASP.net / VB page i created a form with a button. When the button is
clicked i want to redirect to a new page. I have the following:
....
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<script runat="server">
void goToP... more >>
problems with updating Database
Posted by Jarod_24 at 3/7/2004 12:24:05 AM
I have tried with the following statements to update a database-table from a
asp page
....
myrow("Telephone") = txtTel.Text
....
But the info dosen't get updated.
Everything else works. I know that since i tried a adding a string to one of
the fields.
myrow("Telephone") = txtTel.Text &... more >>
Parser Error Message: Could not load type
Posted by sales NO[at]SPAM trevoroakley.com at 3/7/2004 12:03:05 AM
ASP NET
=======
I am learning ASP.NET, Visual C#, C# via some books; I have shared web
space using Windows, and STANDARD Visual C# (no server option on
SERVER EXPLORER).
ERROR
=====
My examples work offline, but when I FTP them onto the server I get an
error:
Parser Error Message: C... more >>
|